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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</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" class="table">
            <tr>
                <td class="tbpostheader">
                    <%=GetText("配送流水号") %>：
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litSerialNo" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader">
                    <%=GetText("客户代号") %>：
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litCustomerCode" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader">
                    <%=GetText("收货人") %>：
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litReceiveName" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader">
                    <%=GetText("联系电话") %>：
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litMobile" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader">
                    <%=GetText("收货人地址") %>：
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litAddress" runat="server"></asp:Literal>
                </td>
            </tr>

            <tr>
                <td class="tbpostheader">
                    <%=GetText("箱子流水号") %>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtBoxSerial" runat="server" Font-Size="XX-Large"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader"></td>
                <td class="tbpost">
                    <asp:Button ID="btnPickGood" runat="server" CssClass="button" OnClick="btnPickGood_Click" />
                </td>
            </tr>
        </table>
    </div>

    <asp:Repeater ID="rptBoxList" runat="server" OnItemCommand="rptBoxList_ItemCommand" OnItemDataBound="rptBoxList_ItemDataBound">
        <HeaderTemplate>
            <table cellpadding="0" class="table" cellspacing="0" border="0" id="table2" style="text-align: center;">
                <tr>
                    <td class="tbheader" align="center" width="200px">
                        <%=GetText("流水号") %>
                    </td>
                    <td class="tbheader" align="center" width="200px">
                        <%=GetText("重量") %>
                    </td>
                    <td class="tbheader" align="center" width="200px">
                        <%=GetText("体积") %>
                    </td>
                    <td class="tbheader" align="center" width="200px">
                        <%=GetText("拣货员") %>
                    </td>
                    <td class="tbheader" align="center" width="200px">
                        <%=GetText("操作") %>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost">
                    <%# Eval("BoxSerialNo")%>
                </td>
                <td class="tbpost">
                    <%#Eval("BoxWeight") %>
                </td>
                <td class="tbpost">
                    <%# Eval("BoxVolume")%>
                </td>
                <td class="tbpost">

                    <asp:Label ID="lbPickByName" runat="server" Text='<%# Eval("PickByName")%>'></asp:Label>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("BoxSerialNo") %>' CommandName="delete" Text="删除"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost">
                    <%# Eval("BoxSerialNo")%>
                </td>
                <td class="tbpost">
                    <%#Eval("BoxWeight") %>
                </td>
                <td class="tbpost">
                    <%# Eval("BoxVolume")%>
                </td>
                <td class="tbpost">
                    <asp:Label ID="lbPickByName" runat="server" Text='<%# Eval("PickByName")%>'></asp:Label>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("BoxSerialNo") %>' CommandName="delete" Text="删除"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>