<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //
    
    protected void Page_Load(object sender, EventArgs e)
    {
        this.TaskID.Text = Convert.ToString(Context.Request.Params["taskID"]);
        //this.TaskID.Text = "123";
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>BPM Form</title> <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {PADDING-RIGHT: 0px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    INPUT {HEIGHT: 20px}
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    </style>
    <script language="javascript">
        
        </script>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="月度工资计算"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" value valuetodisplaytext text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" text="--系统自动生成--" BackColor="#8AB3DF" ForeColor="White" XDataBind="FormNo" Value ValueToDisplayText></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" style="TEXT-ALIGN: right">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" PrintOut="False" Orientation="Horizontal"></aspxform:XPrintButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="6">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="用户信息"></asp:Label>
                        <aspxform:XTextBox id="TaskID" runat="server" XDataBind="TaskID" HiddenExpress="1" ValueToDisplayText="DataSource:SWMDB;TableName:DF_F_CalculatePay;FilterColumn:TaskID;DisplayColumn:TaskID" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100px" BorderWidth="1" BorderColor="#DCDCDC" DataMap="FormNo->FormNo;CreateUser->CreateUser;CreateDate->CreateDate;Dept->Dept;Years->Years;Month->Month;Remark->Remark;"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="68" class="td">
                        <asp:Label id="XLabel15" runat="server" value valuetodisplaytext text="创建用户"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="CreateUser" ValueToDisplayText ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="60%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp;<asp:Label id="XLabel8" runat="server" value valuetodisplaytext text="创建日期"></asp:Label> 
                    </td>
                    <td width="78" class="td1">
                        &nbsp;<aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="CreateDate" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                    <td width="38" class="td">
                        <asp:Label id="XLabel3" runat="server" value valuetodisplaytext text="部门"></asp:Label></td>
                    <td width="39" class="td1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="Dept" ValueToDisplayText ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="60%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="6">
                        <asp:Label id="XLabel6" runat="server" value valuetodisplaytext text="工资信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="91" height="30" class="td">
                        <asp:Label id="XLabel11" runat="server" value valuetodisplaytext text="年度"></asp:Label></td>
                    <td width="356" class="td1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="Years" ValueToDisplayText backColor="#e6f1f8" width="60%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td width="75" class="td">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="月度"></asp:Label></td>
                    <td width="670" class="td1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="Month" ValueToDisplayText backColor="#e6f1f8" width="60%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                    </td>  
                    <td width="75" class="td"></td>   
                     <td width="670" class="td1"></td>              
                </tr>
                <tr>
                    <td class="title1" colspan="6">
                        <asp:Label id="Label11" runat="server" value valuetodisplaytext text="汇款账号信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="91" height="30" class="td">
                        <asp:Label id="Label12" runat="server" value valuetodisplaytext text="账号"></asp:Label></td>
                    <td width="356" class="td1">
                        <asp:Label id="Label15" runat="server" value valuetodisplaytext text="911052020629042010"></asp:Label></td>
                    <td width="75" class="td">
                        <asp:Label id="Label13" runat="server" value valuetodisplaytext text="户名"></asp:Label></td>
                    <td width="670" class="td1">
                        <asp:Label id="Label16" runat="server" value valuetodisplaytext text="北京东方中科集成科技股份有限公司"></asp:Label></td>
                    <td width="75" class="td">
                        <asp:Label id="Label14" runat="server" value valuetodisplaytext text="开户行"></asp:Label></td>
                    <td width="670" class="td1">
                        <asp:Label id="Label17" runat="server" value valuetodisplaytext text="招商银行北京分行西三环支行"></asp:Label></td>
                </tr>
                <tr>
                    <td height="23" class="td1" colspan="6">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td height="23" class="td1" colspan="6">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="Remark" ValueToDisplayText backColor="#e6f1f8" width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisableExpress="1" Height="50px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" datamap="CompanyName->CompanyName;TotalAmount->TotalAmount" xdatasource="DataSource:SWMDB;TableName:DF_F_CalculatePay_Branches;Filter:TaskID->TaskID">
            <tbody>
                <tr>
                    <td class="title1" colspan="3">
                        <asp:Label id="XLabel10" runat="server" value valuetodisplaytext text="各发放公司汇总"></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel12" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label1" runat="server" value valuetodisplaytext text="发放公司"></asp:Label></td>
                    <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="Label2" runat="server" value valuetodisplaytext text="金额"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" CssClass="text" Width="20px" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="CompanyName" ValueToDisplayText ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="TotalAmount" ValueToDisplayText CssClass="text" width="100%" BorderWidth="1" BorderColor="#DCDCDC"  backColor="#e6f1f8" TextAlign="Right" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
            <table align="center" class="SignTraceDefault" style="width:1200px;border-collapse:collapse;border-collapse:separate;" cellspacing="0" cellpadding="0" datamap="NodeName->StepName;HandlerName->Sign;FinishAt->Date;SelAction->Action;Comments->Comments" xdatasource="ProcedureName:proc_DF_F_CalculatePay_TaskStep;Filter:@taskID->TaskID" dynamicarea="1,1">
            <tbody>
                <tr class="HeaderRow">
                    <td class="NoColumn">
                        <div>序号
                        </div>
                    </td>
                    <td class="StepNameColumn">
                        <div>处理步骤
                        </div>
                    </td>
                    <td class="SignColumn">
                        <div>签名
                        </div>
                    </td>
                    <td class="ActionColumn">
                        <div>操作
                        </div>
                    </td>
                    <td class="DateColumn">
                        <div>日期
                        </div>
                    </td>
                    <td class="CommentsColumn">
                        <div>备注
                        </div>
                    </td>
                </tr>
                <tr class="DataRow">
                    <td class="NoCell">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" BorderWidth="1" Width="100%" TextAlign="Center" BorderStyle="None"></aspxform:XGridLineNo>
                    </td>
                    <td class="StepNameCell">
                        <aspxform:XLabel id="XLabel4" runat="server" text="Label" BackColor="Transparent" XDataBind="StepName"></aspxform:XLabel>
                    </td>
                    <td class="SignCell">
                        <aspxform:XLabel id="XLabel5" runat="server" text="Label" BackColor="Transparent" XDataBind="Sign"></aspxform:XLabel>
                    </td>
                    <td class="ActionCell">
                        <aspxform:XLabel id="XLabel7" runat="server" text="Label" BackColor="Transparent" XDataBind="Action"></aspxform:XLabel>
                    </td>
                    <td class="DateCell">
                        <aspxform:XLabel id="XLabel9" runat="server" text="Label" BackColor="Transparent" XDataBind="Date"></aspxform:XLabel>
                    </td>
                    <td class="CommentsCell">
                        <aspxform:XLabel id="XLabel13" runat="server" text="Label" BackColor="Transparent" XDataBind="Comments"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        
    </form>
</body>
</html>
