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

    // Insert page code here
    //
    
    void Page_Load(object sender, EventArgs e) {
     this.XTextBox1.Text=Request.QueryString["account"];
     this.XTextBox8.Text = Request.QueryString["ID"];
    }

</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 GetEndYM(ym) {
            var y = ym.substring(0, 4);
            return y + "12";
        }
  </script>
</head>
<body>
    <form runat="server">
        <p>
            <table class="head" border="0" cellspacing="0" cellpadding="0" width="1200" align="center">
                <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" Value ValueToDisplayText text="--系统自动生成--" XDataBind="SWMDB:DF_F_ModifySF.FormNo" BackColor="#8AB3DF" ForeColor="White"></aspxform:XLabel>                            
                        </td>
                    </tr>
                </tbody>
            </table>
        </p>
        <p>
        </p>
        <table class="table" width="1200" align="center">
            <tbody>
                <tr>
                    <td class="title1" height="15" colspan="4">
                        <asp:Label id="XLabel1" runat="server" Value ValueToDisplayText text="用户信息"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td" width="68">
                        <asp:Label id="XLabel15" runat="server" Value ValueToDisplayText text="修改人"></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" ValueToDisplayText XDataBind="SWMDB:DF_F_ModifySF.ModifyUser" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp;<asp:Label id="XLabel8" runat="server" Value ValueToDisplayText text="最后修改日期"></asp:Label>
                    </td>
                    <td class="td1" width="159">
                            &nbsp;<aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="SWMDB:DF_F_ModifySF.ModifyDate" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" width="1200" align="center">
            <tbody>
                <tr>
                    <td class="title1" height="15" colspan="4">
                        <asp:Label id="XLabel6" runat="server" Value ValueToDisplayText text="薪酬档案"></asp:Label>
                        <aspxform:XTextBox id="XTextBox8" runat="server" ValueToDisplayText="DataSource:SWMDB;TableName:DF_LM_SalaryFile;FilterColumn:ID;DisplayColumn:ID" XDataBind="SWMDB:DF_F_ModifySF.MID" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC" DataMap="Name->SWMDB:DF_F_ModifySF.Name;BU->SWMDB:DF_F_ModifySF.BU;Depart->SWMDB:DF_F_ModifySF.Depart;MonthlyPay->SWMDB:DF_F_ModifySF.MonthlyPay;Type->SWMDB:DF_F_ModifySF.Type;StarYM->SWMDB:DF_F_ModifySF.StarYM"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" height="23" width="69">
                        <asp:Label id="XLabel9" runat="server" Value ValueToDisplayText text="员工"></asp:Label>
                    </td>
                    <td class="td1" width="272">
                        <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText="DataSource:SWMDB;TableName:DF_LM_SalaryFile;FilterColumn:Account;DisplayColumn:Name" XDataBind="SWMDB:DF_F_ModifySF.Account" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC" ></aspxform:XTextBox>
                    </td>
                    <td class="td" width="57">
                        &nbsp;<asp:Label id="XLabel10" runat="server" Value ValueToDisplayText text="BU"></asp:Label>
                    </td>
                    <td class="td1" width="513">
                        <aspxform:XTextBox id="XTextBox10" runat="server" ValueToDisplayText="TableName:DF_HR_OrgBU;FilterColumn:BUID;DisplayColumn:BUName" XDataBind="SWMDB:DF_F_ModifySF.BU" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" height="23">
                        <asp:Label id="XLabel12" runat="server" Value ValueToDisplayText text="部门"></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" ValueToDisplayText="TableName:V_DF_HR_DEPARTMENTAREA_BM;FilterColumn:DepartmentNO;DisplayColumn:DepartmentName" XDataBind="SWMDB:DF_F_ModifySF.Depart" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC" DataMap="DepartmentName->SWMDB:DF_F_ModifySF.DepartName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox7" runat="server" ValueToDisplayText XDataBind="SWMDB:DF_F_ModifySF.DepartName" ReadOnly="True" backColor="#e6f1f8" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp; 
                    </td>
                    <td class="td1">
                        &nbsp; 
                    </td>
                </tr>
                <tr>
                    <td class="td" height="30">
                        <asp:Label id="XLabel11" runat="server" Value ValueToDisplayText text="月薪总额"></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" ValueToDisplayText XDataBind="SWMDB:DF_F_ModifySF.MonthlyPay" backColor="White" CssClass="text" width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        <asp:Label id="XLabel16" runat="server" Value ValueToDisplayText text="佣金计算方式"></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="SWMDB:DF_F_ModifySF.Type" Width="49%" ValueColumn="Type" DisplayColumn="Type" XDataSource="DataSource:SWMDB;TableName:DF_SWM_YJ_Type" PromptText="- 请选择 -">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="td" height="23">
                        <asp:Label id="XLabel14" runat="server" Value ValueToDisplayText text="起始年月"></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="SWMDB:DF_F_ModifySF.StarYM" width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        <%--<asp:Label id="XLabel3" runat="server" Value ValueToDisplayText text="截止年月"></asp:Label>--%>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" HiddenInput="true" XDataBind="SWMDB:DF_F_ModifySF.EndYM" width="70%" BorderWidth="1" BorderColor="#DCDCDC" Express="javascript('GetEndYM',SWMDB:DF_F_ModifySF.StarYM)"></aspxform:XTextBox>
                    </td>
                </tr>
                 <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel53" runat="server" text="调整原因"></asp:Label>
                    </td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="SWMDB:DF_F_ModifySF.ModifyReason" ValueToDisplayText BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextMode="MultiLine" Rows="10" CssClass="text" Height="50px" ></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
       
        <table border="0" cellspacing="0" cellpadding="0" width="1200" align="center">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                            <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                            <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="SWMDB:DF_F_ModifySF.Name" width="100px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
        </p>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox2" ErrorMessage="请填写起始年月" Display="None">起始年月</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请填写截止年月" Display="None">截止年月</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XDropDownList1" ErrorMessage="请选择佣金计算方式"></aspxform:XRequiredFieldValidator>
    </form>
</body>
</html>
