<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contract_Edit.aspx.cs" Inherits="TotCms.Web.Office.Financial.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>
<title>合同信息</title>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
    <script src="../js/common.js" type="text/javascript"></script>
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
    <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-ui-1.8.10/js/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
      $(function () {
        $('.dates').datepicker($.datepicker.regional["zh-CN"]);
      });
	</script>
</head>
<body>
<form id="form1" runat="server">
<div class="br"></div>
    <div>
        <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
             <tr class="suphead">
                <td colspan="2">
                    <h3>合同信息</h3>
                </td>
            </tr>
      <tr>
                <td width="11%" class="fields_text">
                    合同编号：</td>
                <td width="89%" class="fields_input">
                    <asp:TextBox ID="tbCodeId" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                      ControlToValidate="tbCodeId" ErrorMessage="必填项"></asp:RequiredFieldValidator>
                </td>
            </tr>
      <tr>
                <td width="11%" class="fields_text">
                    公司名称：</td>
                <td width="89%" class="fields_input">
                    <asp:TextBox ID="tbComName" runat="server" CssClass="input_middle"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                      ControlToValidate="tbComName" ErrorMessage="必填项"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
      <td class="fields_text">
          电话：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbTel" runat="server" CssClass="input_middle"></asp:TextBox>
      </td>
    </tr>
    <tr>
                <td width="11%" class="fields_text">
                    合同总额：</td>
                <td width="89%" class="fields_input">
                    <asp:TextBox ID="tbTotalMoney" runat="server" CssClass="input_middle" >0.00</asp:TextBox>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                      ControlToValidate="tbTotalMoney" ErrorMessage="限数字" 
                      ValidationExpression="\d+\.*\d*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
      <td class="fields_text">
          已付金额：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbPaidMoney" runat="server">0.00</asp:TextBox>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                      ControlToValidate="tbPaidMoney" ErrorMessage="限数字" 
          ValidationExpression="\d+\.*\d*"></asp:RegularExpressionValidator>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          剩余金额：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbLaveMoney" runat="server">0.00</asp:TextBox>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                      ControlToValidate="tbLaveMoney" ErrorMessage="限数字" 
          ValidationExpression="\d+\.*\d*"></asp:RegularExpressionValidator>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          部门：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbDeptName" runat="server"></asp:TextBox>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          签约人：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbSignBy" runat="server"></asp:TextBox>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          发票：</td>
      <td class="fields_input">
        <asp:RadioButtonList ID="rbInvoice" runat="server" RepeatDirection="Horizontal" 
          RepeatLayout="Flow">
          <asp:ListItem>需要</asp:ListItem>
          <asp:ListItem>不需要</asp:ListItem>
        </asp:RadioButtonList>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          客户类型：</td>
      <td class="fields_input">
        <asp:RadioButtonList ID="rbComType" runat="server" RepeatDirection="Horizontal" 
          RepeatLayout="Flow">
          <asp:ListItem>新客</asp:ListItem>
          <asp:ListItem>再生</asp:ListItem>
          <asp:ListItem>客户介绍</asp:ListItem>
        </asp:RadioButtonList>
      </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          结佣日：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbPayDate" runat="server" CssClass="dates"></asp:TextBox>
              </td>
    </tr>
            
            <tr>
      <td class="fields_text">
          签约日期：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbSignDate" runat="server" CssClass="dates"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
          ControlToValidate="tbSignDate" ErrorMessage="必填项"></asp:RequiredFieldValidator>
      </td>
    </tr>
            
            <tr>
              <td class="fields_input" bgcolor="#F5F5F5">截止日期：</td>
              <td class="fields_input">
                <asp:TextBox ID="tbEndDate" runat="server" CssClass="dates"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                  ControlToValidate="tbEndDate" ErrorMessage="必填项"></asp:RequiredFieldValidator>
              </td>
            </tr>
            
            <tr>
              <td class="fields_input" bgcolor="#F5F5F5">&nbsp;</td>
              <td height="32" align="left" bgcolor="#F5F5F5"><asp:Button ID="btnSubmit" runat="server" Text="确定" CssClass="button_blue" OnClick="btnSubmit_Click" />              
              &nbsp;<input type="button" class="button_gray" onclick="javascript:history.back();" value="返 回" /></td>
            </tr>
        </table>
</div>
    </form>
</body>
</html>