<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.taskend" Codebehind="taskend.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>工作终结处理</title>
    <LINK href="site_css.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <style type="text/css">

			.STYLE1 { COLOR: #999999 }
    .STYLE2 {
	color: #FFFFFF;
	font-weight: bold;
}
        .style1
        {
            height: 100px;
        }
    </style>
<script type="text/javascript">
    function ResetButton() {
        var btn = document.getElementById("Button1");
        if (btn.disabled == true) {
            btn.disabled = false;
        }
    }
    function disableBtn(btn) {
        btn.value = '系统正在执行操作...';
        btn.disabled = 'disabled';
        __doPostBack("Button1", "OnClick");
        //doPostBack can now fire serverside event even if button is disabled  
    }                                                           
</script> 

</head>

<body> 
    <form id="form1" runat="server">
    <div id="tdiv">
      <table class="maintable" width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr>
          <td height="25" colspan="2" align="center" bgcolor="#006699"><span class="STYLE2">
              工作终结处理</span></td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;工作编号：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="id" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;工作标题：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="bt" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;处理决定：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:CheckBox ID="zj" runat="server" AutoPostBack="True" Text="同意终结" />&nbsp;<asp:CheckBox ID="cb" runat="server" AutoPostBack="True" Text="要求重办" />
                            &nbsp;<asp:Label ID="Label1" runat="server" Text="完成时限" 
                  Visible="False"></asp:Label>
                            <asp:TextBox ID="wcsx" runat="server" Width="72px" 
                  onfocus="WdatePicker();" style="width:72px;" Visible="False"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                                ControlToValidate="wcsx" ErrorMessage="完成时限必须填写" 
                  Visible="False"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator12" runat="server" 
                                ControlToValidate="wcsx" ErrorMessage="日期格式必须为2009-01-05" 
                                
                                
                                
                  ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)" 
                  Visible="False"></asp:RegularExpressionValidator>
                        </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">奖励分值：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="jlfz" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">估计得分：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="gjdf" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">最终得分：</td>
          <td height="30" bgcolor="#EEEEEE">
                            <asp:TextBox ID="zzdf" runat="server" Width="61px" style="width:61px;">0</asp:TextBox>                      
                            
							<asp:requiredfieldvalidator id="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="zzdf" ErrorMessage="分值不能为空"></asp:requiredfieldvalidator>
							<asp:regularexpressionvalidator id="RegularExpressionValidator11" runat="server" 
                                    ControlToValidate="zzdf" ErrorMessage="分值必须为整数"
								ValidationExpression="^-?\d+$"></asp:regularexpressionvalidator>
                                
                        </td>
        </tr>
        <tr>
          <td align="right" bgcolor="#EEEEEE" class="style1">&nbsp;领导意见：</td>
          <td bgcolor="#EEEEEE" class="style1">
              <asp:TextBox ID="ldyj" runat="server" Height="98px" TextMode="MultiLine" 
                  Width="550px" style="width:550px;height:98px;"></asp:TextBox>
          </td>
        </tr>
        <tr>
          <td height="40" colspan="2" align="center" bgcolor="#EEEEEE">
              <asp:Button ID="Button1" runat="server" Text="确定(ALT+S)" AccessKey="s" 
                  />
          </td>
        </tr>
      </table>
    </div>
    
    </form>
</body>
</html>
