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

<!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" />
</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 class ="lanmubiaoti ">待审核合同</div>    
        
            <!--这里添加内容 -->
                        <asp:Label ID="lbMessage" runat="server" ForeColor="Red" ></asp:Label>
		<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" onrowdatabound="GridView1_RowDataBound" 
                            
          onselectedindexchanging="GridView1_SelectedIndexChanging" Width="100%" 
          onrowcreated="GridView1_RowCreated">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                 <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox2" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox2_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox1" runat="server" /></ItemTemplate>               
               </asp:TemplateField>
                                                  <asp:BoundField DataField="conid" HeaderText="合同编号" ReadOnly="True" />
                    <asp:TemplateField HeaderText="合同名称" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("conname") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
       
                              <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                              <asp:BoundField DataField="price" HeaderText="合同价" ReadOnly="True" />
                              <asp:BoundField DataField="company" HeaderText="单位名称" ReadOnly="True" />
                              <asp:BoundField DataField="corporate" HeaderText="法人代表" ReadOnly="True" />
                              <asp:BoundField DataField="consigner" HeaderText="签字人" ReadOnly="True" />
                                <asp:BoundField DataField="signdate" HeaderText="生效时间" ReadOnly="True" />
                   <asp:BoundField DataField="enddate" HeaderText="结束时间" ReadOnly="True" />
                   <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                  
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
         <table border="0" cellpadding="4" cellspacing="1"  style ="width :100% ; text-align :right ">
        <tr><td  id ="allowpage" runat ="server" 
                style ="text-align :right ;  padding-right  :5px" colspan="2">&nbsp;</td></tr>
        <tr>                        <td style ="text-align :left;  padding-left  :5px; ">
    
                   <table border = "0" cellpadding ="0" runat ="server" id= "tb_checdedmore" visible ="false"  cellspacing ="0" style ="width :320px"  >
                            <tr>

                            <td  style ="width :160px"> 
                                <asp:RadioButtonList ID="rblAudited_more" runat="server" 
                                    RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">审核通过</asp:ListItem>
                                <asp:ListItem>审核未通过</asp:ListItem>
                            </asp:RadioButtonList>
                                        </td>
                            <td  style ="width :160px">
                            <asp:Button ID="btCheck" runat="server" Text="批量审核" onclick="btChecked_Click" />

                                        </td>
                            </tr>
                            </table></td>
            <td>
                &nbsp;</td>
             </tr>
        </table> 
<asp:Panel ID="Panel1" runat="server" Visible="False">
<table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0">
      <tr>
      <td   style ="text-align :left ; padding :10px 10px 10px 10px" class ="tabletd_center ">

         <table  style =" width :700px "    border = "0"  cellpadding ="" cellspacing ="0">
                <tr>
                    <td style =" background-color :White " >
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width :700px;  padding :20px 5px 5px 5px  " id = "viewbiaoti" runat ="server" ></div>
                               <div style =" text-align :left; margin-bottom :10px ">      
                               合同编号：<asp:Label ID="lbIouid" runat="server"></asp:Label>&nbsp;
                               类别：<asp:Label ID="lbCategories" runat="server"></asp:Label>&nbsp; 单位名称:<asp:Label ID="lbCompany" runat="server"></asp:Label> &nbsp; 合同价：<asp:Label ID="lbPrice" runat="server"></asp:Label>&nbsp; 
                               
                     </div> 
                         <div style =" text-align :left; margin-bottom :10px "> 正文内容：</div> 
                    <div id ="viewneirong" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
</td>
                </tr>
                <tr>
                <td  style =" padding :20px 5px 5px 5px" >
                        <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="LinkButton"  onclick="BulletedList1_Click"></asp:BulletedList>
                    </td>
                </tr>
   
                <tr>
                     <td style=" text-align :center;  ">
                           <div style =" text-align :left ; margin-bottom :10px "> 审核进度：</div> 
                        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                <asp:BoundField DataField="checker" HeaderText="审核人编号" ReadOnly="True" />
                                <asp:BoundField DataField="checkername" HeaderText="审核人姓名" ReadOnly="True" />
                                <asp:BoundField DataField="rank" HeaderText="审核顺序" ReadOnly="True" />
                                <asp:BoundField DataField="checkdecided" HeaderText="审核结论" ReadOnly="True" />
                                <asp:BoundField DataField="checknote" HeaderText="审核附言" ReadOnly="True" />
                                <asp:BoundField DataField="checktime" HeaderText="审核时间" ReadOnly="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
                   
                        <table border = "0" cellpadding ="0" cellspacing ="0" >
                            <tr>
                            <td >审核：</td>
                            <td  >
                                <asp:RadioButtonList ID="rblAudited" runat="server" 
                                    RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">审核通过</asp:ListItem>
                                <asp:ListItem>审核未通过</asp:ListItem>
                            </asp:RadioButtonList>
                                        </td>
                                <td >
                                    &nbsp;附言：</td>
                                <td>
                                   <asp:TextBox ID="tbChecknote" runat="server" Height="50px" 
                                        TextMode="MultiLine" Width="369px"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;
                                    <asp:Button ID="btTijiao" runat="server" onclick="btTijiao_Click" Text="提交" />
                                </td>
                            </tr>
                            </table>
                    </td>
                </tr>
                <tr>
                    <td style=" text-align :right; height :40px" >
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
</td>
      </tr>
    </table>





                        
 
                         </asp:Panel> 
<!--栏目结束 -->
            </div>
            </div> 
        </form>
    </body>
</html>


