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

<!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>        
      <div>
            <div style ="text-align :left "> <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label></div>
            <div>           <asp:LinkButton ID="lbStaff" runat="server" onclick="lbStaff_Click">按责任人查询</asp:LinkButton> &nbsp; 
                <asp:LinkButton ID="lbLocal" runat="server" onclick="lbLocal_Click">按使用地点查询</asp:LinkButton>
            </div>
    
             输入人员编号或姓名：  
                    <asp:TextBox ID="tbStaffnumber" runat="server" Width="160px"></asp:TextBox>&nbsp;<asp:Button ID="btstaff" runat="server" onclick="btstaff_Click" Text="查询" />
                                            <br />
            选择使用地点：
            
            <asp:RadioButtonList ID="rblLocal" 
                runat="server" RepeatDirection="Horizontal" 
                   onselectedindexchanged="rblLocal_SelectedIndexChanged" AutoPostBack="True">
            </asp:RadioButtonList>
                    </div>
        
        
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

    <!--  一组内容模块开始   --> 
    <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 colspan="2">        
        
            <asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onrowdatabound="GridView1_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                   <Columns>   
                    <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                              <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="设备编号" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="类别" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="设备名称" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="型号" HeaderText="型号" ReadOnly="True" />

                    <asp:TemplateField HeaderText="配置">
                        <EditItemTemplate>
                            <asp:Label ID="configuration_e" runat="server" Text='<%# Eval("配置") %>'></asp:Label>&nbsp;
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="configuration_v" runat="server"></asp:Label>
                            <asp:Label ID="configuration_notv" runat="server" Text='<%# Bind("配置") %>'  Visible ="false" ></asp:Label>&nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="保管数量">
                        <EditItemTemplate>
                            <asp:Label ID="lendnumber_e" runat="server" Text='<%# Eval("保管数量") %>'></asp:Label>
                            <asp:Label ID="lendnumberunit_e" runat="server" Text='<%# Bind("单位") %>'></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lendnumber_v" runat="server" Text='<%# Bind("保管数量") %>'></asp:Label>
                            <asp:Label ID="lendnumberunit_v" runat="server" Text='<%# Bind("单位") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:BoundField DataField="开始时间" HeaderText="开始时间" ReadOnly="True" />
                   
                     <asp:TemplateField HeaderText="保管说明">
                         <EditItemTemplate>
                             <asp:Label ID="lendnote_e" runat="server" Text='<%# Eval("保管说明") %>'></asp:Label>&nbsp;
                         </EditItemTemplate>
                         <ItemTemplate>
                             <asp:Label ID="lendnote_v" runat="server"></asp:Label>
                             <asp:Label ID="lendnote_notv" runat="server" Text='<%# Eval("保管说明") %>' Visible ="false" ></asp:Label>&nbsp;
                         </ItemTemplate>
                    </asp:TemplateField>


 
                    
                     <asp:BoundField DataField="凭证号" HeaderText="凭证号" ReadOnly="True" />
                      <asp:BoundField DataField="存放地点" HeaderText="存放地点" ReadOnly="True" />
                      <asp:BoundField DataField="责任人编号" HeaderText="责任人编号" ReadOnly="True" />
                      <asp:BoundField DataField="责任人" HeaderText="责任人" ReadOnly="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
  
      <tr><td>          <asp:Button ID="btReturn" runat="server" onclick="btReturn_Click"  Visible ="false" 
                           Text="收回" />

      </td>
          <td>


                         <div class =" td_rightnoborder  ">   
                        <asp:Button ID="btPrintView0" runat="server" Text="打印预览"  Visible ="false" 
                  onclick="btPrintView0_Click"  />
                <asp:Button ID="btExcel0" runat="server" onclick="btExcel0_Click"  Visible ="false" 
                    Text="导出到EXCEL" />                 
            </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>
