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

<!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>无标题页</title>
<link href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
</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 :31"  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 " >

<!--  一组内容模块开始   -->

<asp:Panel ID="pnPreLend" runat="server">
    <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>
        
 
            <asp:GridView ID="gvPreLend" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowdatabound="gvPreLend_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="lenddate" HeaderText="预借时间" ReadOnly="True" />
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />

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

                    <asp:BoundField DataField="unit" HeaderText="计量单位" ReadOnly="True" />

                    <asp:BoundField DataField="lendnumber" HeaderText="借用数量" ReadOnly="True" />

                         <asp:TemplateField HeaderText="借用说明">
                         <EditItemTemplate>
                             <asp:Label ID="lendnote_e" runat="server" Text='<%# Eval("lendnote") %>'></asp:Label>&nbsp;
                         </EditItemTemplate>
                         <ItemTemplate>
                             <asp:Label ID="lendnote_v" runat="server"></asp:Label>
                             <asp:Label ID="lendnote_notv" runat="server" Text='<%# Eval("lendnote") %>' Visible ="false" ></asp:Label>&nbsp;
                         </ItemTemplate>
                    </asp:TemplateField>

                    <asp:BoundField DataField="plansreturndate" HeaderText="计划归还时间" ReadOnly="True" />
                    <asp:BoundField DataField="lenderid" HeaderText="借用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="lender" HeaderText="借用人" ReadOnly="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
    </table>
    </asp:Panel>

<!-- 一组内容模块结束 -->


<!--  一组内容模块开始   --> 
<asp:Panel ID="pnPreGet" runat="server">
    <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>
        
 
            <asp:GridView ID="gvpreGet" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowdatabound="gvpreGet_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="getdate" HeaderText="预领时间" ReadOnly="True" />
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />
                                            <asp:TemplateField HeaderText="配置">
                        <EditItemTemplate>
                            <asp:Label ID="configuration_e" runat="server" Text='<%# Eval("configuration") %>'></asp:Label>&nbsp;
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="configuration_v" runat="server"></asp:Label>
                            <asp:Label ID="configuration_notv" runat="server" Text='<%# Bind("configuration") %>'  Visible ="false" ></asp:Label>&nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="unit" HeaderText="计量单位" ReadOnly="True" />
                    <asp:BoundField DataField="getnumber" HeaderText="领用数量" ReadOnly="True" />

                         <asp:TemplateField HeaderText="领用说明">
                         <EditItemTemplate>
                             <asp:Label ID="lendnote_e" runat="server" Text='<%# Eval("getnote") %>'></asp:Label>&nbsp;
                         </EditItemTemplate>
                         <ItemTemplate>
                             <asp:Label ID="lendnote_v" runat="server"></asp:Label>
                             <asp:Label ID="lendnote_notv" runat="server" Text='<%# Eval("getnote") %>' Visible ="false" ></asp:Label>&nbsp;
                         </ItemTemplate>
                    </asp:TemplateField>


                    <asp:BoundField DataField="geterid" HeaderText="领用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="geter" HeaderText="领用人" ReadOnly="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
    </table>
    </asp:Panel>

<!-- 一组内容模块结束 -->


<!--  一组内容模块开始   --> 
<asp:Panel ID="pnPreReturn" runat="server">
    <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>
        
 
            <asp:GridView ID="gvPreReturn" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowdatabound="gvPreReturn_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />
                                            <asp:TemplateField HeaderText="配置">
                        <EditItemTemplate>
                            <asp:Label ID="configuration_e" runat="server" Text='<%# Eval("configuration") %>'></asp:Label>&nbsp;
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="configuration_v" runat="server"></asp:Label>
                            <asp:Label ID="configuration_notv" runat="server" Text='<%# Bind("configuration") %>'  Visible ="false" ></asp:Label>&nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="unit" HeaderText="计量单位" ReadOnly="True" />
                    <asp:BoundField DataField="returnnumber" HeaderText="归还数量" ReadOnly="True" />
     
                                             <asp:TemplateField HeaderText="归还说明">
                         <EditItemTemplate>
                             <asp:Label ID="lendnote_e" runat="server" Text='<%# Eval("returnnote") %>'></asp:Label>&nbsp;
                         </EditItemTemplate>
                         <ItemTemplate>
                             <asp:Label ID="lendnote_v" runat="server"></asp:Label>
                             <asp:Label ID="lendnote_notv" runat="server" Text='<%# Eval("returnnote") %>' Visible ="false" ></asp:Label>&nbsp;
                         </ItemTemplate>
                    </asp:TemplateField>



                    <asp:BoundField DataField="returnnote" HeaderText="归还说明" ReadOnly="True" />
                    <asp:BoundField DataField="lenderid" HeaderText="借用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="lender" HeaderText="借用人" ReadOnly="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
    </table>
        </asp:Panel>  
 
<!-- 一组内容模块结束 -->
   
   
<!--  一组内容模块开始   --> 
<asp:Panel ID="pnLendexpire" runat="server">
    <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>
        
 
            <asp:GridView ID="gvLendexpire" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />
                    <asp:BoundField DataField="unit" HeaderText="单位" ReadOnly="True" />
                    <asp:BoundField DataField="lendnumber" HeaderText="借用数量" ReadOnly="True" />
                    <asp:BoundField DataField="returnnumber" HeaderText="已还数量" ReadOnly="True" />
                    <asp:BoundField DataField="lenderid" HeaderText="借用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="lender" HeaderText="借用人姓名" ReadOnly="True" />
                    <asp:BoundField DataField="lenddate" HeaderText="借用时间" ReadOnly="True" />
                    <asp:BoundField DataField="iouid" HeaderText="借用凭证" ReadOnly="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
    </table>
        </asp:Panel>

<!-- 一组内容模块结束 -->
      <asp:Label ID="lbPreLend" runat="server" ForeColor="Red" ></asp:Label>
      <asp:Label ID="lbPreGet" runat="server" ForeColor="Red" ></asp:Label>
      <asp:Label ID="lbPreReturn" runat="server" ForeColor="Red" ></asp:Label> 
      <asp:Label ID="lbLendexpire" runat="server" ForeColor="Red" ></asp:Label>           

    </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>
