<%@ 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">
    <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;
        }

        .yz-textbox {
            display: inline;
        }
    </style>
    <script type="text/javascript">

        //给X控件赋值
        function SetValue(id, value) {
            var a = agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")];
            a.setValue(value);
        }


        //请假总天数
        function GetLeaveTotalDay(dateFrom, StartTime, dateTo, EndTime, QJType) {
            if (dateFrom != "" && dateTo != "" && StartTime != "" && EndTime != "") {
                var dateFrom = dateFrom.replace(/\-/g, "/");
                var dateTo = dateTo.replace(/\-/g, "/");
                var StarD = new Date(dateFrom);
                var EndD = new Date(dateTo);
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/HRAPIHandler.ashx'),
                    method: 'POST',
                    params: { method: 'GetLeaveDate', StarD: StarD, EndD: EndD, StartT: StartTime, EndT: EndTime, Type: QJType },
                    success: function (action) {
                        var result = action.result;
                        var value = result.Value;
                        SetValue("XTextBox4", value);
                        XFormOnChange(agent.Eles[document.getElementById("XTextBox4").getAttribute("xform_xele_index")]);
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
        }

        //已请假天数
        function YQTS(account, QJType) {

            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/HRAPIHandler.ashx'),
                method: 'POST',
                params: { method: 'GetShiJiaTongJi', account: account, type: QJType },
                success: function (action) {
                    var result = action.result;
                    var value = result.Value;
                    SetValue("XTextBox7", value);
                },
                failure: function (action) {
                    alert(action.result.Message);
                }
            });

        }

        //可用年假
        function NJTS(account, QJType, ruzhid) {
            // params: { acc: account, ruzhidate: ruzhid },
            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/HRAPIHandler.ashx'),
                method: 'POST',
                params: {
                    method: 'GetAnnualLeave',
                    account: account
                },
                success: function (action) {
                    var result = action.result;
                    var value = result.Value;
                    SetValue("XTextBox8", value);                   
                },
                failure: function (action) {
                    alert(action.result.Message);
                }
            });
        }

        agent.on('beforeSubmit', function () {
            var stepName = agent.Eles[document.getElementById("XTextBox27").getAttribute("xform_xele_index")].getValue();
            if (stepName == "员工发起请假申请") {
                //请假时间 起止为同一天时，判断上下午时间
                var startDate = agent.Eles[document.getElementById("XDateTimePicker2").getAttribute("xform_xele_index")].getValue();
                var endDate = agent.Eles[document.getElementById("XDateTimePicker3").getAttribute("xform_xele_index")].getValue();
                var startTime = agent.Eles[document.getElementById("XDropDownList2").getAttribute("xform_xele_index")].getValue();
                var endTime = agent.Eles[document.getElementById("XDropDownList3").getAttribute("xform_xele_index")].getValue();
                if (startDate == endDate) {
                    if (endTime == "上午" && startTime == "下午") {
                        alert("请核对请假时间“起止时间”！");
                        return false;
                    }
                }

                //全年事假超过15天，提交时提醒
                var days = agent.Eles[document.getElementById("XTextBox7").getAttribute("xform_xele_index")].getValue();
                var nowdays = agent.Eles[document.getElementById("XTextBox4").getAttribute("xform_xele_index")].getValue();
                var droptype = agent.Eles[document.getElementById("XDropDownList1").getAttribute("xform_xele_index")].getValue();
                if (days + nowdays > 15 && droptype == 33) {
                    if (confirm("全年事假不得超过15天，是否继续？")) {
                        return true;
                    }
                    else
                        return false;
                }
            }

        });

        //当月累计可调休时间
        function getCumulativeOfftime(starTime, account) {
            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/HRAPIHandler.ashx'),
                method: 'POST',
                params: {
                    method: 'GetCumulativeOfftimeByYear',
                    account: account,
                    date: starTime
                },
                success: function (action) {
                    var result = action.result;
                    var value = result.Value;
                    SetValue("XTextBox33", value);
                    XFormOnChange(agent.Eles[document.getElementById("XTextBox33").getAttribute("xform_xele_index")]);
                },
                failure: function (action) {
                    alert(action.result.Message);
                }
            });
        }

        //已申请调休时间
        function getCumulativeOfftimeByApp(starTime, account) {
            var formNo = agent.Eles[document.getElementById("XLabel94").getAttribute("xform_xele_index")].getValue();
            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/HRAPIHandler.ashx'),
                method: 'POST',
                params: {
                    method: 'GetCumulativeOfftimeByApp',
                    account: account,
                    date: starTime,
                    formNo: formNo
                },
                success: function (action) {
                    var result = action.result;
                    var value = result.Value;
                    //alert(value);
                    SetValue("XTextBox34", value);
                    XFormOnChange(agent.Eles[document.getElementById("XTextBox34").getAttribute("xform_xele_index")]);
                },
                failure: function (action) {
                    alert(action.result.Message);
                }
            });
        }

    </script>
</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" 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" XDataBind="DF_HR_LeaveApp.FormNo" Value ValueToDisplayText></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="14" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="个人信息  "></asp:Label>
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_HR_LEAVEAPP.KQUserID" Value ValueToDisplayText HiddenInput="True" Width="54px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="varaccount1" Value ValueToDisplayText="TableName:V_DF_KQUserInfo2;FilterColumn:Account;DisplayColumn:Account" HiddenInput="True" Width="30px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" DataMap="KQUserID->DF_HR_LEAVEAPP.KQUserID" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="varacc" Value ValueToDisplayText HiddenInput="True" Width="91px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="var123" Value ValueToDisplayText HiddenInput="True" Width="44px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" Width="50px" BorderWidth="1" BorderColor="#DCDCDC" Express="Global.StepName" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel3" runat="server" value valuetodisplaytext text="姓名"></asp:Label>
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="varaccount" Value ValueToDisplayText="TableName:V_DF_HR_StaffShenYuNianJia;FilterColumn:Account;DisplayColumn:Account" HiddenInput="True" Width="30px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" DataMap="NJDays->var1;ExpDate->var1date" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" Value ValueToDisplayText="TableName:V_DF_HR_StaffChangGuiNianJia;FilterColumn:Account;DisplayColumn:Account" HiddenInput="True" Width="30px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" DataMap="NJDays->var2;ExpDate->var2date" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox22" runat="server" Value ValueToDisplayText="TableName:V_DF_HR_StaffJiFenDays;FilterColumn:Account;DisplayColumn:Account" HiddenInput="True" Width="30px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" DataMap="NJDays->var3;ExpDate->var3date" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" Value ValueToDisplayText="TableName:DF_HR_EMPLOYEEINFORMATION_INFO;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" HiddenInput="True" Width="30px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" DataMap="InductionDate->DF_HR_LeaveApp.InductionDate;Shift->var133" Express="DF_HR_LEAVEAPP.AppName"></aspxform:XTextBox>
                    </td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.AppName" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" Width="60%" BorderWidth="1" BorderColor="#DCDCDC" DataMap="BUID->var123;Department->DF_HR_LEAVEAPP.AppDepartment;PostName->DF_HR_LEAVEAPP.AppJobs;Region->DF_HR_LEAVEAPP.AppRegion" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" value valuetodisplaytext text="部门"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_HR_LeaveApp.AppDepartment" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel51" runat="server" value valuetodisplaytext text="BU"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox32" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.AppBU" ValueToDisplayText="TableName:DF_HR_OrgBU;FilterColumn:BUID;DisplayColumn:BUName" Width="60%" BorderWidth="1" BorderColor="#DCDCDC" Express="var123" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" value valuetodisplaytext text="地区"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LeaveApp.AppRegion" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel6" runat="server" value valuetodisplaytext text="岗位"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LeaveApp.AppJobs" Width="60%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" value valuetodisplaytext text="入职时间"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LeaveApp.InductionDate" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="可用年假"></asp:Label></td>
                    <td class="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.AvailableAnnualLeave" Width="60%" BorderWidth="1" BorderColor="#DCDCDC" Express="javascript('NJTS',varacc,DF_HR_LEAVEAPP.AskLeaveType,DF_HR_LeaveApp.InductionDate)" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="td" style="WIDTH: 10%">
                    </td>
                    <td class="td1" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1" colspan="6">
                        <asp:Label id="XLabel7" runat="server" value valuetodisplaytext text="请假明细"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel8" runat="server" value valuetodisplaytext text="请假事由"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_HR_LeaveApp.AskLeaveReason" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" Rows="6" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel38" runat="server" value valuetodisplaytext text="班次"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="v1" Value ValueToDisplayText HiddenInput="False" Width="36px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="v2" Value ValueToDisplayText HiddenInput="False" Width="96px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" ReadOnly="True"></aspxform:XTextBox>
                        <asp:Label id="XLabel39" runat="server" value valuetodisplaytext text="到"></asp:Label>
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="v3" Value ValueToDisplayText HiddenInput="False" Width="96px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="var133" DataMap="Name->v1;StartDate->v2;EndDate->v3" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="ItemID" XDataSource="TableName:V_DF_HR_SHIFT;BufferType:RuntimeUpdate">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel15" runat="server" value valuetodisplaytext text="请假类型"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_HR_LEAVEAPP.AskLeaveType" Width="19%" DataMap="Name->DF_HR_LEAVEAPP.AskLeaveName;value->DF_HR_LEAVEAPP.KQAskLeaveID" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_HR_DataSourceList;Filter:Type->vq1;BufferType:RuntimeUpdate" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_HR_LEAVEAPP.AskLeaveGongjia" Width="172px" Express="if(DF_HR_LEAVEAPP.AskLeaveType=='40',DF_HR_LEAVEAPP.AskLeaveGongjia,'')" HiddenExpress="DF_HR_LEAVEAPP.AskLeaveType!=40" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_HR_DataSourceList;Filter:Type->vq2;OrderBy:OrderID" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_HR_LEAVEAPP.FuneralType" Express="if(DF_HR_LEAVEAPP.AskLeaveType!='36','',DF_HR_LEAVEAPP.FuneralType)" HiddenExpress="DF_HR_LEAVEAPP.AskLeaveType!=36" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_HR_DataSourceList;Filter:Type->vq3;BufferType:RuntimeUpdate" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel17" style="DISPLAY: none" runat="server" Text="qingjialeixing" BackColor="#d4e4fe" XDataBind="vq1" Value ValueToDisplayText></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel18" style="DISPLAY: none" runat="server" Text="gongjia" BackColor="#d4e4fe" XDataBind="vq2" Value ValueToDisplayText></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel41" runat="server" Text="sangjialeixing" BackColor="#d4e4fe" XDataBind="vq3" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_HR_LEAVEAPP.AskLeaveName" ValueToDisplayText HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_HR_LEAVEAPP.KQAskLeaveID" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="附件"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <aspxform:XAttachments id="XAttachments1" runat="server" BackColor="#d4e4fe" XDataBind="DF_HR_LeaveApp.Attachment" Width="100%" FileTypesDescription="Word,Excel,bmp,jpg,tiff,gif,pcx,tga,exif,fpx,svg,psd,cdr,pcd,dxf,ufo,eps,ai,raw,PDF"></aspxform:XAttachments>
                    </td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel9" runat="server" value valuetodisplaytext text="请假时间"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <asp:Label id="XLabel10" runat="server" value valuetodisplaytext text="起:" font-names="微软雅黑"></asp:Label>
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_HR_LeaveApp.LeaveStart" Width="112px" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XDateTimePicker>
                        <aspxform:XDropDownList id="XDropDownList2" style="FLOAT: none" runat="server" XDataBind="DF_HR_LeaveApp.LeaveStartTime">
                            <asp:ListItem>上午</asp:ListItem>
                            <asp:ListItem>下午</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_HR_LEAVEAPP.LeaveStartTS" Value ValueToDisplayText HiddenInput="False" Width="61px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="if(DF_HR_LeaveApp.LeaveStartTime=='上午',v2,'13:00')" ReadOnly="True" CssClass="aa"></aspxform:XTextBox>
                        <asp:Label id="XLabel11" runat="server" value valuetodisplaytext text=";" font-names="微软雅黑" width="10px"></asp:Label><asp:Label id="XLabel12" runat="server" value valuetodisplaytext text="止:" font-names="微软雅黑"></asp:Label>
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_HR_LeaveApp.LeaveEnd" Width="139px" BorderWidth="1px" BorderColor="Gainsboro" Height="24px"></aspxform:XDateTimePicker>
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_HR_LeaveApp.LeaveEndTime" CssClass="aa">
                            <asp:ListItem>上午</asp:ListItem>
                            <asp:ListItem>下午</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_HR_LEAVEAPP.LeaveEndTS" Value ValueToDisplayText HiddenInput="False" Width="61px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="if(DF_HR_LeaveApp.LeaveEndTime=='上午','12:00',v3)" ReadOnly="True" CssClass="aa"></aspxform:XTextBox>
                        <asp:Label id="XLabel21" runat="server" value valuetodisplaytext text=";" font-names="微软雅黑" width="10px"></asp:Label><asp:Label id="XLabel22" runat="server" value valuetodisplaytext text="共:" font-names="微软雅黑"></asp:Label>
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_HR_LEAVEAPP.LeaveTime" Value ValueToDisplayText HiddenInput="False" Width="165px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="javascript('GetLeaveTotalDay',DF_HR_LeaveApp.LeaveStart,DF_HR_LeaveApp.LeaveStartTime,DF_HR_LeaveApp.LeaveEnd,DF_HR_LeaveApp.LeaveEndTime,DF_HR_LEAVEAPP.AskLeaveType)" ReadOnly="True"></aspxform:XTextBox>
                        <asp:Label id="XLabel23" runat="server" value valuetodisplaytext text="天" font-names="微软雅黑"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel19" runat="server" value valuetodisplaytext text="已请假"></asp:Label></td>
                    <td class="td" style="WIDTH: 80%" colspan="5">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="varday" Value ValueToDisplayText HiddenInput="False" Width="105px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="javascript('YQTS',varacc,DF_HR_LEAVEAPP.AskLeaveType)" ReadOnly="True"></aspxform:XTextBox>
                        <asp:Label id="XLabel20" runat="server" value valuetodisplaytext text="天"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td" style="WIDTH: 10%">
                        <asp:Label id="XLabel40" runat="server" value valuetodisplaytext text="是否自动销假"></asp:Label></td>
                    <td class="td1" style="WIDTH: 80%" colspan="5">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_HR_LEAVEAPP.IsClean" DisableExpress="1">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='37'">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel25" runat="server" value valuetodisplaytext text="个人年假明细"></asp:Label></td>
                </tr>
                <tr>
                    <td width="200" height="23" class="td">
                        <asp:Label id="XLabel26" runat="server" value valuetodisplaytext text="上年剩余年假（天）" width="146px"></asp:Label></td>
                    <td width="400" class="td1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" BackColor="#e6f1f8" XDataBind="var1" ValueToDisplayText Width="50%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                        至<aspxform:XDateTimePicker id="XDateTimePicker4" runat="server" BackColor="#E6F1F8" XDataBind="var1date" Width="90px" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                        过期</td>
                    <td width="200" class="td">
                        <asp:Label id="XLabel27" runat="server" value valuetodisplaytext text="使用上年剩余年假" width="130px"></asp:Label></td>
                    <td width="400" class="td1">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_HR_LEAVEAPP.UseLastYearDays" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="var1==''" Format="type:number;.1">0</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="td">
                        <asp:Label id="XLabel28" runat="server" value valuetodisplaytext text="本年剩余年假（天）" width="132px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" BackColor="#e6f1f8" XDataBind="var2" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                        至<aspxform:XDateTimePicker id="XDateTimePicker5" runat="server" BackColor="#E6F1F8" XDataBind="var2date" Width="90px" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                        过期</td>
                    <td class="td">
                        <asp:Label id="XLabel29" runat="server" value valuetodisplaytext text="使用本年剩余年假" width="118px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_HR_LEAVEAPP.UseThisYearDays" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="var2==''" Format="type:number;.1">0</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td">
                        <asp:Label id="XLabel30" runat="server" value valuetodisplaytext text="积分兑换剩余年假（天）" width="164px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" BackColor="#e6f1f8" XDataBind="var3" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" CssClass="text"></aspxform:XTextBox>
                        至<aspxform:XDateTimePicker id="XDateTimePicker6" runat="server" BackColor="#E6F1F8" XDataBind="var3date" Width="90px" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                        过期</td>
                    <td class="td">
                        <asp:Label id="XLabel31" runat="server" value valuetodisplaytext text="使用积分兑换剩余年假" width="176px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_HR_LEAVEAPP.UsePointsDays" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="var3==''" Format="type:number;.1">0</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="15" colspan="3">
                        <asp:Label id="XLabel32" runat="server" value valuetodisplaytext text="注：上年年假和积分兑换年假将在次年3月1日清零。" forecolor="Red" font-bold="True"></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" Value ValueToDisplayText HiddenInput="true" Width="125px" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" Express="DF_HR_LEAVEAPP.UseLastYearDays+DF_HR_LEAVEAPP.UseThisYearDays+DF_HR_LEAVEAPP.UsePointsDays"></aspxform:XTextBox>
                    </td>
                    <td>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" hiddenexpress="DF_HR_LEAVEAPP.AskLeaveGongjia!='60'">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="Label5" runat="server" value valuetodisplaytext text="个人加班调休明细"></asp:Label></td>
                </tr>
                <tr>
                    <td height="23" class="td">
                        <asp:Label id="Label1" runat="server" value valuetodisplaytext text="当年累计加班调休小时数" width="170px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox33" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.CumulativeOvertime" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Express="javascript('getCumulativeOfftime',DF_HR_LeaveApp.LeaveStart,DF_HR_LEAVEAPP.AppName)" ReadOnly="True" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td height="23" class="td">
                        <asp:Label id="Label4" runat="server" value valuetodisplaytext text="本次申请所需调休小时数"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox36" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.NeededWorkOffTime" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Express="if(DF_HR_LEAVEAPP.AskLeaveGongjia!='60',0,DF_HR_LEAVEAPP.LeaveTime*8)" ReadOnly="True" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="td">
                        <asp:Label id="Label2" runat="server" value valuetodisplaytext text="已申请调休小时数"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox34" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.UsedWorkOffTime" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Express="javascript('getCumulativeOfftimeByApp',DF_HR_LeaveApp.LeaveStart,DF_HR_LEAVEAPP.AppName)" ReadOnly="True" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td height="23" class="td">
                        <asp:Label id="Label3" runat="server" value valuetodisplaytext text="剩余可申请调休小时数" width="146px"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" BackColor="#e6f1f8" XDataBind="DF_HR_LEAVEAPP.UsableWorkOffTime" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Express="DF_HR_LEAVEAPP.CumulativeOvertime-DF_HR_LEAVEAPP.UsedWorkOffTime" ReadOnly="True" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='32'">
                    <td width="1200">
                        <asp:Label id="XLabel50" runat="server" value valuetodisplaytext text="病假：当月超过一天者，需上传病假条。如有跨月，请分开进行申请。" font-bold="True"></asp:Label></td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveGongjia!='41'">
                    <td width="1200">
                        <asp:Label id="XLabel24" runat="server" value valuetodisplaytext text="公假：家长会需上传家长会通知单。" font-bold="True"></asp:Label></td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='34'">
                    <td>
                        <p>
                            <asp:Label id="XLabel45" runat="server" value valuetodisplaytext text="婚假：需上传结婚证。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel46" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;①符合婚姻法规定年龄结婚的，享受婚假10天（不含周六、日）。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel47" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;②休假须在自领取结婚证起一年内休完。婚假必须一次休完，确因工作需要，经本人申请可分两次休假，并在自领取结婚证起一年内休完。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel48" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;③员工在试用期内领取结婚证需在转正后方可享受此假期。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel49" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;④员工在入职前领取结婚证不享受此假期。" font-bold="True"></asp:Label>
                        </p>
                    </td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='35'">
                    <td>
                        <p>
                            <asp:Label id="XLabel33" runat="server" value valuetodisplaytext text="产假：需上传医院诊断证明。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel53" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;①正常产假：128天。" font-bold="True"></asp:Label>
                        </p>
                        <%--  <p>
                            <asp:Label id="XLabel54" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;②生育奖励假：30天。" font-bold="True"></asp:Label>
                        </p>--%> 
                        <p>
                            <asp:Label id="XLabel55" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;②难产：增加15天。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel56" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;③多胞胎生育：每多生育1个婴儿增加15天。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel57" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;④妊娠不满16周（含）流产：15天。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel58" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;⑤妊娠16周以上流产：42天。" font-bold="True"></asp:Label>
                        </p>
                    </td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='62'">
                    <td width="1200">
                        <asp:Label id="XLabel44" runat="server" value valuetodisplaytext text="剖腹产假：15天，需上传医院出具的剖腹产证明。" font-bold="True"></asp:Label></td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='38'">
                    <td>
                        <p>
                            <asp:Label id="XLabel43" runat="server" value valuetodisplaytext text="晚育假：女方满24岁，男方满25岁初婚生育可各享受15天晚育假，包含双休日，但不含法定节假日。若一方不休15天假期，可由对方享受，但需提供未休假证明。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel34" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;①女员工可申请休15天或30天晚育假，休30天须提供男方单位出具的男方未休晚育假证明方可休假。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel35" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;②男员工可申请休15天或30天晚育假，休30天须提供女方单位出具的女方未休晚育假证明方可休假。男员工晚育假需在女方产后30天内休完。" font-bold="True"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel52" runat="server" value valuetodisplaytext text="&amp;nbsp;&amp;nbsp;③需上传结婚证。" font-bold="True"></asp:Label>
                        </p>
                    </td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='39'">
                    <td>
                        <asp:Label id="XLabel36" runat="server" value valuetodisplaytext text="陪产假：公司正式男员工配偶生育，陪产假15天。需上传结婚证和医院出生证明，孩子出生一个月内休完。" font-bold="True"></asp:Label></td>
                </tr>
                <tr hiddenexpress="DF_HR_LEAVEAPP.AskLeaveType!='36'">
                    <td>
                        <asp:Label id="XLabel37" runat="server" value valuetodisplaytext text="丧假：根据国家规定，员工本人直系亲属（包括父母、兄弟姐妹、儿女及配偶父母）去世时，可享有三天丧假（包括公休日）。需异地处理丧葬事务的另加路程假两天。" font-bold="True"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <p>
            <aspxform:XCompareValidator id="XCompareValidator3" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='37'" ErrorMessage="您申请的年假天数与可用年假不符" ControlToValidate="XTextBox4" ValidationGroup="submit" ControlToCompare="XTextBox17"></aspxform:XCompareValidator>
            &nbsp;<aspxform:XCompareValidator id="XCompareValidator4" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='37'" ErrorMessage="使用天数大于规定值" ControlToValidate="XTextBox11" ValidationGroup="submit" ControlToCompare="XTextBox10" Operator="LessThanEqual"></aspxform:XCompareValidator>
            &nbsp;<aspxform:XCompareValidator id="XCompareValidator5" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='37'" ErrorMessage="使用天数大于规定值" ControlToValidate="XTextBox13" ValidationGroup="submit" ControlToCompare="XTextBox12" Operator="LessThanEqual"></aspxform:XCompareValidator>
            &nbsp;<aspxform:XCompareValidator id="XCompareValidator6" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='37'" ErrorMessage="使用天数大于规定值" ControlToValidate="XTextBox14" ValidationGroup="submit" ControlToCompare="XTextBox15" Operator="LessThanEqual"></aspxform:XCompareValidator>
            <aspxform:XCompareValidator id="XCompareValidator7" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveGongjia!='60'" ErrorMessage="您申请的调休时间大于剩余可用调休时间" ControlToValidate="XTextBox36" ValidationGroup="submit" ControlToCompare="XTextBox35" Operator="LessThanEqual"></aspxform:XCompareValidator>
            &nbsp;<br />
            &nbsp; 
        </p>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" DisableExpress="!(DF_HR_LEAVEAPP.AskLeaveType=='32'&amp;&amp;sum(varday+DF_HR_LEAVEAPP.LeaveTime)>=2)" ErrorMessage="请上传病假条复印件" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            <aspxform:XCompareValidator id="XCompareValidator2" runat="server" Type="Double" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='37'" ErrorMessage="您申请的年假天数超出可用年假" ControlToValidate="XTextBox4" ValidationGroup="submit" ControlToCompare="XTextBox8" Operator="LessThanEqual"></aspxform:XCompareValidator>
            &nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ErrorMessage="请填写请假事由" ControlToValidate="XTextBox1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ErrorMessage="请填写请假类型" ControlToValidate="XDropDownList1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ErrorMessage="请填写请假时间开始日期" ControlToValidate="XDateTimePicker2" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ErrorMessage="请填写请假时间结束日期" ControlToValidate="XDateTimePicker3" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<aspxform:XCompareValidator id="XCompareValidator1" runat="server" ErrorMessage="结束时间必须大于开始时间" ControlToValidate="XDateTimePicker3" ValidationGroup="submit" ControlToCompare="XDateTimePicker2" Operator="GreaterThanEqual" Display="None">结束时间必须大于开始时间</aspxform:XCompareValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='34'" ErrorMessage="请上传结婚证复印件" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" DisableExpress="!(DF_HR_LEAVEAPP.AskLeaveType=='38'&amp;&amp;DF_HR_LEAVEAPP.LeaveTime>15)" ErrorMessage="请上传配偶未休晚育假证明扫描件" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='38'" ErrorMessage="请上传结婚证复印件" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='36'" ErrorMessage="请选择丧假亲属类型" ControlToValidate="XDropDownList7" ValidationGroup="submit" SetFocusOnError="True">请选择丧假亲属类型</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveGongjia!='41'" ErrorMessage="请上传家长会通知单" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='35'" ErrorMessage="请上传医院诊断证明" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='62'" ErrorMessage="请上传剖腹产诊断证明" ControlToValidate="XAttachments1" ValidationGroup="submit">请上传剖腹产诊断证明</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" DisableExpress="DF_HR_LEAVEAPP.AskLeaveType!='39'" ErrorMessage="请上传结婚证复印件" ControlToValidate="XAttachments1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        </p>
    </form>
</body>
</html>
