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

<!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 style ="width :720px; height :34px;  background-image: url('../../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    入库审核
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
  <asp:Panel ID="plZong" runat="server" Visible="False">   
<!--栏目开始 -->
            <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                        待审核的入库设备 &gt;&gt;</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :76px" ></td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
                        <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="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 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>
                <asp:Button ID="btNoPass" runat="server" onclick="btNoPass_Click" 
                    Text="查看审核未通过的入库设备" />
            </td>
             </tr>
        </table> 
<asp:Panel ID="Panel1" runat="server" Visible="False">

                        <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
                  <tr>
                  <td class =" tabletd_center  " style ="width :70px"> 名称</td>
                  <td class =" tabletd_center  " >                  
                       <asp:Label ID="lbDevicename" runat="server"></asp:Label>
                       &nbsp;&nbsp;&nbsp;</td>
                  <td class =" tabletd_center  " style ="width :70px">设备编号</td>
                  <td class =" tabletd_center  " >                  
                      &nbsp;<asp:Label ID="lbDevicenumber" runat="server"></asp:Label>
                       &nbsp;</td>
                      <td class=" tabletd_center  ">
                          类别</td>
                      <td class=" tabletd_center  ">
                          <asp:Label ID="lbCategories" runat="server"></asp:Label>
                      </td>
                      <td class=" tabletd_center  " style ="width :360px" rowspan="8">
                          <div style="margin-top :10px;  margin-bottom :10px; width :360px; height :270px">
                              <table border="1" cellpadding="0" cellspacing="0" class="table">
                                  <tr>
                                      <td style="vertical-align :middle ; text-align :center ; width :360px; height :270px">
                                          <asp:ImageButton ID="ImageButton1" runat="server" 
                                              ImageUrl="~/share/imgbyte_s.aspx" OnClick="ImageButton1_Click" />
                                      </td>
                                  </tr>
                              </table>
                          </div>
                          <div>
                              <asp:RadioButtonList ID="rblImg" runat="server" AutoPostBack="True" 
                                  onselectedindexchanged="rblImg_SelectedIndexChanged" 
                                  RepeatDirection="Horizontal">
                              </asp:RadioButtonList>
                          </div>
                      </td>

                  </tr>
                            <tr>
                                <td class=" tabletd_center  " style="width :70px">
                                    &nbsp;型号</td>
                                <td class=" tabletd_center  ">
                                    &nbsp;&nbsp;<asp:Label ID="lbType" runat="server"></asp:Label>
                                </td>
                                <td class=" tabletd_center  " style="width :70px">
                                    &nbsp;详细配置</td>
                                <td class=" tabletd_center  " colspan="3">
                                    &nbsp;&nbsp;<asp:Label ID="lbConfiguration" runat="server"></asp:Label>
                                </td>
                            </tr>
                  <tr>
                  <td class =" tabletd_center  " style ="width :70px">  &nbsp;序列号</td>
                  <td class =" tabletd_center  ">
                      <asp:Label ID="lbSn" runat="server"></asp:Label>
                      &nbsp;&nbsp;</td>

                      <td class=" tabletd_center  ">
                          单价</td>
                      <td class=" tabletd_center  ">
                          <asp:Label ID="lbUnitprice" runat="server"></asp:Label>
                      </td>

                      <td class=" tabletd_center  ">
                          存放地点</td>
                      <td class=" tabletd_center  ">
                          <asp:Label ID="lbLocation" runat="server"></asp:Label>
                      </td>

                  </tr>
                  
                  
                            <tr>
                                <td class=" tabletd_center  " style="width :70px">
                                    数量</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbInitialinventory" runat="server"></asp:Label>
                                    <asp:Label ID="lbUnit" runat="server"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;</td>
                                <td class=" tabletd_center  " style="width :70px">
                                    检测周期</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbTestingdays" runat="server"></asp:Label>
                                    &nbsp;&nbsp;</td>
                                <td class=" tabletd_center  ">
                                    首检时间</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbTestingtime" runat="server"></asp:Label>
                                </td>
                            </tr>
                  
                  <tr>
                      <td class=" tabletd_center  " style="width :70px">
                          经办人</td>
                      <td class=" tabletd_center  ">
                          &nbsp;&nbsp;<asp:Label ID="lbTransactor" runat="server"></asp:Label>
                      </td>
                      <td class=" tabletd_center  " style="width :70px">
                          供货商</td>
                      <td class=" tabletd_center  ">
                          <asp:Label ID="lbSupplier" runat="server"></asp:Label>
                          &nbsp;&nbsp;</td>
                      <td class=" tabletd_center  ">
                          发票编号</td>
                      <td class=" tabletd_center  ">
                          <asp:Label ID="lbInvoice" runat="server"></asp:Label>
                      </td>
                  </tr>
                  
                            <tr>
                                <td class=" tabletd_center  " style="width :70px">
                                    保修日期</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbWarrantydate" runat="server"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;</td>
                                <td class=" tabletd_center  " style="width :70px">
                                    &nbsp;生产商</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbProducers" runat="server"></asp:Label>
                                    &nbsp;&nbsp;</td>
                                <td class=" tabletd_center  ">
                                    入库人</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbManager" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class=" tabletd_center  " style="width :70px">
                                    入库时间</td>
                                <td class=" tabletd_center  ">
                                     <asp:Label ID="lbIntostoragetime" runat="server"></asp:Label>
                                     <asp:Label ID="lbId" runat="server" Visible="False"></asp:Label>
                                     &nbsp;&nbsp;</td>
                                <td class=" tabletd_center  " style="width :70px">
                                    审核人</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbAuditernumber" runat="server"></asp:Label>
                                    <asp:Label ID="lbAuditer" runat="server"></asp:Label>
                                    &nbsp;&nbsp;</td>
                                <td class=" tabletd_center  ">
                                    审核结果</td>
                                <td class=" tabletd_center  ">
                                    <asp:Label ID="lbAudited" runat="server"></asp:Label>
                                </td>
                            </tr>
                  

</table>
                        <table border = "0" cellpadding ="0" cellspacing ="0" >
                            <tr>
                            <td style ="width :100px">入库审核结果</td>
                            <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 :60px">
                            <asp:Button ID="btTijiao" runat="server" Text="提交" onclick="btTijiao_Click" />

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