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

<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>
         <div style="clear: both; float: right">
                <div id="display" runat="server">
                    <a href="javascript:prn1_preview()"><%=GetText("打印预览") %></a> <a href="javascript:prn1_print()"><%=GetText("直接打印") %></a>
                    <a href="javascript:prn1_printA()"><%=GetText("选择打印机") %></a>
                </div>
            </div>
         </div>--%>
    <yee:PageTitle ID="pgTitle" runat="server"></yee:PageTitle>

    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <%=GetText("重量") %>
                </td>
                <td>
                    <asp:TextBox ID="txtWeightStart" Width="80px" ClientIDMode="Static" runat="server"></asp:TextBox>
                    -
                    <asp:TextBox ID="txtWeightEnd" Width="80px" ClientIDMode="Static" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("体积") %>
                </td>
                <td>
                    <asp:TextBox ID="txtVolumeStart" Width="80px" ClientIDMode="Static" runat="server"></asp:TextBox>
                    -
                    <asp:TextBox ID="txtVolumeEnd" Width="80px" ClientIDMode="Static" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("仓储中心") %>
                </td>
                <td>
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储"></yee:UserWarehousesDropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetText("订购单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtOrderNo" runat="server" ClientIDMode="Static"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("收货日期") %>
                </td>
                <td>
                    <yee:DatePicker ID="dpFrom" runat="server" IsRequired="false" />
                    -
                    <yee:DatePicker ID="dpTo" runat="server" IsRequired="false" />
                </td>
                <td>
                    <%=GetText("运输方式") %>
                </td>
                <td colspan="3">
                    <asp:RadioButtonList ID="rblFreightType" runat="server" RepeatDirection="Horizontal"></asp:RadioButtonList>
                </td>
                <td>
                    <asp:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div id="div_2">
        <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound">
            <HeaderTemplate>
                <table cellpadding="0" cellspacing="0" border="0" class="table" id="r ">
                    <tr>
                        <td class="tbheader" width="30px" rowspan="2">
                            <input type="checkbox" id="checkboxAll" class="checkboxAll" onclick="check_all_not()" />
                        </td>
                        <td class="tbheader" width="100px" rowspan="2">
                            <%=GetText("订单编号") %>
                        </td>

                        <td class="tbheader" width="100px" rowspan="2">
                            <%=GetText("创建日期") %>
                        </td>
                        <td class="tbheader" width="100px" rowspan="2">
                            <%=GetText("签收日期") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("重量")%>(KG)
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("体积") %>(m³)
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("集包数") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("货值") %>
                        </td>
                        <td class="tbheader" colspan="3">
                            <%=GetText("国际运费") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("币种") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("费用录入时间") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("费用录入人") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("操作") %>
                        </td>
                    </tr>
                    <tr>
                        <td class="tbheader">
                            <%=GetText("报价给客户") %>
                        </td>
                        <td class="tbheader">
                            <%=GetText("已收取客户") %>
                        </td>
                        <td class="tbheader">
                            <%=GetText("支付物流公司") %>
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="tbrow" style="text-align: center">
                    <td class="tbpost">
                        <input type="checkbox" id="cbItem" runat="server" class="check" value='<%#Eval("UniqueId")%>' />
                    </td>
                    <td class="tbpost">
                        <%# Eval("OrderNo")%>
                    </td>
                    <td class="tbpost" width="100px">
                        <%# Eval("CreatedOn","{0:d}")%>
                    </td>
                    <td class="tbpost" width="100px">
                        <asp:Literal ID="litSignInOn" runat="server"></asp:Literal>
                    </td>

                    <td class="tbpost">
                        <%# Eval("TotalWeight")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("TotalVoume")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCollectCount" runat="server"></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%# Eval("GoodAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ShouldIncomeCN2THFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CN2THFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CTWActualFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CurrencyCode")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ActualFreightOn")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ActualFreightByName")%>
                    </td>
                    <td class="tbpost">
                        <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="detail"></asp:LinkButton>
                        <asp:LinkButton ID="lbnSet" runat="server" CommandArgument='<%#Eval("UniqueId")%>'
                            CommandName="set"></asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="tbrowalter">
                    <td class="tbpost">
                        <input type="checkbox" id="cbItem" runat="server" class="check" value='<%#Eval("UniqueId")%>' />
                    </td>
                    <td class="tbpost">
                        <%# Eval("OrderNo")%>
                    </td>
                    <td class="tbpost" width="100px">
                        <%# Eval("CreatedOn","{0:d}")%>
                    </td>
                    <td class="tbpost" width="100px">
                        <asp:Literal ID="litSignInOn" runat="server"></asp:Literal>
                    </td>

                    <td class="tbpost">
                        <%# Eval("TotalWeight")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("TotalVoume")%>
                    </td>
                    <td class="tbpost">
                        <asp:Literal ID="litCollectCount" runat="server"></asp:Literal>
                    </td>
                    <td class="tbpost">
                        <%# Eval("GoodAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ShouldIncomeCN2THFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CN2THFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CTWActualFreightAmount")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("CurrencyCode")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ActualFreightOn")%>
                    </td>
                    <td class="tbpost">
                        <%# Eval("ActualFreightByName")%>
                    </td>
                    <td class="tbpost">
                        <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="detail"></asp:LinkButton>
                        <asp:LinkButton ID="lbnSet" runat="server" CommandArgument='<%#Eval("UniqueId")%>'
                            CommandName="set"></asp:LinkButton>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>

    <yee:Pager ID="Pager1" runat="server" PageSize="20" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed"
        PageIndex="0" />
</asp:Content>