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

    protected void Page_Load(object sender, EventArgs e)
     {
    
         this.XTextBox4.Text = DateTime.Now.Year.ToString() + "常规年假";
    
     }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <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">
        <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">
                        <aspxform:XLabel id="XLabel93" runat="server" text="表单号：" ValueToDisplayText Value></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel94" runat="server" text="--系统自动生成--" ValueToDisplayText Value XDataBind="DF_HR_NEWSTAFFAPP.FormNo"></aspxform:XLabel>
                    </td>--%>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td width="627" height="23" class="td">
                        <asp:Label id="XLabel1" runat="server" text="姓名" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td width="94" class="td1">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" ReadOnly="True" BackColor="#E6F1F8" XDataBind="DF_HR_StaffNJDays.Account" width="150px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </div>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="21px" XDataSource="TableName:V_DF_HR_BasicInfo;BufferType:RuntimeUpdate" DisplayColumns="Name:姓名,;Department:部门,;PostName:岗位," DataMap="AttendanceKakaNO->DF_HR_StaffNJDays.Account;InductionDate->DF_HR_StaffNJDays.DateHired"></aspxform:XDataBrowserButton>
                    </td>
                    <td width="377" class="td">
                        <asp:Label id="XLabel3" runat="server" text="可用年假" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td width="94" class="td1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_HR_StaffNJDays.NJDays" width="50%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="65" class="td" colspan="2">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_HR_StaffNJDays.TypeID" Width="100%" DisableExpress="1" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Value="1">上年剩余年假</asp:ListItem>
                            <asp:ListItem Value="2">积分兑换年假</asp:ListItem>
                            <asp:ListItem Value="3">常规年假</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="td">
                        <asp:Label id="XLabel4" runat="server" text="有效期" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="td1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_HR_StaffNJDays.ExpDate" BorderWidth="1" BorderColor="#DCDCDC" Width="50%"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_HR_StaffNJDays.DateHired" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_HR_StaffNJDays.Type" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_HR_StaffNJDays.AppAddDate" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XDateTimePicker>
    </form>
</body>
</html>
