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

<!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 =" text-align :right ;">
              <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="ContractCheck2All.aspx" Visible ="false" >查看所有</asp:HyperLink>&nbsp; 
           </div>
                     <asp:Panel ID="pnApp" runat="server">
            <!--这里添加内容 -->
		<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:BoundField DataField="conname" HeaderText="合同名称" ReadOnly="True" />
                   <asp:BoundField DataField="price" HeaderText="合同价" ReadOnly="True" />
                   <asp:BoundField DataField="company" HeaderText="单位名称" ReadOnly="True" />
                   <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                   <asp:BoundField DataField="department" HeaderText="department" ReadOnly="True" />
                   <asp:CommandField HeaderText="操作" SelectText="审批" ShowSelectButton="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
         <table border = "0" cellpadding ="0" runat ="server" id= "tb_checdedmore" visible ="false"  cellspacing ="0" style ="width :100%"  >
                            <tr>

                            <td  style ="width :200px"> 
                                <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 :120px">
                            <asp:Button ID="btCheck" runat="server" Text="批量审批" onclick="btChecked_Click" />

                                        </td>
                                <td>
                                    <asp:Panel ID="plSqgl" runat="server" Visible ="false" >
                                    将选中项目转移给<asp:DropDownList ID="ddlSqgl" runat="server"></asp:DropDownList>审批 <asp:Button ID="btSqgl" runat="server" Text="提交" OnClick="btSqgl_Click" />

                                    </asp:Panel></td>
                                <td></td>
                            </tr>
                            </table> 
</asp:Panel> 


<asp:Panel ID="pnApplist" 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  ">
                        <asp:Label ID="lbBiaoti" runat="server"></asp:Label></div>
                               <div style =" text-align :left; margin-bottom :10px ">      
                               合同编号：<asp:Label ID="lbIouid" runat="server"></asp:Label>&nbsp; 
                               单位名称:<asp:Label ID="lbCompany" runat="server"></asp:Label>&nbsp; 
                               合同价：<asp:Label ID="lbPrice" runat="server"></asp:Label> 元&nbsp; 
                               
                                   <asp:Label ID="lbDepartment" runat="server" Visible="False"></asp:Label>
                               
                     </div> 
                           <asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="LinkButton"  onclick="BulletedList1_Click"></asp:BulletedList>
               
</td>
                </tr>
   
                <tr>
                     <td>
                <div class="td_block">
      <div class="row_title">
                        <asp:Label ID="lbCheckTitle" runat="server" Text="审核进度："></asp:Label>
                          <asp:Label ID="lbCheckerCount" runat="server"  Visible ="false" >0</asp:Label>
                        </div> 

                <asp:DataList ID="dlCheck" runat="server" Width="100%" OnItemDataBound="dlCheck_ItemDataBound" >
              <ItemTemplate>
                       
         <div class=" row_pic ">
                    <asp:Image ID="Image1" runat="server" />
                   </div>

                <div>
                    <asp:Label ID="lbShow" runat="server" ></asp:Label>
                    <asp:Label ID="lbcheckername" runat="server" Visible ="false" Text='<%# Bind("checkername") %>'></asp:Label>
                    <asp:Label ID="lbcheckdecided" runat="server" Visible ="false" Text='<%# Bind("checkdecided") %>'></asp:Label> 
                    <asp:Label ID="lbchecknote"  runat="server" Visible ="false" Text='<%# Bind("checknote") %>'></asp:Label>
                    <asp:Label ID="lbchecktime" runat="server" Visible ="false"    Text='<%# Bind("checktime") %>'></asp:Label></div> 
                
                  <asp:Panel ID="plCheckOver" runat="server" Visible ="false" >
                     <div class="row_pic">
                    <asp:Image ID="Image2" runat="server" />
                   </div>
                      <div>审核结束</div>
                  </asp:Panel>
                  </ItemTemplate>
          </asp:DataList>
</div> 
                        <table border = "0" cellpadding ="0" cellspacing ="0" style="width:100%" runat ="server" id="tableChecking">
                            <tr>
                            <td>
                                <asp:RadioButtonList ID="rblAudited" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Selected="True">审批通过</asp:ListItem>
                                    <asp:ListItem>审批未通过</asp:ListItem>
                                </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="tbChecknote" runat="server"  TextMode="MultiLine" Width="100%"  placeholder="审批留言" ></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style ="text-align :center; height :40px;">
                                    <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>