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

<!DOCTYPE html>

<html>
<head id="Head1" runat="server">
    <title>OA标题页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link type="text/css" rel="stylesheet" href="/css/reset.css" />
<link type="text/css" rel="stylesheet" href="/css/base.css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<style type="text/css">
   #newsArticle img{width:100%!important;height:auto!important;max-width:640px;}
  </style>
</head>
<body class="bg2">
    <form id="fom" runat="server">
    <section id="container">
    <div class="space-10"></div>
    <section class="bg-fff pad9 marLR9 opacity summary">
      <h3 class="color-black bold lineH17 padLR3"> 
      <!--此处添加标题（小字）-->
      <asp:Label ID="lbbiaoti" runat="server" ></asp:Label> 
      	</h3>
    <div class="space-10"></div>
        <h2 class="f17 color-black bold lineH22 padLR3">
        <!--此处添加标题（大字）-->

        </h2>
        <div class="padLR3 oh"><span class="fr pointer fontSize" id="fontSize">大字</span></div>
        <article class="newsArticle" id="newsArticle">
        
            <div class="color-black padLR6 marB5">
   <!--此处添加正文-->
                    <div>领用 </div>
    <div  > <asp:TextBox ID="tbStaff" runat="server" Width="200px" placeholder="人员编号/电话/智能卡/邮箱"></asp:TextBox>    &nbsp;<asp:Button ID="tijiao" runat="server" 
                        onclick="tijiao_Click" Text="查询" ValidationGroup="cha" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="请输入物品或人员信息" 
                            ValidationGroup="cha" ForeColor="Red"></asp:RequiredFieldValidator>  <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label>   </div> 
                <div>           <asp:Label ID="lbStaffnumber0" runat="server"></asp:Label>
            <asp:Label ID="lbStaffnumber" runat="server" Font-Bold="True"></asp:Label>
&nbsp;<asp:Label ID="lbStaffname" runat="server" Font-Bold="True"></asp:Label>
        
                           <asp:Label ID="lbDeviceNumber" runat="server" Visible ="false" ></asp:Label>
        
                           </div>
                <div>
                    <div class ="space-10 "></div>   
                    <asp:Panel ID="Panel1" runat="server" Visible ="false" >
   <asp:DataList ID="DataList1" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" OnItemCommand="DataList1_ItemCommand">
                   <AlternatingItemStyle BackColor="White" />
                   <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <ItemStyle BackColor="#E3EAEB" />
                   <ItemTemplate>

                   <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
                           <tr>
                   <td class ="rh25 ">预领时间</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("getdate") %>'></asp:Label>&nbsp;
                       <asp:Label ID="lbId" runat="server" Text='<%# Bind("id") %>' Visible ="false" ></asp:Label></td>
                   </tr>

                   <tr>
                   <td class ="rh25 "  style =" width:80px;">预领物品</td>
                   <td class ="rh25 "><asp:Label ID="Label3" runat="server" Text='<%# Bind("devicenumber") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label4" runat="server" Text='<%# Bind("devicename") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label5" runat="server" Text='<%# Bind("type") %>'></asp:Label></td>
                   </tr> 
                          <tr>
                   <td class ="rh25 "  style =" width:80px;">领用数量</td>
                   <td class ="rh25 "><asp:Label ID="Label6" runat="server" Text='<%# Bind("getnumber") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label7" runat="server" Text='<%# Bind("unit") %>'></asp:Label></td>
                   </tr> 
                     <tr>
                   <td class ="rh25 "  style =" width:80px;">操作</td>
                   <td class ="rh25 ">
                       <asp:Button ID="btnDel" runat="server" CausesValidation="False" CommandName="Select" Text="删除" />
   
                    </td> 
                   </tr> 
      
                   </table> 
                   <div class ="space-10 "></div>
                       
                   </ItemTemplate>
                    
                </asp:DataList>
                              <div style="text-align :center ;  ">
        
                            <asp:Button ID="btLend" runat="server" Text="领出" onclick="btLend_Click" />
        </div> 

                        </asp:Panel>

                    <asp:Panel ID="Panel2" runat="server" Visible ="false" Style="background-color:white;" >
                         <div style ="text-align :center; font-size :large ; padding-bottom :10px; padding-top :10px; font-weight :bold ">
   设备领用清单
    </div>
    <div>领用凭证号： <asp:Label ID="lbIouid" runat ="server" ></asp:Label></div><div>
        领用人：<asp:Label ID="lbLenderid" runat="server"></asp:Label> &nbsp;<asp:Label ID="lbLender" runat="server"></asp:Label>
                
            &nbsp;办理人：<asp:Label ID="lbManaer" runat="server" /></div>      

   <asp:DataList ID="DataList2" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333">
                   <AlternatingItemStyle BackColor="White" />
                   <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            
                   <ItemTemplate>

                   <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
                           <tr>
                   <td class ="rh25 ">领用时间</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("getdate") %>'></asp:Label>&nbsp;</td>
                   </tr>

                   <tr>
                   <td class ="rh25 "  style =" width:80px;">领用物品</td>
                   <td class ="rh25 "><asp:Label ID="Label3" runat="server" Text='<%# Bind("devicenumber") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label4" runat="server" Text='<%# Bind("devicename") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label5" runat="server" Text='<%# Bind("type") %>'></asp:Label></td>
                   </tr> 
                          <tr>
                   <td class ="rh25 "  style =" width:80px;">领用数量</td>
                   <td class ="rh25 "><asp:Label ID="Label6" runat="server" Text='<%# Bind("getnumber") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label7" runat="server" Text='<%# Bind("unit") %>'></asp:Label></td>
                   </tr> 
                            
                   </table> 
                   <div class ="space-10 "></div>
                       
                   </ItemTemplate>
                 
                </asp:DataList>
                              <div style="text-align :center ;  ">
        
                            <asp:Button ID="btnBack" runat="server" Text="返回" OnClick="btnBack_Click" />
        </div> 

                        </asp:Panel>
                </div>
                                    
   <!--正文结束-->     
           </div>
        </article>
            <div class="space-20"></div>
        <div class="space-30">
                <div class="mhome">
                    <asp:ImageButton ID="imgBHome" runat="server" ImageUrl="/css/images/home.png" 
                        Height="30px" Width="30px" onclick="imgBHome_Click"></asp:ImageButton></div>
        <div  class ="mexit">
            <asp:ImageButton ID="imgBExit" runat="server" ImageUrl="/css/images/exit.png" 
                Height="30px" Width="30px" onclick="imgBExit_Click"></asp:ImageButton></div>
        </div>
       
  
    </section><!--summary end-->
    <div class="space-20"></div>
</section><!--container end-->
<script type="text/javascript" src="/js/base.js"></script>
        </form>
    </body>
</html>
