<%@ Page Title="" Language="C#" MasterPageFile="~/Package/package.Master" AutoEventWireup="true" CodeBehind="EndParcelDetail.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.Packages.EndParcelDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%=GetText("直发包裹详情") %> </title>
    <script src="../Scripts/jquery.autocomplete.js"></script>
    <link href="../Styles/jquery.autocomplete.css" rel="stylesheet" />
    <link href="../Styles/autocomplete.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="title" runat="server">
        <ShortCuts>
            <a type="text/asp" href="EndParcelList.aspx"><%=GetText("返回") %></a>
        </ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server"></yee:MessageBox>
    <asp:HiddenField ID="hfId" runat="server" ClientIDMode="Static" />
    <table cellpadding="0" cellspacing="0" border="0" class="table">
        <tr>
            <td class="tbpostheader"><%=GetText("站点") %>：</td>
            <td class="tbpost">
                <asp:TextBox ID="txtSite" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("包裹来源") %>：</td>
            <td class="tbpost">
                <asp:TextBox ID="txtParcelType" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("寄货仓") %>：</td>
            <td class="tbpost">
                <asp:TextBox ID="txtFromWarehouse" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("大包号") %>：</td>
            <td class="tbpost" >
               <asp:TextBox ID="txtBigBagID" runat="server" ></asp:TextBox>
            </td>
        </tr>       
        <tr>
            <td class="tbpostheader"><%=GetText("状态") %>：
            </td>
            <td class="tbpost">
                <asp:TextBox ID="txtParcelStatus" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td class="tbpostheader"><%=GetText("尺寸") %>（<asp:Label ID="lbBigBagDimensionUnit" runat="server" />）</td>
            <td class="tbpost">
                <%=GetText("大包长") %>：<asp:TextBox ID="txtBigBagLength" runat="server"></asp:TextBox>
                <%=GetText("大包宽") %>：<asp:TextBox ID="txtBigBagWidth" runat="server"></asp:TextBox>
                <%=GetText("大包高") %>：<asp:TextBox ID="txtBigBagHeight" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("大包重量") %>（<asp:Label ID="lbBigBagWeightUnit" runat="server" />）</td>
            <td class="tbpost">
                <asp:TextBox ID="txtBigBagWeight" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("创建时间") %>
            </td>
            <td class="tbpost">
                <yee:DateTimePicker ID="dtCreatedOn" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="tbfooter" width="100px"></td>
            <td class="tbfooter">
                <asp:Button ID="btSubmit" runat="server" CssClass="button" Text= "" OnClick="btnSubmit_Click" />
            </td>
        </tr>
        <tr>
            <td class="tbpostheader"><%=GetText("小包列表") %>：</td>
            <td>
                <asp:Repeater ID="rptDetails" runat="server" OnItemCommand="rptDetails_ItemCommand">
                    <HeaderTemplate>
                    <table class="table" border="0" id="table">
                        <thead>
                            <tr>
                                <th class="tbheader">序号</th>
                                <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>
                                <!--<td class="tbheader" rowspan="2" colspan="2"><%=GetText("操作")%></td> -->
                            </tr>
                        </thead>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="tbrow" >
                            <td class="tbpost" style="text-align:center"><%# Container.ItemIndex + 1 %></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("LogisticsOrderCode")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("ParentOrder")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("TrackingNumber")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Weight")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("WeightUnit")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Price")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Length")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Width")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Height")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("DimensionUnit")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Volume")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("VolumeUnit")%></td>
                            <td class="tbpost" style="text-align:center"><%#Eval("Size")%></td>
                            <!--<td class="tbpost">
                               <asp:LinkButton ID="lbnRemove" CommandName="Remove" CommandArgument='<%#Eval("Id")%>' Text="移除" runat="server"></asp:LinkButton>
                            </td>-->
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                     </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
    </table>

</asp:Content>