<%@ Page Title="" Language="C#" MasterPageFile="~/SignBox/Site1.Master" AutoEventWireup="true" CodeBehind="CheckTransferAbroadBox.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.SignBox.CheckTransferAbroadBox" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        箱子调拨确认
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>
    <yee:PageTitle ID="title" runat="server" Title="箱子调拨确认">
    </yee:PageTitle>
     
    <div class="fixDiv"></div>
    <table id="tb" cellpadding="0" cellspacing="0" border="0" class="table">
        <tr>
            <td class="tbpostheader" style="width: 30%">
                <%=GetText("箱子号") %>：
            </td>
            <td class="tbpost">
                <asp:TextBox ID="txtBoxSerialNo" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr class="tbpostheader">
            <td class="tbpostheader">
                <%=GetText("当前所在仓库") %>：
            </td>
            <td class="tbpost">
                <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储" >
                </yee:UserWarehousesDropDownList>
            </td>
        </tr> 
        <tr>
            <td class="tbfooter"></td>
            <td class="tbfooter">
                <yee:Button ID="btnCheck" CssClass="button" runat="server" OnClick="btnCheck_Click" Text="确认扫描" />
            </td>
        </tr>
    </table>
    <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" border="0" class="table">
                <tr>
                   　
                    <td rowspan="2" class="tbheader center">
                        <%#GetText("国际订单号") %> 
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("外箱条码") %>
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("签收时间") %>
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("客户代号") %>
                    </td>
                    <td colspan="2" class="tbheader">
                        <%#GetText("重量") %>（KG）
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("长") %>(cm)
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("宽") %>(cm)
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("高") %>(cm)
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("海外体积") %>
                    </td>
                    <td rowspan="2" class="tbheader">
                        <%#GetText("类型") %>
                    </td> 
                    <td rowspan="2" class="tbheader">
                        <%#GetText("备注") %>
                    </td>
                </tr>
                <tr>
                    <td class="tbheader" style="width: 50px;"><%#GetText("原重量") %></td>
                    <td class="tbheader" style="width: 50px;"><%#GetText("现重量") %></td>

                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
               　
                <td class="tbpost center">
                    <asp:Literal ID="litCTWNo" Text='<%#Eval("CTWOrderNo") %>' runat="server"></asp:Literal>
                    <asp:HiddenField ID="hfWarehouseId" runat="server" Value='<%#Eval("WarehouseId") %>' />
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litBoxSerialNo" Text='<%#Eval("Serail") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litSendOn" Text='<%#Eval("ReceivedOn") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litCustomerCode" Text='<%#Eval("CustomerCode") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litWeight" Text='<%#Eval("Weight") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtWeight" runat="server" Text='<%#Eval("Weight") %>' CssClass="input-small"></asp:TextBox>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litLength" Text='<%#Eval("BoxLong") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litWidth" Text='<%#Eval("BoxWidth") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litHeight" Text='<%#Eval("BoxHeight") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtAbroadVolume" runat="server" Text='<%#Eval("AbroadVolume","{0:F3}") %>'></asp:TextBox>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litType" Text='<%#Eval("CalculateBoxType") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtRemark" runat="server" Text='<%#Eval("Remark") %>' TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
               　
                <td class="tbpost center">
                    <asp:Literal ID="litCTWNo" Text='<%#Eval("CTWOrderNo") %>' runat="server"></asp:Literal>
                    <asp:HiddenField ID="hfWarehouseId" runat="server" Value='<%#Eval("WarehouseId") %>' />
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litBoxSerialNo" Text='<%#Eval("Serail") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litSendOn" Text='<%#Eval("ReceivedOn") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litCustomerCode" Text='<%#Eval("CustomerCode") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litWeight" Text='<%#Eval("Weight") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtWeight" runat="server" Text='<%#Eval("Weight") %>' CssClass="input-small"></asp:TextBox>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litLength" Text='<%#Eval("BoxLong") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litWidth" Text='<%#Eval("BoxWidth") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litHeight" Text='<%#Eval("BoxHeight") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtAbroadVolume" runat="server" Text='<%#Eval("AbroadVolume","{0:F3}") %>'></asp:TextBox>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litType" Text='<%#Eval("CalculateBoxType") %>' runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtRemark" runat="server" Text='<%#Eval("Remark") %>' TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
     <table cellpadding="0" cellspacing="0" class="table" border="0" id="dis_table" runat="server">
        <tr>
               <td class="tbpostheader">
                    <%=GetText("目标仓储") %>：
                </td>
                <td class="tbpost">
                    <yee:UserWarehousesDropDownList ID="ddlTargetWare" runat="server" WarehouseType="海外分仓"  >
                    </yee:UserWarehousesDropDownList>
                </td>
          </tr> 
        <tr>
            <td class="tbpostheader">
                <%=GetText("备注") %>
            </td>
            <td class="tbpost" colspan="3">
                <asp:TextBox runat="server" ID="txtRemark" MaxLength="255" TextMode="MultiLine">
                </asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbfooter">
            </td>
            <td class="tbfooter" colspan="3">
                <yee:Button ID="btnSave" runat="server" CssClass="button"  OnClick="btnSave_Click" Text="保存"/>
            </td>
           
        </tr>
    </table>
</asp:Content>
