<%@ 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)
    {
        string aa = DateTime.Now.AddMonths(-1).ToString("yyyyMM");
        this.XTextBox4.Text = aa.Substring(0, 4);
        this.XTextBox3.Text = aa.Substring(4, 2);
    }

</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">
        
        //打印
        function Print() {
            var temp = agent.Eles[document.getElementById("XTextBox13").getAttribute("xform_xele_index")].getValue();
            window.open("薪酬发放Print.aspx?taskID=" + temp);
        }
            
        function GetYM(y, m) {
            if (m.length == 1)
                return y + "0" + m;
            else
                return y + m;
        }
        </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="SWMDB:DF_F_CalculatePay.FormNo" Value ValueToDisplayText></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XButton id="XButton1" runat="server" XClass="YZSoft.Forms.Field.Button" Text="打印" OnClientClick="Print()" UseSubmitBehavior="False" Height="23px"></aspxform:XButton>
                    </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="XTextBox5" runat="server" XDataBind="SWMDB:DF_F_CalculatePay.YearsMonth" Height="20" HiddenInput="True" Express="javascript('GetYM',SWMDB:DF_F_CalculatePay.Years,SWMDB:DF_F_CalculatePay.Month)" BorderWidth="1" BorderColor="#DCDCDC" Width="100"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="SWMDB:DF_F_CalculatePay.TaskID" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100"></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="SWMDB:DF_F_CalculatePay.CreateUser" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="60%"></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="SWMDB:DF_F_CalculatePay.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="SWMDB:DF_F_CalculatePay.Dept" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="60%"></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="SWMDB:DF_F_CalculatePay.Years" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" backColor="White" width="60%"></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="SWMDB:DF_F_CalculatePay.Month" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" backColor="White" width="60%" DisableExpress="Global.StepName!='薪酬岗发起薪酬发放申请'"></aspxform:XTextBox>
                    </td>
                    <td width="75" class="td">
                        <asp:Label id="Label10" runat="server" value valuetodisplaytext text="数据准备截止时间"></asp:Label></td>
                    <td width="670" class="td1">
                        &nbsp;<aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="SWMDB:DF_F_CalculatePay.DataPreparationTime" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='薪酬岗发起薪酬发放申请'"></aspxform:XDateTimePicker>
                    </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="SWMDB:DF_F_CalculatePay.Remark" ValueToDisplayText Height="50px" BorderWidth="1" BorderColor="#DCDCDC" backColor="White" width="100%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <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" Width="20px" CssClass="text" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Branches.CompanyName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Branches.TotalAmount" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" CssClass="text" width="100%" DisableExpress="Global.StepName!='薪酬岗提交工资审批及付款申请'" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div style="OVERFLOW: auto; HEIGHT: 200px; WIDTH: 1200px; BORDER-BOTTOM: #dddddd 1px solid" hidden="hidden" printout="false">
            <table align="center" class="table" id="tbfiscope" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" printout="false">
                <tbody>
                    <tr>
                        <td class="title1" colspan="7">
                            <asp:Label id="Label3" runat="server" value valuetodisplaytext text="各公司财务数据"></asp:Label>&nbsp;<aspxform:XExcelDataExportButton id="XExcelDataExportButton1" runat="server" Text="导出到Excel" ExportTableID="tbfiscope"></aspxform:XExcelDataExportButton>
                        </td>
                    </tr>
                    <tr>
                        <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                            <asp:Label id="Label4" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label5" runat="server" value valuetodisplaytext text="公司"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label7" runat="server" value valuetodisplaytext text="BU"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label8" runat="server" value valuetodisplaytext text="项目名称"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label9" runat="server" value valuetodisplaytext text="功能范围"></asp:Label></td>
                        <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                            <asp:Label id="Label6" runat="server" value valuetodisplaytext text="金额"></asp:Label></td>
                        <td class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 10px">
                        </td>
                    </tr>
                    <tr>
                        <td class="tds1">
                            <aspxform:XGridLineNo id="XGridLineNo2" runat="server" BackColor="Transparent" Width="20px" CssClass="text" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting.Company" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting.BUName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting.ProjectName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting.Scope" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                            <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting.Amount" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td style="BORDER-RIGHT: #93a1ae 1px solid">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div style="OVERFLOW: auto; HEIGHT: 200px; WIDTH: 1200px; BORDER-BOTTOM: #dddddd 1px solid" printout="false">
            <table align="center" class="table" id="tbfiscope2" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" printout="false">
                <tbody>
                    <tr>
                        <td class="title1" colspan="7">
                            <asp:Label id="Label18" runat="server" value valuetodisplaytext text="各公司财务数据"></asp:Label>&nbsp;<aspxform:XExcelDataExportButton id="XExcelDataExportButton2" runat="server" Text="导出到Excel" ExportTableID="tbfiscope2"></aspxform:XExcelDataExportButton>
                        </td>
                    </tr>
                    <tr>
                        <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                            <asp:Label id="Label19" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                        <td width="200" class="tds">
                            <asp:Label id="Label20" runat="server" value valuetodisplaytext text="公司"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label26" runat="server" value valuetodisplaytext text="成本中心名称"></asp:Label></td>
                        <td width="90" class="tds">
                            <asp:Label id="Label22" runat="server" value valuetodisplaytext text="项目名称"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label id="Label23" runat="server" value valuetodisplaytext text="功能范围"></asp:Label></td>
                        <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                            <asp:Label id="Label24" runat="server" value valuetodisplaytext text="金额"></asp:Label></td>
                        <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; DISPLAY: none">
                        </td>
                    </tr>
                    <tr>
                        <td class="tds1">
                            <aspxform:XGridLineNo id="XGridLineNo3" runat="server" BackColor="Transparent" Width="20px" CssClass="text" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.CompanyCode" ValueToDisplayText HiddenInput="true" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="10px"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.Company" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="300"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.CostCenterName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="150"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.ProjectName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="150"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.Scope" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                            <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.Amount" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="100%" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; DISPLAY: none">
                            <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.BUName" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="10px"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.CostCenter" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="10px"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.BusinessScope" ValueToDisplayText HiddenInput="true" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="10"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="SWMDB:DF_F_CalculatePay_Accounting_New.SubjectCode" ValueToDisplayText HiddenInput="true" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="10"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td width="91" height="30" class="td">
                        <asp:Label id="Label29" runat="server" value valuetodisplaytext text="计提凭证号"></asp:Label></td>
                    <td width="356" class="td1">
                        <aspxform:XTextBox id="XTextBox24" runat="server" BackColor="#E6F1F8" XDataBind="SWMDB:DF_F_CalculatePay.VoucherID1" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" Width="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="91" height="30" class="td">
                        <asp:Label id="Label30" runat="server" value valuetodisplaytext text="支付凭证号"></asp:Label></td>
                    <td width="356" class="td1">
                        <aspxform:XTextBox id="XTextBox25" runat="server" BackColor="#E6F1F8" XDataBind="SWMDB:DF_F_CalculatePay.VoucherID2" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" Width="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" BorderColor="#dcdcdc" Width="1200px"></aspxform:XSignTrace>
        </p>
    </form>
</body>
</html>
