<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_warehousing_audit.aspx.cs" Inherits="Web.sb.admin.login_warehousing_audit" %>

<!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/admincss/skin.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="/css/popcalendar.js"></script>

</head>
<body>
    <form id="form1" runat="server" defaultfocus ="tbDevicenumber" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31px"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">入库审核</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
    
    <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" colspan="2" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                未审核的入库设备列表</div> </td>
          </tr>
        </table>
        </td>
      </tr>
<tr>  <td style ="text-align :left ;  padding-left  :5px" colspan="2">   <asp:Label ID="lbMessage" runat="server" ForeColor="Red" ></asp:Label></td>
        </tr>
      <tr>
        <td colspan="2">        
     
       
            <asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onselectedindexchanging="GridView1_SelectedIndexChanging" 
                    onrowcreated="GridView1_RowCreated" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <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="id" HeaderText="序号" ReadOnly="True" />
                    <asp:TemplateField HeaderText="设备编号" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("devicenumber") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                    <asp:TemplateField HeaderText="设备名称" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("devicename") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="initialinventory" HeaderText="入库数量" ReadOnly="True" />
                    <asp:BoundField DataField="unit" HeaderText="单位" ReadOnly="True" />
                    <asp:BoundField DataField="sn" HeaderText="序列号" ReadOnly="True" />
                    <asp:BoundField DataField="supplier" HeaderText="供货商" ReadOnly="True" />
                    <asp:BoundField DataField="transactor" HeaderText="经手人" ReadOnly="True" />
                    <asp:BoundField DataField="manager" HeaderText="入库人" ReadOnly="True" />
                    <asp:BoundField DataField="intostoragetime" HeaderText="入库时间" ReadOnly="True" />                
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
            <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 style ="text-align :right ;  padding-left  :5px">
              
                            <asp:Button ID="btNoPass" runat="server" Text="查看审核未通过的入库设备" 
                                onclick="btNoPass_Click" /></td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
   
   
       <!--  一组内容模块开始   --> 
       <asp:Panel ID="Panel1" runat="server" Visible="False">
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                审核入库</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>        

            <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
                  <tr>
                  <td class =" tabletd_center  " style ="width :80px"> 名称</td>
                  <td class =" tabletd_center  " >                  
                      &nbsp;<asp:Label ID="lbDevicename" runat="server"></asp:Label>
                       &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px">设备编号</td>
                  <td class =" tabletd_center  " >                  
                      &nbsp;<asp:Label ID="lbDevicenumber" runat="server"></asp:Label>
                       &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px"> 类别</td>
                  <td class =" tabletd_center  " >                  
                      &nbsp; <asp:Label ID="lbCategories" runat="server"></asp:Label>
                     &nbsp;</td>
                          <td class ="tabletd_left "rowspan="8" style ="width :360px">
                         <table >
                      <tr>
                      <td class ="img_s">
                     <asp:ImageButton ID="imgBt" runat="server" OnClick="imgBt_Click"  Visible ="false" />
                      </td></tr></table>
                            </td>
                  </tr>
                  <tr>
                  <td class =" tabletd_center  " style ="width :80px">  详细配置 </td>
                  <td colspan ="5" class =" tabletd_center  ">
                      &nbsp;<asp:Label ID="lbConfiguration" runat="server"></asp:Label>
                       &nbsp;</td>


                  </tr>
                  
                  
                   <tr>
                  <td class =" tabletd_center  " style ="width :80px">入库数量</td>
                  <td class =" tabletd_center  " >                  
                      &nbsp;<asp:Label ID="lbInitialinventory" runat="server"></asp:Label>
                       <asp:Label ID="lbUnit" runat="server"></asp:Label>
                        &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px">序列号</td>
                  <td class =" tabletd_center  " >                  
                     &nbsp;<asp:Label ID="lbSn" runat="server"></asp:Label>
                       &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px"> 型号</td>
                  <td class =" tabletd_center  " >                  
                       &nbsp;<asp:Label ID="lbType" runat="server"></asp:Label>
                       &nbsp;</td>
                      

                  </tr>                 
                  
                  <tr>
                      <td class=" tabletd_center  " style="width :80px">
                          检测周期</td>
                      <td class=" tabletd_center  ">
                         &nbsp;<asp:Label ID="lbTestingdays" runat="server"></asp:Label>
                       &nbsp;</td>
                      <td class=" tabletd_center  " style="width :80px">
                          首检时间</td>
                      <td class=" tabletd_center  ">
                          &nbsp;<asp:Label ID="lbTestingtime" runat="server"></asp:Label>
                       &nbsp;</td>
                      <td class=" tabletd_center  " style="width :80px">
                          单价</td>
                      <td class=" tabletd_center  ">
                          &nbsp;<asp:Label ID="lbUnitprice" runat="server"></asp:Label>
                       &nbsp;</td>
                  </tr>
                  
                <tr>
                  <td class =" tabletd_center  " style ="width :80px"> 入库人</td>
                  <td class =" tabletd_center  " >                  
                       &nbsp; <asp:Label ID="lbManager" runat="server"></asp:Label>
                    &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px"> 入库时间</td>
                  <td class =" tabletd_center  " >                  
                     &nbsp;  <asp:Label ID="lbIntostoragetime" runat="server"></asp:Label>
                     &nbsp;</td>
                  <td class =" tabletd_center  " style ="width :80px"> 经办人 </td>
                  <td class =" tabletd_center  " >                  
                      &nbsp;<asp:Label ID="lbTransactor" runat="server"></asp:Label>
                       &nbsp;</td>
                      </tr>
                      <tr>
                          <td class=" tabletd_center  " style="width :80px">
                              供货商</td>
                          <td class=" tabletd_center  ">
                              &nbsp;<asp:Label ID="lbSupplier" runat="server"></asp:Label>
                       &nbsp;</td>
                                            <td class=" tabletd_center  ">
                                                发票编号</td>
                          <td class=" tabletd_center  ">
                              <asp:Label ID="lbInvoice" runat="server"></asp:Label>  &nbsp;
                          </td>
                                            <td class=" tabletd_center  " style="width :80px">
                                                凭证号</td>
          <td class=" tabletd_center  ">
              <asp:Label ID="lbAcountingdocumentsid" runat="server"></asp:Label> &nbsp;
                          </td>

                      </tr>
             

                  
                  
                  <tr>
                      <td class=" tabletd_center  " style="width :80px">
                          生产商 
                      </td>
                      <td class=" tabletd_center  " colspan="3">
                         &nbsp;<asp:Label ID="lbProducers" runat="server"></asp:Label>
                       &nbsp;</td>
                      <td class=" tabletd_center  " style="width :80px">
                          保修日期</td>
                      <td class=" tabletd_center  ">
                        &nbsp;<asp:Label ID="lbWarrantydate" runat="server"></asp:Label>
                       &nbsp;</td>
        </tr>
        <tr>
            <td class=" tabletd_center  " style="width :80px">
                审核</td>
            <td class=" tabletd_center  ">
               <asp:Label ID="lbAuditernumber" runat="server"></asp:Label>
                              <asp:Label ID="lbAuditer" runat="server"></asp:Label>
                :<asp:Label ID="lbAudited" runat="server"></asp:Label>
                </td>
             <td class=" tabletd_center  " style="width :80px">
                库存状态</td>
            <td class=" tabletd_center  ">
                &nbsp;<asp:Label ID="lbState" runat="server"></asp:Label>&nbsp;
            </td>
            <td class=" tabletd_center  " style="width :80px">
                存放地点</td>
            <td class=" tabletd_center  ">
              &nbsp;  <asp:Label ID="lbLocation" runat="server"></asp:Label>
                &nbsp;</td>
        </tr>

                  

</table>
        
        
        </td>
      </tr>
            <tr>
                        <td  >
<table border = "0" cellpadding ="0" cellspacing ="0" style ="width :320px">
                            <tr>

                            <td  style ="width :160px"> 
                                <asp:RadioButtonList ID="rblAudited" runat="server" 
                                    RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">通过</asp:ListItem>
                                <asp:ListItem>审核未通过</asp:ListItem>
                            </asp:RadioButtonList>
                                        </td>
                            <td  style ="width :160px">
                            <asp:Button ID="btTijiao" runat="server" Text="提交" onclick="btTijiao_Click" />
                                <asp:Label ID="lbId" runat="server" Visible="False"></asp:Label>

                                        </td>
                            </tr>
                            </table> 

                                
                                

                      </td>
      </tr>
    </table></asp:Panel>
<!-- 一组内容模块结束 -->
    </td>
    <td   style =" background-image:url(/css/admincss/images/mail_rightbg.gif )"  >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td  class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
