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

<!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" />
    <link href="../../css/css.css" rel="stylesheet" type="text/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">
                    <table style="width :100%;">
       <tr><td  class="tc onePic">
                                     <asp:RadioButtonList ID="rblCaozuo" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblCaozuo_SelectedIndexChanged">
                                 <asp:ListItem Selected="True">预借</asp:ListItem>
                                 <asp:ListItem>预领</asp:ListItem>
                             </asp:RadioButtonList></td>
                <td >
                    <div style ="float :right;">    <table style="text-align :right;"><tr><td>查询：</td>
                                <td  style="text-align :right"><asp:RadioButtonList ID="rblChaxun" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblChaxun_SelectedIndexChanged">
                              <asp:ListItem>借用</asp:ListItem>
                             <asp:ListItem>归还</asp:ListItem>
                             <asp:ListItem>领用</asp:ListItem>
                             <asp:ListItem>延期</asp:ListItem>
                             </asp:RadioButtonList></td></tr></table></div>
                </td></tr>

        </table>         
  
                         <table class="tc onePic" style="width:100%;">
                    <tr><td>   <div style="float :left">类别:  <asp:DropDownList ID="ddlCategories" runat="server"> </asp:DropDownList>
                   &nbsp;<asp:TextBox ID="tbDevicename" runat="server" Width="100px" placeholder="设备名称"></asp:TextBox>
                    &nbsp;<asp:Button ID="tbSub" runat="server" Text="查库存" onclick="tbSub_Click" />
                                           </div>
<div style="float :right;">
    <asp:LinkButton ID="lbtPrelend" runat="server" OnClick="lbtPrelend_Click">查看预借</asp:LinkButton></div>

                        </td></tr>
                </table>
      
         
   <!--此处添加正文-->
       <div class="color-black padLR6 marB5" runat ="server" id="divstorage"> 
             
<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="Label12" runat="server" Text='<%# Bind("devicename") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label1" runat="server" Text='<%# Bind("type") %>'></asp:Label>&nbsp;
                   </td>
                   </tr>

                    <tr>
                   <td class ="rh25 ">详细配置</td>
                   <td class ="rh25 "><asp:Label ID="Label3" runat="server" Text='<%# Bind("configuration") %>'></asp:Label>&nbsp;
                    </td>
                   </tr>

                   <tr>
                   <td class ="rh25 ">库存数量</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("actualinventory") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label2" runat="server" Text='<%# Bind("unit") %>'></asp:Label>&nbsp;
                   </td>
                   </tr>
         <tr>
                   <td class ="rh25 "  style =" width:80px;">设备编号</td>
                   <td class ="rh25 "><asp:Label ID="Label6" runat="server" Text='<%# Bind("devicenumber") %>'></asp:Label>&nbsp;
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Select" Text="预借"  ></asp:LinkButton>
                       <asp:Label ID="Labela1" runat="server" Text='<%# Bind("id") %>' Visible ="false" ></asp:Label></td>
                   </tr>
                  
                   </table> 
                   <div class ="space-10 "></div>
                       
                   </ItemTemplate>
                    
                </asp:DataList>
       </div>
   
          <!--预借表-->  
                  <div class="color-black padLR6 marB5" runat ="server" id="divshowprelend" visible ="false" > 
                                <div class="tc onePic">
                <asp:Label ID="lbShowprelend" runat="server"></asp:Label>
          </div>
            <asp:DataList ID="DataList2" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" OnItemCommand="DataList2_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="Label12" runat="server" Text='<%# Bind("devicename") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label1" runat="server" Text='<%# Bind("type") %>'></asp:Label>&nbsp;
                   </td>
                   </tr>

                   <tr>
                   <td class ="rh25 ">预借数量</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("lendnumber") %>'></asp:Label>&nbsp;
                       <asp:Label ID="Label2" runat="server" Text='<%# Bind("unit") %>'></asp:Label>&nbsp;
                   </td>
                   </tr>
                         <tr>
                   <td class ="rh25 ">预借时间</td>
                   <td class ="rh25 "><asp:Label ID="Label4" runat="server" Text='<%# Bind("lenddate") %>'></asp:Label>&nbsp;
                                 </td>
                   </tr>
         <tr>
                   <td class ="rh25 "  style =" width:80px;">设备编号</td>
                   <td class ="rh25 "><asp:Label ID="Label6" runat="server" Text='<%# Bind("devicenumber") %>'></asp:Label>&nbsp;
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Select" Text="取消"  ></asp:LinkButton>
                       <asp:Label ID="Labela1" runat="server" Text='<%# Bind("id") %>' Visible ="false" ></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>
                      </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>