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

<!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 ="tbStaff">
<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 style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">库存修改查询</div>
            <div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum" runat="server" 
                    Width="44px" MaxLength="4">20</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" /></div> 
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        <div>        <asp:RadioButtonList ID="rbl1" runat="server" 
                    RepeatDirection="Horizontal" ValidationGroup="checked" 
                  AutoPostBack="True" onselectedindexchanged="btnQuery_Click">
            <asp:ListItem Selected="True"  >未审核</asp:ListItem>
            <asp:ListItem >审核通过</asp:ListItem>
            <asp:ListItem >未通过</asp:ListItem>
            </asp:RadioButtonList></div>
                  <div> 提交人：<asp:DropDownList ID="ddlManager" runat="server" AutoPostBack="True" 
                          onselectedindexchanged="btnQuery_Click">
                      </asp:DropDownList>
&nbsp;审核人：<asp:DropDownList ID="ddlChecder" runat="server" 
                 AutoPostBack="True" onselectedindexchanged="btnQuery_Click">
             </asp:DropDownList>
             &nbsp;设备编号：<asp:TextBox ID="tbDevicenumber" runat="server"></asp:TextBox>
             &nbsp;&nbsp;
        起始日期：<asp:textbox id="date1" runat="server" Width="65px"  onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
        终止日期：<asp:textbox id="date2" runat="server" Width="65px"   onclick="popUpCalendar(this,this,'yyyy-mm-dd')"> </asp:textbox>
       <asp:Button ID="Button1" runat="server" onclick="btnQuery_Click" Text="提交查询" ValidationGroup="Inquires" />
             &nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
               <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
            ControlToValidate="tbDevicenumber" Display="Dynamic" ErrorMessage="设备编号不合规范" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                  runat="server" ControlToValidate="date1" Display="Dynamic" 
                  ErrorMessage="起始日期必填！" ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="终止日期必填！" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                  ControlToValidate="date1" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                 ForeColor="Red"></asp:RegularExpressionValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                 ForeColor="Red"></asp:RegularExpressionValidator>
        <div style ="margin-bottom :6px; margin-top :6px">
        <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" Width="100%" CssClass="gv" 
                cellspacing="1" 
                AutoGenerateColumns="False" onrowdatabound="GridView1_RowDataBound">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
                            <Columns>
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />       
                    <asp:BoundField DataField="project" HeaderText="项目名称" ReadOnly="True" />
                    <asp:BoundField DataField="projectcontentold" HeaderText="修改前" ReadOnly="True" />
                    <asp:BoundField DataField="projectcontentnew" HeaderText="修改后" ReadOnly="True" />
                    <asp:BoundField DataField="manager" HeaderText="提交人" ReadOnly="True" />
                    <asp:BoundField DataField="edittime" HeaderText="提交时间" ReadOnly="True" />
                    <asp:BoundField DataField="checked" HeaderText="审核意见" ReadOnly="True" />
                    <asp:BoundField DataField="checkederid" HeaderText="审核人编号" ReadOnly="True" />
                    <asp:BoundField DataField="checkedername" HeaderText="审核人" ReadOnly="True" />
                    <asp:TemplateField HeaderText="审核时间">
                        <EditItemTemplate>
                        <asp:Label ID="lbrepairdatestar_e" runat="server" Text='<%# Bind("checkedtime") %>' ></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lbrepairdatestar_v" runat="server"></asp:Label>
                            <asp:Label ID="lbrepairdatestar_notv" runat="server" Text='<%# Bind("checkedtime") %>'  Visible ="false" ></asp:Label>&nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>


               </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView></div>
                        </div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">
                      <asp:Panel ID="Panel1" runat="server" Visible="False">
                      </asp:Panel>
                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
<asp:Panel ID="plOutput" runat="server" Visible ="false" >
            <div class =" td_rightnoborder  ">      
                <asp:Button ID="btExcel" runat="server" onclick="btExcel_Click" 
                    Text="导出到EXCEL" />
            </div>
              </asp:Panel>
          
          </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 " >&nbsp;</td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
