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

<!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/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/css/popcalendar.js"></script>
    </head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
      
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	设备领用查询
                      	</td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
            <!--这里添加内容 -->
                 <div>  <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label></div>
                    <asp:DropDownList ID="ddl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddl_SelectedIndexChanged">
                        <asp:ListItem Selected="True">设备类别</asp:ListItem>
                        <asp:ListItem>设备</asp:ListItem>
                        <asp:ListItem>领用人</asp:ListItem>
                        <asp:ListItem>领出凭证</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;<asp:DropDownList ID="ddlCategories" runat="server">
                                            </asp:DropDownList>
                    <asp:TextBox ID="tb" runat="server" Width="160px" Visible ="false" ></asp:TextBox>
                                         <span id="spanDate" runat ="server">  &nbsp;领出时间从 
                    <asp:TextBox ID="tbGettime_Star" runat="server" onclick="popUpCalendar(this,this,'yyyy-mm-dd')" Width="80px"></asp:TextBox>
                    到 
                    <asp:TextBox ID="tbGettime_End" runat="server" onclick="popUpCalendar(this,this,'yyyy-mm-dd')" Width="80px"></asp:TextBox>
&nbsp;</span> <asp:Button ID="btCha" runat="server" Text="查询" OnClick="btCha_Click"  />
                   
   
		</div>		        

<!--栏目结束 -->
               
<!--栏目开始 -->
  <asp:Panel ID="Panel1" runat="server" Visible="False">
               <div class ="lanmubiaoti ">设备列表</div>
                
                        <!--这里添加内容 -->
                        <asp:GridView ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
               <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="configuration" HeaderText="物品简介" ReadOnly="True" />
                 <asp:TemplateField HeaderText="领用数量">
                     <ItemTemplate>
                         <asp:Label ID="Label1" runat="server" Text='<%# Bind("getnumber") %>'></asp:Label>
                          <asp:Label ID="Label4" runat="server" Text='<%# Bind("unit") %>'></asp:Label>
                     </ItemTemplate>
                 </asp:TemplateField>
                  <asp:BoundField DataField="getnote" HeaderText="领用说明" ReadOnly="True" />
                 <asp:BoundField DataField="geterid" HeaderText="领用人编号" ReadOnly="True" />
                 <asp:BoundField DataField="geter" HeaderText="领用人" ReadOnly="True" />
                 <asp:BoundField DataField="iouid" HeaderText="领用凭证" ReadOnly="True" />
                 <asp:BoundField DataField="manager" HeaderText="办理人" ReadOnly="True" />
                 </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>  <div class =" td_rightnoborder  ">      
                <asp:Button ID="btPrintView" runat="server" Text="打印预览" 
                  onclick="btPrintView_Click"  />
                <asp:Button ID="btExcel" runat="server" onclick="btExcel_Click" 
                    Text="导出到EXCEL" />
            </div>
          </asp:Panel>    

                  
                        
<!--栏目结束 -->

                </div>
            </div>
        </form>
    </body>
</html>