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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>我的拣货单</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="ptTitle" runat="server">
    </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="txtCustomerCode" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("配送流水号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtOrderNo" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("状态") %>
                </td>
                <td>
                    <asp:DropDownList ID="ddlStatuId" runat="server"></asp:DropDownList>
                </td>
                <td>
                    <%=GetText("类型") %>
                </td>
                <td>
                    <yee:DictionaryRadioList runat="server" ID="PickUpType" RepeatDirection="Horizontal" TypeId="PickUpType" IsShowAllAtFirst="true"></yee:DictionaryRadioList>
                </td>
                <td>
                    <%=GetText("仓储中心") %>
                </td>
                <td>
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储">
                    </yee:UserWarehousesDropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetText("是否打印") %>
                </td>
                <td>
                    <asp:RadioButtonList ID="rblIsPrint" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Text="全部" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="已打印" Value="1"></asp:ListItem>
                        <asp:ListItem Text="未打印" Value="2"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    <%=GetText("是否外省") %>
                </td>
                <td>
                    <asp:RadioButtonList ID="rblIsOther" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Text="全部" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="金边" Value="1"></asp:ListItem>
                        <asp:ListItem Text="外省" Value="2"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td></td>
                <td></td>
                <td></td>
                <td>
                    <yee:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                    <yee:Button ID="btnExpress" runat="server" Visible="false" CssClass="button" OnClick="btnExpress_Click" />
                </td>
            </tr>
            <tr>
                <td>日期</td>
                <td>
                    <yee:DatePicker ID="dtFrom" runat="server" IsRequired="false" />
                    -<yee:DatePicker ID="dtTo" runat="server" IsRequired="false" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <asp:Button ID="btnBatchPickGoods" runat="server" Text="批量拣货" CssClass="button" OnClick="btnBatchPickGoods_Click" />
        <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound" OnItemCommand="rptList_ItemCommand">
            <HeaderTemplate>
                <table cellpadding="0" cellspacing="0" border="0" class="table" id="table" style="text-align: center;">
                    <thead>
                        <tr>
                            <td class="tbheader"></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>
                            <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">
                        <input id="cb" type="checkbox" runat="server" value='<%#Eval("ID") %>' />
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litSerialNo" runat="server" Text='<%#Eval("SerialNo") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCustomerCode" runat="server" Text='<%#Eval("CustomerCode") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCompanyName" runat="server" Text='<%#Eval("CompanyName") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litExpressNo" runat="server" Text='<%#Eval("ExpressNo") %>'></asp:Literal>
                    </td>

                    <td class="tbpost">
                        <asp:Literal ID="litReceiverName" runat="server" Text='<%#Eval("Name") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litTel" runat="server" Text='<%#Eval("Mobile") %>'></asp:Literal>
                    </td>
                    <td class="tbpost" width="20">
                        <asp:Literal ID="litAddress" runat="server" Text='<%#Eval("Address") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litStatuName" runat="server" Text='<%#Eval("StatuName") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litPickUpType" runat="server" Text='<%#Eval("PickUpType") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litIsPrint" CssClass="litIsPrint" ClientIDMode="Static" runat="server" Text='<%#Eval("IsPrint") %>'></asp:Label>
                        <br />
                        <%#Eval("Provice") %>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litPick" ClientIDMode="Static" runat="server" Text='<%#Eval("PickPerson") %>'></asp:Label>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litRelease" ClientIDMode="Static" runat="server" Text='<%#Eval("ReleasePerson") %>'></asp:Label>
                    </td>
                    <td class="tbpost">
                        <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("ID") %>' CommandName="detail" Text="配送详情"></asp:LinkButton>
                        <asp:LinkButton ID="lbnPickUp" runat="server" CommandArgument='<%#Eval("ID") %>' CommandName="pickup" Text="等待拣货"></asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="altertbrow">
                    <td class="tbpost">
                        <input id="cb" type="checkbox" runat="server" value='<%#Eval("ID") %>' />
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litSerialNo" runat="server" Text='<%#Eval("SerialNo") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCustomerCode" runat="server" Text='<%#Eval("CustomerCode") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCompanyName" runat="server" Text='<%#Eval("CompanyName") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litExpressNo" runat="server" Text='<%#Eval("ExpressNo") %>'></asp:Literal>
                    </td>

                    <td class="tbpost">
                        <asp:Literal ID="litReceiverName" runat="server" Text='<%#Eval("Name") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litTel" runat="server" Text='<%#Eval("Mobile") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litAddress" runat="server" Text='<%#Eval("Address") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litStatuName" runat="server" Text='<%#Eval("StatuName") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litPickUpType" runat="server" Text='<%#Eval("PickUpType") %>'></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litIsPrint" CssClass="litIsPrint" ClientIDMode="Static" runat="server" Text='<%#Eval("IsPrint") %>'></asp:Label>
                        <br />
                        <%#Eval("Provice") %>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litPick" ClientIDMode="Static" runat="server" Text='<%#Eval("PickPerson") %>'></asp:Label>
                    </td>
                    <td class="tbpost">
                        <asp:Label ID="litRelease" ClientIDMode="Static" runat="server" Text='<%#Eval("ReleasePerson") %>'></asp:Label>
                    </td>
                    <td class="tbpost">
                        <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("ID") %>' CommandName="detail" Text="配送详情"></asp:LinkButton>
                        <asp:LinkButton ID="lbnPickUp" runat="server" CommandArgument='<%#Eval("ID") %>' CommandName="pickup" Text="等待拣货"></asp:LinkButton>
                    </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>