<%@ Page Title="" Language="C#" MasterPageFile="~/SignBox/Site1.Master" AutoEventWireup="true" CodeBehind="AbnormalOperationRecordList.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.SignBox.AbnormalOperationRecordList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>异常操作记录列表</title>
  <link href="../Scripts/bootstrap_3.3.7_css_bootstrap.min[1].css" rel="stylesheet" />
  <link href="../Scripts/bootstrap-select.min.css" rel="stylesheet" />

  <script src="../Scripts/jquery-3.3.1.min.js"></script>
  <script src="../Scripts/bootstrap_3.3.7_js_bootstrap.min.js"></script>
  <script src="../Scripts/bootstrap-select.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <yee:PageTitle ID="ptTitle" runat="server">
        <ShortCuts></ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server"></yee:MessageBox>
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <%=GetText("单据号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtDocumentNo" runat="server" width="100px"></asp:TextBox>
                </td>
                <td><%=GetText("操作类型") %></td>
                <td>
                    <asp:DropDownList ID="ddlOperationType" runat="server">
                        <asp:ListItem Value="0" Selected="True" Text="全部"></asp:ListItem>
                        <asp:ListItem Value="1" Text="箱子签收拦截"></asp:ListItem>
                        <asp:ListItem Value="2" Text="集包签收拦截"></asp:ListItem>
                        <asp:ListItem Value="3" Text="本土签收拦截"></asp:ListItem>
                    </asp:DropDownList>
                </td>
               

                <td><%=GetText("操作仓库") %></td>
                <td>
                    <asp:DropDownList ID="ddlWarehouse" runat="server" data-live-search="true" CssClass="selectpicker" OnSelectedIndexChanged="ddlWarehouse_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                 </td>

                <td>库区</td>
                <td>
                    <asp:DropDownList ID="ddlStorage" runat="server"></asp:DropDownList>
                </td>
              
                <td colspan="2">
                    <yee:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                </td>
            </tr>
            <tr>
         <td><%=GetText("操作日期") %></td>
         <td >
             <yee:DatePicker ID="dtFrom" runat="server" IsRequired="false" />-<yee:DatePicker ID="dtTo" runat="server" IsRequired="false" />
         </td>
           <td>
                <%=GetText("客户代号") %>
            </td>
            <td>
                <asp:TextBox ID="txtCustomerCode" runat="server" width="100px"></asp:TextBox>
            </td>
               <td><%=GetText("实际仓库") %></td>
                <td>
                
                        <asp:DropDownList ID="ddlWare" runat="server" data-live-search="true" CssClass="selectpicker"  ></asp:DropDownList>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <asp:Repeater ID="rptList" runat="server">
            <HeaderTemplate>
                <table cellpadding="0" cellspacing="0" border="0" class="table" id="table" style="text-align: center;">
                    <thead>
                        <tr>
                            <td class="tbheader"><%=GetText("单据号") %></td>
                            <td class="tbheader"><%=GetText("客户代号") %></td>
                            <td class="tbheader"><%=GetText("操作类型") %></td>
                            <td class="tbheader"><%=GetText("操作仓库") %></td>
                            <td class="tbheader"><%=GetText("操作库区") %></td>
                            <td class="tbheader"><%=GetText("实际仓库") %></td>
                            <td class="tbheader"><%=GetText("操作时间") %></td>
                            <td class="tbheader"><%=GetText("操作人") %></td>
                            <td class="tbheader"><%=GetText("备注") %></td>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="tbrow">
                    <td class="tbpost"><%#Eval("DocumentNo") %></td>
                    <td class="tbpost"><%#Eval("CustomerCode") %></td>
                    <td class="tbpost"><%#Eval("TypeName") %></td>
                    <td class="tbpost"><%#Eval("WareHouseName") %></td>
                    <td class="tbpost"><%#Eval("StorageCode") %></td>
                    <td class="tbpost"><%#Eval("ActualWarehouseName") %></td>
                    <td class="tbpost"><%#Eval("CreatedOn") %></td>
                    <td class="tbpost"><%#Eval("CreatedByName") %></td>
                    <td class="tbpost"><%#Eval("Remark") %></td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="altertbrow">
                     <td class="tbpost"><%#Eval("DocumentNo") %></td>
                     <td class="tbpost"><%#Eval("CustomerCode") %></td>
                     <td class="tbpost"><%#Eval("TypeName") %></td>
                     <td class="tbpost"><%#Eval("WareHouseName") %></td>
                     <td class="tbpost"><%#Eval("StorageCode") %></td>
                     <td class="tbpost"><%#Eval("ActualWarehouseName") %></td>
                     <td class="tbpost"><%#Eval("CreatedOn") %></td>
                     <td class="tbpost"><%#Eval("CreatedByName") %></td>
                     <td class="tbpost"><%#Eval("Remark") %></td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                </tbody>
        </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>

    <yee:Pager ID="Pager1" runat="server" PageSize="20" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed" PageIndex="0" />
</asp:Content>