<%@ Page Title="" Language="C#" MasterPageFile="~/StockOut/Site1.Master" AutoEventWireup="true" CodeBehind="AbroadCollectBoxesList.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.StockOut.AbroadCollectBoxesList" %>
 
<%@ Register src="AbroadCollectBox.ascx" tagname="AbroadCollectBox" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%--海外箱子列表--%>
    <title><%=GetText("箱子管理") %></title>
    <style type="text/css">
        .sml_input {
            width: 90px;
        }
    </style>
    <script type="text/javascript">
        function closeIframe() {
            $("#iframeBox").dialog("close");
            $("#hfFrom").val("1");

            $("#form1").submit();
        }
    </script>
</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 class="command">
            <a href="BoxEdit.aspx" id="addBox"><%=GetText("添加箱子") %></a>
        </div>
        <div style="clear: both;">
        </div>
    </div>
   <asp:HiddenField ID="hfFrom" runat="server" ClientIDMode="Static" />
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <%=GetText("重量") %>
                </td>
                <td>
                    <asp:TextBox ID="txtWeightStart" CssClass="sml_input" ClientIDMode="Static" runat="server"></asp:TextBox>
                    - <asp:TextBox ID="txtWeightEnd" CssClass="sml_input" ClientIDMode="Static" runat="server"></asp:TextBox>
                </td>
               
                <td>
                    <%=GetText("国际订单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtCTWOrderNo"  CssClass="sml_input" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("状态") %>
                </td>
                <td>
                    <asp:DropDownList ID="ddlInStockStatu" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    <%=GetText("仓储中心") %>
                </td>
                <td>
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="本地仓储">
                    </yee:UserWarehousesDropDownList>
                </td>
                
                <td colspan="3">
                   
                    <asp:RadioButtonList ID="rblOwnerLimit" runat="server" RepeatDirection="Horizontal" >
                        <asp:ListItem Value="2" Text="全部" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="1" Text="有主" ></asp:ListItem>
                        <asp:ListItem Value="0" Text="无主"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                
            </tr>
            <tr>
             <td>
                    <%=GetText("体积") %>
                </td>
                <td>
                    <asp:TextBox ID="txtVolumeStart" CssClass="sml_input" ClientIDMode="Static" runat="server"></asp:TextBox>
                    - <asp:TextBox ID="txtVolumeEnd" CssClass="sml_input" ClientIDMode="Static" runat="server"></asp:TextBox>
                </td>
                
                <td>
                    <%=GetText("箱子流水号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtSerialNo"  CssClass="sml_input" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("快递单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtExpressNo"  CssClass="sml_input" runat="server"></asp:TextBox>
                </td>
                <td>
                    <%=GetText("出库单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtStockOutNo" runat="server"></asp:TextBox>
                </td>
                <td  colspan="2">
                    <asp:CheckBox ID="cbIsCollect" runat="server" />
                </td>
                <td>
                        <yee:DictionaryDropDownList ID="ddlBoxTypes" runat="server" Dictionary="BoxTypes" IsShowAllAtFirst="true" ></yee:DictionaryDropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetText("创建时间") %>
                </td>
                <td>
                    <yee:DatePicker ID="dpFromDate" runat="server"  CssClass="sml_input" IsRequired="false" />
                    - <yee:DatePicker ID="dpToDate" runat="server"  CssClass="sml_input" IsRequired="false" />
                </td>
                <td>
                    <%=GetText("客户代号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtCustomerCode" runat="server"  CssClass="sml_input" ></asp:TextBox>
                </td>
                <td>
                    <%=GetText("运输方式") %>
                </td>
                <td>
                    <yee:DictionaryRadios ID="rblTypeId" runat="server" Dictionary="TransnationalFreightTypes" RepeatDirection="Horizontal" IsShowAllAtFirst="true" IsFirstSelected="true"> </yee:DictionaryRadios>
                </td>
 
                <td>
                    <%=GetText("会员订单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtCustomerOrderNo"   CssClass="sml_input" runat="server"></asp:TextBox>
                </td>

                <td colspan="3">
                    <yee:Button ID="btnSearch" runat="server" CssClass="button"  OnClick="btnSearch_Click" />
                </td>
               
            </tr>
        </table>
    </div>
     <yee:SortIndicator ID="ddlSort" runat="server" 
        onsortconditionschanged="ddlSort_SortConditionsChanged" />
    <uc1:AbroadCollectBox ID="AbroadCollectBox1" runat="server" />
    <table class="table" cellpadding="0" cellspacing="0">
    <tr id="display" runat="server">
  
        <td class="tbpost" width="58%" style="text-align:right">
            
            合计：</td>
        <td class="tbpost" width="100px"><asp:Literal ID="litTotalWeight" runat="server" ></asp:Literal></td>
        <td class="tbpost"><asp:Literal ID="litTotalVolume" runat="server" ></asp:Literal></td>
        <td class="tbpost"><asp:Literal ID="litTotalProduct" runat="server" ></asp:Literal></td>
        <td class="tbpost"><asp:Literal ID="litBoxCost" runat="server" ></asp:Literal></td>
    </tr>
    </table>
    <yee:Pager ID="Pager1" runat="server" PageSize="20" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed"
        PageIndex="0" />
</asp:Content>
