<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bidedit.aspx.cs" Inherits="Web.cg.show.bidedit" validateRequest="false"%>
           
<!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>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
      <meta charset="utf-8" />
          <script type="text/javascript" src="../../css/popcalendar.js"></script>
    <link rel="stylesheet" href="../../kindeditor/themes/default/default.css" />
	<link rel="stylesheet" href="../../kindeditor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../../kindeditor/kindeditor-all.js"></script>
	<script charset="utf-8" src="../../kindeditor/lang/zh-CN.js"></script>
	<script charset="utf-8" src="../../kindeditor/plugins/code/prettify.js"></script>
	<script>
	    KindEditor.ready(function (K) {
	        var editor1 = K.create('#content1', {
	            cssPath: '../../kindeditor/plugins/code/prettify.css',
	            uploadJson: '../../kindeditor/asp.net/upload_json.ashx',
	            fileManagerJson: '../../kindeditor/asp.net/file_manager_json.ashx',
	            allowFileManager: true,
	            afterCreate: function () {
	                var self = this;
	                K.ctrl(document, 13, function () {
	                    self.sync();
	                    K('form[name=example]')[0].submit();
	                });
	                K.ctrl(self.edit.doc, 13, function () {
	                    self.sync();
	                    K('form[name=example]')[0].submit();
	                });
	            }
	        });
	        prettyPrint();
	    });
	</script>

    	<script>
    	    KindEditor.ready(function (K) {
    	        var editor1 = K.create('#content2', {
    	            cssPath: '../../kindeditor/plugins/code/prettify.css',
    	            uploadJson: '../../kindeditor/asp.net/upload_json.ashx',
    	            fileManagerJson: '../../kindeditor/asp.net/file_manager_json.ashx',
    	            allowFileManager: true,
    	            afterCreate: function () {
    	                var self = this;
    	                K.ctrl(document, 13, function () {
    	                    self.sync();
    	                    K('form[name=example]')[0].submit();
    	                });
    	                K.ctrl(self.edit.doc, 13, function () {
    	                    self.sync();
    	                    K('form[name=example]')[0].submit();
    	                });
    	            }
    	        });
    	        prettyPrint();
    	    });
	</script>

</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" >


            <!--这里添加内容 -->
            <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="lbBidid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        公告标题</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbTitle" runat="server" MaxLength="25" Width="500px"></asp:TextBox><span  style ="color :Red ">（必填）<asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator9" runat="server" 
                            ControlToValidate="tbTitle" Display="Dynamic" ErrorMessage="标题不能为空。" 
                            ValidationGroup="Add" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                    ControlToValidate="tbTitle" Display="Dynamic" 
                    ErrorMessage="不能超过100个字符。" ValidationExpression="^[a-zA-Z0-9\u4e00-\u9fa5]{0,100}$" 
                                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>

                        </span></td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        类别</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlCategories" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        招标代理</td>
                    <td class="tabletd_left ">
                        <asp:DropDownList ID="ddlBidagent" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        联系人</td>
                    <td class="style1">
                        <asp:TextBox ID="tbContacts" runat="server" MaxLength="25"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator28" runat="server" 
                                    ControlToValidate="tbContacts" Display="Dynamic" ErrorMessage="请输入少于25个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,25}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        联系电话</td>
                    <td class="style1">
                        <asp:TextBox ID="tbBidagenttel" runat="server" MaxLength="25"></asp:TextBox>
                    (例：010-12345678-1234或010-12345678或139012345678)<asp:RegularExpressionValidator 
                        ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="tbBidagenttel" 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="style1">
                        <asp:TextBox ID="tbBidagentemail" runat="server" MaxLength="25" Width="255px"></asp:TextBox>
                    (例：123@abc.com)<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                        ControlToValidate="tbBidagentemail" Display="Dynamic" ErrorMessage="不要有非法字符！" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server" 
                        ControlToValidate="tbBidagentemail" Display="Dynamic" ErrorMessage="不要超过50个字符！" 
                        ValidationExpression="^[\w|\.|\@]{0,50}$" ValidationGroup="Add" 
                        ForeColor="Red"></asp:RegularExpressionValidator>

                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        公告文号</td>
                    <td class="style1">
                        <asp:TextBox ID="tbBidnoticeid" runat="server" MaxLength="25"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator27" runat="server" 
                                    ControlToValidate="tbBidnoticeid" Display="Dynamic" ErrorMessage="请输入少于25个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,25}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        公告内容</td>
                    <td class ="tabletd_left ">

                       <textarea id="content1" cols="100" rows="8" style="width:100%;height:200px;visibility:hidden;" runat="server"></textarea>
                   </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="tbBidweb" runat="server" MaxLength="25" Width="500px"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        挂网时间</td>
                    <td class ="tabletd_left ">
                                <asp:textbox id="tbBiddatestar" runat="server" Width="100px" ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                  ControlToValidate="tbBiddatestar" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Add" 
                  ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        开标时间</td>
                    <td class ="tabletd_left ">
                   
                         <asp:textbox id="tbBidopendate" runat="server" Width="100px" ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                  ControlToValidate="tbBidopendate" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Add" 
                  ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标公告文号</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbWinbidnoticeid" runat="server" MaxLength="25"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator29" runat="server" 
                                    ControlToValidate="tbWinbidnoticeid" Display="Dynamic" ErrorMessage="请输入少于25个字符。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,25}$" 
                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标单位</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbWinbider" runat="server" MaxLength="25" Width="408px"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator11" runat="server" 
                    ControlToValidate="tbWinbider" Display="Dynamic" 
                    ErrorMessage="不能超过25个字符。" ValidationExpression="^[a-zA-Z0-9\u4e00-\u9fa5]{0,25}$" 
                                                    ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>

                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标价格</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbWinbidprice" runat="server" MaxLength="25"></asp:TextBox>
                        万元<asp:RegularExpressionValidator ID="RegularExpressionValidator17" runat="server" 
                                                ControlToValidate="tbWinbidprice" 
                        Display="Dynamic" ErrorMessage="请输入大于0的数字。" 
                                                
                        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 ">
                          <textarea id="content2" cols="100" rows="8" style="width:100%;height:200px;visibility:hidden;" runat="server"></textarea></td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                   中标通知书</td>
                    <td class ="tabletd_left ">
                                          <asp:FileUpload ID="FileUpload2" runat="server" />
                        <asp:Button ID="btUpload2" runat="server" Text="上传" onclick="btUpload2_Click" />
                        单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList2" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:CheckBoxList ID="cblWinFilelist" runat="server">
                            </asp:CheckBoxList>
                        </div></td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        公告结束时间</td>
                    <td class ="tabletd_left ">
              <asp:textbox id="tbWinbiddateend" runat="server" Width="100px" ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                  ControlToValidate="tbWinbiddateend" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Add" 
                  ForeColor="Red"></asp:RegularExpressionValidator>
                        </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        状态</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlState" runat="server">
                            <asp:ListItem>编辑</asp:ListItem>
                            <asp:ListItem>完成</asp:ListItem>
                        </asp:DropDownList>
                    &nbsp;说明：状态修改为“完成”后不可对此项招标信息修改。</td>
                </tr>

                </table>

            
   <div class = "td10"  style = " text-align :center ">
                        <asp:Button ID="btAddNotice" runat="server" onclick="btAddNotice_Click" 
                            Text="提交" ValidationGroup="Add" />
                    </div> 



   </div>






                
  


<!--栏目结束 -->

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


