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

<!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 style ="width :720px; height :34px;  background-image: url('../../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	设备归还查询
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
            <!--这里添加内容 -->
            <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
            <tr>
                <td class ="tabletd_right " style ="width :60px">
                    设备名称</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbDevicename" runat="server" Width="110px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_right " style ="width :80px">
                    设备编号</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbDevicenumber" runat="server" Width="110px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_right " style ="width :60px">
                    型号</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbType" runat="server" Width="110px"></asp:TextBox>
                                            </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :60px">
                                        设备类别</td>
                <td class ="tabletd_left ">
                                            <asp:DropDownList ID="ddlCategories" runat="server">
                                            </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right " style ="width :80px">
                    归还凭证号</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbReceiptid" runat="server" Width="110px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_right " style ="width :60px">
                    归还时间</td>
                <td class ="tabletd_left ">
                    从<asp:TextBox ID="tbReturntime_Star" runat="server" Width="60px" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox> 
                    到 
                    <asp:TextBox ID="tbReturntime_End" runat="server" Width="60px" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox>
                                            </td>
            </tr>
            <tr>
                <td class ="tabletd_center " colspan="6">
                    <asp:Button ID="tbSub" runat="server" Text="提交查询" onclick="tbSub_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btReset" runat="server" onclick="btReset_Click" Text="重置" />
                </td>
            </tr>
            </table>
				 

<!--栏目结束 -->
               
<!--栏目开始 -->
<asp:Panel ID="Panel1" runat="server" Visible="False">
                <table style =" width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
                     <tr>
                         <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); width :497px; height :33px; padding-left :20px">
                             <!--这里添加栏目标题 -->
                             归还设备列表 
                             &gt;&gt;</td>
                         <td style ="background-image: url('../../css/images/asdfrsg.png'); width :103px"></td>
                         <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px"></td>
                         <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :76px" ></td>
                    </tr>
                    <tr>
                         <td height="10" colspan="4" style="font-weight:bolder;"></td>
                    </tr>
                </table>
                        <!--这里添加内容 -->
                        <asp:GridView ID="GridView1" runat="server" onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                <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="returnnumber" HeaderText="已还数量" ReadOnly="True" />
                    <asp:BoundField DataField="returnnote" HeaderText="归还说明" ReadOnly="True" />
                    <asp:BoundField DataField="lenderid" HeaderText="借用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="lender" HeaderText="借用人" ReadOnly="True" />
                    <asp:BoundField DataField="returndate" HeaderText="归还时间" ReadOnly="True" />
                    <asp:BoundField DataField="receiptid" HeaderText="归还凭证" ReadOnly="True" />
                    <asp:BoundField DataField="manager" HeaderText="接收人" ReadOnly="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
				         <table border="0" cellpadding="4" cellspacing="1"  style ="width :100% ; text-align :right ">
        <tr><td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px"  ></td></tr>
        </table> 
  </asp:Panel>                       
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>