<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CollectTransportBox.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.Package.CollectTransportBox" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <yee:MessageBox ID="msg" runat="server">
        </yee:MessageBox>
        
        <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound">
            <HeaderTemplate>
                <table cellpadding="0" class="table" cellspacing="0" border="0">
                    <tr>
                        <td class="tbheader" align="center" width="100px">
                            <%=GetText("序号") %>
                        </td>
                        <td class="tbheader" align="center" width="200px">
                            <%=GetText("转运包裹号") %>
                        </td>
                        <td class="tbheader" align="center" width="100px">
                            <%=GetText("运输方式") %>
                        </td>
                        <td class="tbheader" align="center" width="100px">
                            <%=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="300px">
                            <%=GetText("地址") %>
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="tbrow">
                    <td class="tbpost">
                        <asp:Literal ID="litSort" runat="server" ></asp:Literal>
                        <asp:HiddenField ID="hfUniqueId" runat="server"  Value='<%#Eval("UniqueId") %>'/>
                         <asp:Literal ID="litModifiedOn" runat="server" Text='<%#Yee.Utilities.Helpers.DisplayHelper.RetainMiliseconds(Eval("ModifiedOn"))%>'
                            Visible="false"></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ExpressNo")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litFreightType" runat="server" ></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCompayName" runat="server" ></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%#Eval("CustomerCode") %>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ReceiverName")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litAddress" runat="server" ></asp:Literal>
                    </td>
                     
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="tbrowalter">
                    <td class="tbpost">
                        <asp:Literal ID="litSort" runat="server" ></asp:Literal>
                        <asp:HiddenField ID="hfUniqueId" runat="server"  Value='<%#Eval("UniqueId") %>'/>
                         <asp:Literal ID="litModifiedOn" runat="server" Text='<%#Yee.Utilities.Helpers.DisplayHelper.RetainMiliseconds(Eval("ModifiedOn"))%>'
                            Visible="false"></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ExpressNo")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litFreightType" runat="server" ></asp:Literal>
                    </td>
                     <td class="tbpost">
                        <asp:Literal ID="litCompayName" runat="server" ></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%#Eval("CustomerCode") %>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ReceiverName")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litAddress" runat="server" ></asp:Literal>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                 </table>
            </FooterTemplate>
        </asp:Repeater>
        <asp:HiddenField ID="hfPackageUniqueId" runat="server" />
        <asp:HiddenField ID="hfBoxType" runat="server" />
        <asp:HiddenField ID="hfIsBrand" runat="server" />
        <div>
            <table cellpadding="0" class="table" cellspacing="0" >
                <tr>
                   
                    <td class="tbpostheader">
                        <%=GetText("尺寸") %>：
                    </td>
                        
                    <td class="tbpost" style="text-align:left">
                        <%=GetText("长") %><asp:TextBox ID="txtLong" runat="server" CssClass="input-small"></asp:TextBox>
                        <%=GetText("宽") %><asp:TextBox ID="txtWidth" runat="server" CssClass="input-small"></asp:TextBox>
                        <%=GetText("高") %><asp:TextBox ID="txtHeight" runat="server" CssClass="input-small"></asp:TextBox>

                    </td>
                </tr>
                <tr> 
                    <td class="tbpostheader">
                        <%=GetText("重量") %>：
                    </td>
                    <td class="tbpost" style="text-align:left">
                        <asp:TextBox ID="txtWeight" runat="server" ></asp:TextBox>
                    </td>

                </tr>
                
                <tr>
                   
                    <td class="tbpostheader">
                        <%=GetText("国际运费报价") %>：
                    </td>
                        
                    <td class="tbpost" style="text-align:left">
                        <asp:TextBox ID="txtCN2THFreightAmount" runat="server"></asp:TextBox> <asp:LinkButton ID="lbnCN2THFreight" runat="server" Text="获取国际运费" OnClick="lbnCN2THFreight_Click"></asp:LinkButton>
                    </td>
                 </tr>
                 <tr>
                    <td class="tbpostheader">
                        <%=GetText("海外运费报价") %>：
                    </td>
                    <td class="tbpost" style="text-align:left">
                        <asp:TextBox ID="txtTH2THFreightAmount" runat="server" ></asp:TextBox>
                    </td>

                </tr>
                
                <tr>
                    <td class="tbfooter" colspan="5">
                        <asp:Button ID="btnSave" runat="server"  OnClientClick='return confirm("确认二次集包？？？")'
                            CssClass="button" OnClick="btnSave_Click" />
                    </td>
                </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
