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

<!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: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="appiouid" HeaderText="采购单号" ReadOnly="True" />
                             <asp:TemplateField HeaderText="采购项目" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("title") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                 <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                                        <asp:BoundField DataField="staffid" HeaderText="人员编号" ReadOnly="True" />
                                <asp:BoundField DataField="staff" HeaderText="姓名" ReadOnly="True" />
                              <asp:BoundField DataField="applicationdate" 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 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 20px 5px  " id = "viewbiaoti" runat ="server" ></div>
                               <div style =" text-align :left; margin-bottom :10px ">申请单号：<asp:Label ID="lbAppiouid" runat="server"></asp:Label></div>
                               <div style =" text-align :left; margin-bottom :10px  ">类别：<asp:Label ID="lbCategories" runat="server"></asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  ">是否招标：<asp:Label ID="lbBid" runat="server"></asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  "> 申请人:<asp:Label ID="lbStaffid" runat="server"></asp:Label> &nbsp; <asp:Label ID="lbStaff" runat="server"></asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  ">申请时间：<asp:Label ID="lbApplicationdate" runat="server"></asp:Label></div> 
                               <div style =" text-align :left ; margin-bottom :10px "> 处理状态：<asp:Label ID="lbState" runat="server"></asp:Label></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>


