<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractEdit1.aspx.cs" Inherits="Web.cg.show.contact.ContractEdit1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    合同管理
                      	</td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
            
<!--栏目开始 -->
<div style =" margin-top :20px; margin-bottom :10px">
<div id = "zong" runat ="server" >
      <div class="divLinkButtonRight">

            <asp:LinkButton ID="linklist" runat="server" onclick="linklist_Click">返回</asp:LinkButton>
        </div>

            <!--这里添加内容 -->
            <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        合同编号</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbConid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        申请机构</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbDepartment" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        合同名称</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbConname" runat="server" Width="500px"></asp:TextBox><span  style ="color :Red ">（必填）<span  style ="color :Red "><asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator9" runat="server" 
                            ControlToValidate="tbConname" Display="Dynamic" ErrorMessage="标题不能为空。" 
                            ValidationGroup="Add" ForeColor="Red"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator28" runat="server" 
                                    ControlToValidate="tbConname" Display="Dynamic" ErrorMessage="请输入少于100个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,100}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>

                        </span></span></td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        对方单位</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbCompany" runat="server" Width="255px"></asp:TextBox>
                        <span  style ="color :Red ">
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator29" runat="server" 
                                    ControlToValidate="tbCompany" Display="Dynamic" ErrorMessage="请输入少于50个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,50}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        联系人</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbLiaison" runat="server" Width="80px"></asp:TextBox>
                        <span  style ="color :Red ">
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator32" runat="server" 
                                    ControlToValidate="tbLiaison" Display="Dynamic" ErrorMessage="请输入少于50个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,50}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        地址</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbAddress" runat="server" Width="500px"></asp:TextBox>
                        <span  style ="color :Red ">
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator30" runat="server" 
                                    ControlToValidate="tbAddress" Display="Dynamic" ErrorMessage="请输入少于100个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,100}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        联系电话</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbTel" runat="server"></asp:TextBox>
                    (例：010-12345678-1234或010-12345678或139012345678)<asp:RegularExpressionValidator 
                        ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="tbTel" Display="Dynamic" ErrorMessage="请按示例填写！" 
                        ValidationExpression="^\d{0,4}-\d{0,8}-\d{0,6}|\d{0,4}-\d{0,12}|\d{0,12}$" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        邮箱</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbEmail" runat="server"  Width="255px"></asp:TextBox>
                    (例：123@abc.com)<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                        ControlToValidate="tbEmail" Display="Dynamic" ErrorMessage="不要有非法字符！" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator14" runat="server" 
                        ControlToValidate="tbEmail" Display="Dynamic" ErrorMessage="不要超过50个字符！" 
                        ValidationExpression="^[\w|\.|\@]{0,50}$" ValidationGroup="Add" 
                        ForeColor="Red"></asp:RegularExpressionValidator>

                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        社会信用代码</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbBusinesslicense" runat="server" MaxLength="25" Width="255px"></asp:TextBox>
                        <span  style ="color :Red ">
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator31" runat="server" 
                                    ControlToValidate="tbBusinesslicense" Display="Dynamic" ErrorMessage="请输入少于25个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,25}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        合同文本</td>
                    <td class ="tabletd_left ">
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        <asp:Button ID="btUpload" runat="server" Text="上传" onclick="btUpload_Click" />
                         单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:CheckBoxList ID="cblFileList" runat="server">
                            </asp:CheckBoxList>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        合同价格</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbPrice" runat="server" ></asp:TextBox>
                        元<asp:RegularExpressionValidator ID="RegularExpressionValidator20" runat="server" 
                                                ControlToValidate="tbPrice" 
                        Display="Dynamic" ErrorMessage="请输入数字。" 
                                                
                        ValidationExpression="^(?:[1-9][0-9]*|0)(?:\.[0-9]+)?$" 
                                                ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator></td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        是否验收</td>
                    <td class ="tabletd_left ">
                        <asp:RadioButtonList ID="rblCheckstate" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        状态</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlState" runat="server">
                            <asp:ListItem Value ="编辑">编辑</asp:ListItem>
                            <asp:ListItem  Value ="待审核">提交审核</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>

                </table>

            
   <div class = "td10"  style = " text-align :center ">
                        <asp:Button ID="btAddNotice" runat="server" onclick="btAddNotice_Click" ValidationGroup="Add" 
                            Text="提交" Height="21px" />
                    </div>  </div>
<!--栏目结束 -->
                    </div>
            </div>
            </div> 
        </form>
    </body>
</html>


