<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Staff_Contract_Edit.aspx.cs" Inherits="TotCms.Web.Office.Staff.Staff_Contract_Edit" %>
<!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="../style/global.css" rel="stylesheet" type="text/css" />
  <link href="../../js/jquery-ui-1.8.10/css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
  <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
  <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.core.min.js" type="text/javascript"></script>
  <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.widget.min.js" type="text/javascript"></script>
  <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.datepicker.min.js" type="text/javascript"></script>
  <script src="../../js/jquery-ui-1.8.10/js/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
  <script type="text/javascript">
    $(function () {
      $(".dates").datepicker({
        changeMonth: true,
        changeYear: true,
        regional:'zh-CN'
      });       
    });
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="right_dqwz">合同管理</div>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">            
      <tr class="suphead">
        <td colspan="2">
          <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
          合同</td>
      </tr>
      <tr>
        <td>
        
          合同类别：</td>
        <td>
        
          <asp:DropDownList ID="ddClassId" runat="server">
          </asp:DropDownList>
        
        </td>
      </tr>
      <tr>
        <td>
        
          合同状态：</td>
        <td>
        
          <asp:DropDownList ID="ddStatusId" runat="server">
          </asp:DropDownList>
        
        </td>
      </tr>
      <tr>
        <td>
        
          标题：</td>
        <td>
        
          <asp:TextBox ID="tbTitle" runat="server"></asp:TextBox>
        
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbTitle" ErrorMessage="不能为空" SetFocusOnError="True"></asp:RequiredFieldValidator>
        
        </td>
      </tr>
      <tr>
        <td>
        
          开始日期：</td>
        <td>
        
          <asp:TextBox ID="tbStartDate" runat="server" CssClass="dates"></asp:TextBox>
        
          <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="tbStartDate" ErrorMessage="请填写开始日期" SetFocusOnError="True"></asp:RequiredFieldValidator>
        
        </td>
      </tr>
      <tr>
        <td>
        
          结束日期：</td>
        <td>
        
          <asp:TextBox ID="tbEndDate" runat="server" CssClass="dates"></asp:TextBox>
        
          <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ControlToValidate="tbEndDate" ErrorMessage="请填写结束日期" SetFocusOnError="True"></asp:RequiredFieldValidator>
        
        </td>
      </tr>
      <tr>
        <td>
        
          工资：</td>
        <td>
        
          <asp:TextBox ID="tbWage" runat="server"></asp:TextBox>
        
          <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="tbWage" ErrorMessage="限数字" SetFocusOnError="True" 
            ValidationExpression="\d+"></asp:RegularExpressionValidator>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tbWage" ErrorMessage="请填写!" SetFocusOnError="True"></asp:RequiredFieldValidator>
        
        </td>
      </tr>
      <tr>
        <td>
        
          年薪：</td>
        <td>
        
          <asp:TextBox ID="tbSalary" runat="server"></asp:TextBox>
        
          <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
            ControlToValidate="tbSalary" ErrorMessage="限数字" SetFocusOnError="True" 
            ValidationExpression="\d+"></asp:RegularExpressionValidator>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="tbSalary" ErrorMessage="请填写!" SetFocusOnError="True"></asp:RequiredFieldValidator>
        
        </td>
      </tr>
      <tr>
        <td>
        
          备注：</td>
        <td>
        
          <asp:TextBox ID="tbContent" runat="server" CssClass="text_normal" 
            TextMode="MultiLine"></asp:TextBox>
        
        </td>
      </tr>
      <tr>
        <td align="center" height="35" colspan="2">
          <asp:Button ID="Button1" runat="server" Text="填好了，现在提交-&gt;" 
            onclick="Button1_Click" />
          <input id="Button2" type="button" value="取消" onclick="javascript:history.back();" />
        </td>
      </tr>
    </table>
    

    </form>
</body>
</html>

