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

<!DOCTYPE html>

<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>
    <style type="text/css">
        .auto-style1 {
            height: 40px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" >
<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 class="auto-style1" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                库存盘点</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        设备类别：      
            <asp:DropDownList ID="ddlCategories" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCategories_SelectedIndexChanged">
                                            </asp:DropDownList>
                        &nbsp;&nbsp;设备编号：<asp:TextBox ID="tbDevicenumber" runat="server"></asp:TextBox>&nbsp;
            数量：<asp:TextBox ID="tbNumber" runat="server" Width="27px" Text ="1"></asp:TextBox>&nbsp;
            <asp:Button ID="btTijiao" runat="server" Text="提交" OnClick="btTijiao_Click" />
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#0066FF" ></asp:Label>
            <div>
                  <asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onrowcreated="GridView1_RowCreated" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                    <asp:BoundField DataField="inventorydate" HeaderText="生成日期" ReadOnly="True" />
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />
                    <asp:BoundField DataField="sn" HeaderText="序列号" ReadOnly="True" />
                    <asp:BoundField DataField="actualinventory" HeaderText="库存数量" ReadOnly="True" />
                    <asp:BoundField DataField="unit" HeaderText="单位" ReadOnly="True" />
                    <asp:BoundField DataField="checknumber" HeaderText="盘点数量" ReadOnly="True" /> 
                    <asp:BoundField DataField="checker" HeaderText="盘点人" ReadOnly="True" /> 
                    <asp:BoundField DataField="checktime" HeaderText="盘点时间" ReadOnly="True" /> 
                    <asp:BoundField DataField="inventorystate" HeaderText="盘点状态" ReadOnly="True" /> 
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>


            </div>

        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
  
    </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>