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

    // Insert page code here
    //

</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>
</head>
<body>
    <form runat="server">
        <p>
        </p>
        <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" text="扣发申请" valuetodisplaytext value></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="Label1" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel13" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="用户信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td width="68" class="td">
                        <asp:Label id="XLabel15" runat="server" text="操作人" valuetodisplaytext value></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.CreateUser" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" backColor="#e6f1f8" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp;<asp:Label id="XLabel8" runat="server" text="创建日期" valuetodisplaytext value></asp:Label> 
                    </td>
                    <td width="159" class="td1">
                        &nbsp;<aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.CreateDate" BorderColor="#DCDCDC" BorderWidth="1" backColor="#e6f1f8" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="扣发明细" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="varInitType" BorderColor="#DCDCDC" BorderWidth="1" width="50px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="187" height="23" class="td">
                        <asp:Label id="XLabel4" runat="server" text="年月" valuetodisplaytext value></asp:Label></td>
                    <td width="435" class="td1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.YearMonth" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" CssClass="text"></aspxform:XTextBox>
                    &nbsp;<asp:Label id="Label2" runat="server" text="(6位数字，例如：201801)" forecolor="Blue"></asp:Label>
                    </td>
                    <td width="57" class="td">
                    </td>
                    <td width="513" class="td1">
                    </td>
                </tr>
                <tr>
                    <td height="23" class="td">
                        <asp:Label id="XLabel3" runat="server" text="员工姓名" valuetodisplaytext value></asp:Label>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="AttendanceKakaNO->SWMDB:DF_LM_WithholdingAPP_Info.Account;Name->SWMDB:DF_LM_WithholdingAPP_Info.Name;BUName->SWMDB:DF_LM_WithholdingAPP_Info.BU;Department->SWMDB:DF_LM_WithholdingAPP_Info.Dept" Width="21px" XDataSource="TableName:V_DF_HR_BasicInfo" DisplayColumns="AttendanceKakaNO:账号;Name:姓名;BUName:BU;Department:部门"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Name" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" backColor="#e6f1f8" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp; <asp:Label id="XLabel9" runat="server" text="员工ID" valuetodisplaytext value></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Account" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" backColor="#e6f1f8" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hiddenexpress="1">
                    <td height="23" class="td">
                        <asp:Label id="XLabel10" runat="server" text="BU" valuetodisplaytext value xdatabind="SWMDB:DF_LM_WithholdingAPP_Info.Area"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.BU" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td">
                        &nbsp; <asp:Label id="XLabel12" runat="server" text="部门" valuetodisplaytext value></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Dept" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="td">
                        <asp:Label id="XLabel11" runat="server" text="费用类型" valuetodisplaytext value></asp:Label></td>
                    <td class="td1">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Type" Width="36%" XDataSource="DataSource:SWMDB;TableName:DF_LM_CostType;Filter:IsDisplay->isdisplay,FundCategory->varType" DisplayColumn="Type" ValueColumn="Type" Express="varInitType"></aspxform:XDropDownList>
                    </td>
                    <td class="td">
                        <asp:Label id="XLabel16" runat="server" text="金额" valuetodisplaytext value></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Amount" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" width="100px" CssClass="text" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
        </p>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label id="XLabel76" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox67" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.Remark" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" Width="100%" PrintOut="False" Height="50px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                            <aspxform:XLabel id="XLabel5" runat="server" text="否" XDataBind="isdisplay" ValueToDisplayText Value HiddenExpress="1"></aspxform:XLabel>
                            <aspxform:XLabel id="XLabel7" runat="server" text="扣发" XDataBind="varType" ValueToDisplayText Value HiddenExpress="1"></aspxform:XLabel>
                            <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="SWMDB:DF_LM_WithholdingAPP_Info.TimeS" ValueToDisplayText BorderColor="Gainsboro" BorderWidth="1px" width="44px" CssClass="text" Max="0" Min="0" HiddenInput="True" Value BorderStyle="Dotted"></aspxform:XTextBox>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="xrfv2" runat="server" ControlToValidate="XTextBox3" ForeColor="Red" ErrorMessage="请输入年月！" Display="None">请输入年月！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRegularExpressionValidator id="XRegularExpressionValidator1" runat="server" ControlToValidate="XTextBox3" ErrorMessage="输入年月格式不正确" Display="None" ValidationExpression="\d{4}((0([1-9]))|(1(0|1|2)))">输入年月格式不正确</aspxform:XRegularExpressionValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox2" ForeColor="Red" ErrorMessage="请选择员工!" Display="None">请选择员工!</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XCompareValidator id="XCompareValidator2" runat="server" ControlToValidate="XTextBox7" ForeColor="Red" ErrorMessage="金额必须大于0" Display="None">金额必须大于0</aspxform:XCompareValidator>
        <br />
    </form>
</body>
</html>
