<%@ 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.XTextBox10.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>
<script type="text/javascript">
function MOD(btn,cfg){
    var superv=document.getElementById('XTextBox2').value;
    cfg.singleSelect = btn.getAttribute('MultiSelect') ? false:true;
    cfg.param = {Keyword:superv};
}





//金额默认为0
function txtFocus(el) {
           if (el.defaultValue == el.value) { el.value = ''; el.style.color = '#000'; }
       }

       function txtBlur(el) {
           if (el.value == '') { el.value = el.defaultValue; el.style.color = '#666'; }
       }


</script>
<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">
                        <aspxform:XLabel id="XLabel2" runat="server" text="积分奖惩申请表" ValueToDisplayText Value></aspxform:XLabel>
                    </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_PRIZEPUNISH.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel1" runat="server" text="分配人姓名" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText="TableName:V_DF_HR_INTEGRALDISTRIBUTION_KYJF;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_HR_PRIZEPUNISH.AppAcount" backColor="#e6f1f8" CssClass="text" width="50%" BorderWidth="1" BorderColor="#DCDCDC" DataMap="AvailableIntegral->DF_HR_PRIZEPUNISH.AvailableCredit"></aspxform:XTextBox>
                    </td>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel3" runat="server" text="分配日期" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_HR_PRIZEPUNISH.AppDate" BorderWidth="1" BorderColor="#DCDCDC" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel11" runat="server" text="奖惩人姓名" ValueToDisplayText Value Width="90px"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_HR_PRIZEPUNISH.SupervisorUserAccount" width="50%" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_HR_PRIZEPUNISH.PrizePunishName" width="50%" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="DisplayName->DF_HR_PRIZEPUNISH.PrizePunishName;Department->DF_HR_PRIZEPUNISH.Department;UserAccount->DF_HR_PRIZEPUNISH.EmployeeNO" Width="21px" HiddenExpress="1" XDataSource="TableName:V_DF_HR_PRIZEPUNISH_YGXX" DisplayColumns="Account:员工编号,;DisplayName:员工姓名,;Department:部门,"></aspxform:XDataBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" CssClass="anxiu" DataMap="DisplayName->DF_HR_PRIZEPUNISH.PrizePunishName;Department->DF_HR_PRIZEPUNISH.Department;UserAccount->DF_HR_PRIZEPUNISH.EmployeeNO" Width="50px" MultiSelect="fale" BrowserWindowType="AjaxPanel" NavigateUrl="DFJC/Dialogs/HRJFJCSearch.js" Text="查询" BeforePopupCallFunc="MOD"></aspxform:XCustomBrowserButton>
                    </td>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel4" runat="server" text="员工编号" ValueToDisplayText Value Width="90px"></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_HR_PRIZEPUNISH.EmployeeNO" width="50%" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel12" runat="server" text="部门" ValueToDisplayText Value Width="85px"></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_HR_PRIZEPUNISH.Department" width="50%" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel5" runat="server" text="加分" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox7" onfocus="txtFocus(this)" onblur="txtBlur(this)" runat="server" XDataBind="DF_HR_PRIZEPUNISH.BonusPoints" width="50%" BorderWidth="1" BorderColor="#DCDCDC">0</aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox5" onfocus="txtFocus(this)" onblur="txtBlur(this)" runat="server" width="50%" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True" Express="DF_HR_PRIZEPUNISH.BonusPoints">0</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel13" runat="server" text="减分" ValueToDisplayText Value Width="90px"></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox4" onfocus="txtFocus(this)" onblur="txtBlur(this)" runat="server" XDataBind="DF_HR_PRIZEPUNISH.Points" width="50%" BorderWidth="1" BorderColor="#DCDCDC">0</aspxform:XTextBox>
                    </td>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel6" runat="server" text="可用额度" ValueToDisplayText Value Width="90px"></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_HR_PRIZEPUNISH.AvailableCredit" width="50%" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel7" runat="server" text="积分年度" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_HR_PRIZEPUNISH.IntegralAnnual" width="50%" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" ReadOnly="True" CausesValidation="True" EnableTheming="True"></aspxform:XTextBox>
                    </td>
                    <td width="62" class="td">
                    </td>
                    <td class="td1" style="WIDTH: 8%">
                    </td>
                </tr>
                <tr>
                    <td width="62" class="td">
                        <aspxform:XLabel id="XLabel9" runat="server" text="事由" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="td1" style="WIDTH: 8%" colspan="3">
                        <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText Value XDataBind="DF_HR_PRIZEPUNISH.why" width="99.99%" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" TextMode="MultiLine" Height="70px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <aspxform:XLabel id="XLabel30" runat="server" text="意见" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XCommentsTextBox id="XCommentsTextBox1" runat="server" CssClass="text" BorderWidth="1" Width="100%" TextMode="MultiLine" Rows="5"></aspxform:XCommentsTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                            <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" BorderColor="#dcdcdc" Width="1200px"></aspxform:XSignTrace>
        </p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ControlToValidate="XTextBox3" ErrorMessage="请选择奖惩人姓名"></aspxform:XRequiredFieldValidator>
        &nbsp;
        <aspxform:XCompareValidator id="XCompareValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请填写加分或减分" ControlToCompare="XTextBox4" Operator="NotEqual"></aspxform:XCompareValidator>
    </form>
</body>
</html>
