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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>操作指令列表
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="pgTitle" runat="server">
        <ShortCuts><a href="OperationRecordEdit.aspx">添加新的指令</a></ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server"></yee:MessageBox>
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>

                <td class="queryLeft">
                    <%=GetText("运输类型") %>：
                </td>
                <td class="queryRigth">
                    <asp:RadioButtonList ID="rblTypeId" runat="server" RepeatDirection="Horizontal"></asp:RadioButtonList>
                </td>
                <td class="queryLeft">
                    <%=GetText("箱子类型") %>：
                </td>
                <td class="queryRigth">
                    <asp:RadioButtonList ID="rblBoxTypeId" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Text="全部" Selected="true"></asp:ListItem>
                        <asp:ListItem Value="1" Text="乐达包裹"></asp:ListItem>
                        <asp:ListItem Value="2" Text="转运包裹"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td class="queryLeft">
                    <%=GetText("仓储中心") %>：
                </td>
                <td class="queryRigth">
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储">
                    </yee:UserWarehousesDropDownList>
                </td>
                <td class="queryLeft">
                    <yee:Button ID="btnQuery" runat="server" CssClass="button" OnClick="btnQuery_Click" />
                </td>
            </tr>
            <tr>
                <td class="queryLeft">
                    <%=GetText("申请日期") %>：
                </td>
                <td class="queryRigth">
                    <yee:DatePicker ID="dpFrom" runat="server" CssClass="input-small" IsRequired="false" />
                    -
                    <yee:DatePicker ID="dpTo" runat="server" CssClass="input-small" IsRequired="false" />
                </td>
            </tr>
        </table>
    </div>
    <asp:Repeater ID="rptMaster" runat="server" OnItemCommand="rptMaster_ItemCommand"
        OnItemDataBound="rptMaster_ItemDataBound">
        <HeaderTemplate>
            <table class="table" cellpadding="0" cellspacing="0" border="0">
                <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>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost" style="text-align: center">
                    <%#Eval("StorageCode") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationType") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationByName")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationOn")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("ExecutedOn")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Remark")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="delete"><%=GetText("删除") %></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost" style="text-align: center">
                    <%#Eval("StorageCode") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationType") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationByName")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("OperationOn")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("ExecutedOn")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Remark")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="delete"><%=GetText("删除") %></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>

    <!--列表-->
    <yee:Pager ID="Pager1" runat="server" PageSize="10" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed" />
</asp:Content>