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


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        <%=GetText("集包详情") %>
    </title>
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>
    <div class="subheader">
        <div class="title">
            <%=GetText("集包详情") %>
        </div>
       
        <div style="clear: both"></div>
    </div>
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">

            <tr>
                <td>
                    <%=GetText("外箱条码") %>
                </td>
                <td>
                    <asp:TextBox ID="txtBoxSerialNo" runat="server"></asp:TextBox>
                    <asp:Button ID="btnConfrim" runat="server" CssClass="button"
                        OnClick="btnConfrim_Click"
                        Text="扫描箱子号" />
                </td>

                 <td>
                    <%=GetText("是否确认") %>
                </td>
                <td>
                    <asp:RadioButtonList ID="rblConfirm" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rblConfirm_SelectedIndexChanged" RepeatDirection="Horizontal">
                        <asp:ListItem Text="全部" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="未确认" Value="1" ></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                     <td>
                    <%=GetText("集包流水号") %>
                     <asp:TextBox ID="txtCollectSerial" runat="server"></asp:TextBox>
                <asp:Button ID="btnToggle" runat="server" CssClass="button"
                        OnClick="btnToggle_Click"
                        Text="切换集包流水号" />
                </td>
            </tr>
        </table>
    </div>

    <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound" OnItemCommand="rptList_ItemCommand">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" border="0" class="table">
                <tr>
                    <td class="tbheader" width="20px">序号</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("打木箱费用") %>(RMB)
                    </td>
                    <td class="tbheader">
                        <%=GetText("是否确认") %>
                    </td>
                     <td class="tbheader">
                        <%=GetText("操作") %>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost" width="80px">
                    <asp:Literal ID="litNo" runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <%# Eval("SerailNo")%><span title='<asp:Literal ID="litCustomerName" runat="server"></asp:Literal>'><asp:Literal
                        ID="litCode" runat="server"></asp:Literal></span>
                </td>
                <td class="tbpost">
                    <%#Eval("TargetWarehouseName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("CTWOrderNo")%>-
                    <asp:Literal ID="litOldCollectSerialNo" runat="server" Text=' <%#Eval("CollectSerialNo")%>'></asp:Literal>
                </td>
                <td class="tbpost">
                    <%#Eval("InStockStatus") %>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("Weight")%>
                </td>
                <td class="tbpost">
                    <%# Eval("Size")%>
                </td>
                <td class="tbpost">
                    <%# Eval("TotalQuantity")%>
                </td>
                <td class="tbpost">
                    <%# Eval("BoxCost")%>
                </td>
                <td class="tbpost">
                 
                    <asp:Literal ID="litIsConfirm" runat="server" Text='  <%# Eval("IsConfirm") %>'></asp:Literal>
                </td>
                 <td class="tbpost">
                     <asp:LinkButton ID="lbnRemove" runat="server" CommandArgument=' <%# Eval("SerailNo")%>' CommandName="remove" Text="取消确认"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost">
                    <asp:Literal ID="litNo" runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <%# Eval("SerailNo")%><span title='<asp:Literal ID="litCustomerName" runat="server"></asp:Literal>'><asp:Literal
                        ID="litCode" runat="server"></asp:Literal></span>
                </td>
                <td class="tbpost">
                    <%#Eval("TargetWarehouseName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("CTWOrderNo")%>-<asp:Literal ID="litOldCollectSerialNo" runat="server" Text=' <%#Eval("CollectSerialNo")%>'></asp:Literal>
                </td>
                <td class="tbpost">
                    <%#Eval("InStockStatus") %>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("Weight")%>
                </td>
                <td class="tbpost">
                    <%# Eval("Size")%>
                </td>
                <td class="tbpost">
                    <%# Eval("TotalQuantity")%>
                </td>
                <td class="tbpost">
                    <%# Eval("BoxCost")%>
                </td>
                <td class="tbpost">
                     <asp:Literal ID="litIsConfirm" runat="server" Text='  <%# Eval("IsConfirm") %>'></asp:Literal>
                </td>
                 <td class="tbpost">
                     <asp:LinkButton ID="lbnRemove" runat="server" CommandArgument=' <%# Eval("SerailNo")%>' CommandName="remove" Text="取消确认"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>


</asp:Content>