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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>中转装车列表
    </title>
    <link href="../Scripts/bootstrap_3.3.7_css_bootstrap.min[1].css" rel="stylesheet" />
    <link href="../Scripts/bootstrap-select.min.css" rel="stylesheet" />

    <script src="../Scripts/jquery-3.3.1.min.js"></script>
    <script src="../Scripts/bootstrap_3.3.7_js_bootstrap.min.js"></script>
    <script src="../Scripts/bootstrap-select.min.js"></script>
    <script language="javascript" src="../lodop/LodopFuncs.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="ptTitle" runat="server">
        <ShortCuts>
            <a href="SDP_GetAbroadTransferLoadCarInfoReport.aspx" title="待装车统计">待装车统计</a>
            <a href="AbroadTransferCarFeePay.aspx" title="待付款费用列表">待付款费用列表</a>
            <a href="AbroadTransferLoadCar.aspx" title="扫描装车">扫描装车</a>
            <a href="TransferScanReturn.aspx" title="中转返仓扫描">中转返仓扫描</a>
        </ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>

    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
               <!-- <td>
                    <%=GetText("仓储中心") %>
                </td>
                <td>
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储" data-live-search="true" CssClass="selectpicker">
                    </yee:UserWarehousesDropDownList>
                </td> -->
                <td>
                    <%=GetText("中转单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtOrderNo" runat="server" ></asp:TextBox>
                </td>
                <td class="queryLeft"><%=GetText("站点") %>：
                </td>
                <td class="queryRigth">
                    <yee:UserFrontWebsitesDropDownList ID="ddlWebsiteId"  OnSelectedIndexChanged="ddlWebsiteId_SelectedIndexChanged"  AutoPostBack="true" runat="server" IsFirstSelected ="false">
                    </yee:UserFrontWebsitesDropDownList>
                </td>
                 
                <td>
                    <%=GetText("线路") %>
                </td>
                <td>
                    <asp:DropDownList ID="ddlRoute" runat="server" data-live-search="true" CssClass="selectpicker"></asp:DropDownList>
                </td> 
                <td  colspan="2">
                    <yee:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                </td>
            </tr>
            <tr>
                <!--<td>
                    <%=GetText("目标仓") %>
                </td>
                <td>
                    <asp:DropDownList ID="ddlTargetWare" runat="server" data-live-search="true" CssClass="selectpicker"></asp:DropDownList>
                </td> -->
                <td>
                    <%=GetText("装车流水号/车牌号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtCollectSerialNo" runat="server" ></asp:TextBox>
                </td> 
                <td>
                    <%=GetText("装车日期") %>
                </td>
                <td >
                    <yee:DatePicker ID="dtFrom" runat="server" IsRequired="true" />
                    -<yee:DatePicker ID="dtTo" runat="server" IsRequired="false" />
                </td>
            </tr>
        </table>
    </div>

    <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound">
        <HeaderTemplate>
            <table cellpadding="0" class="table" cellspacing="0" border="0" id="table2" style="text-align: center;">
                <tr>
                    <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>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost">
                    <%#Eval("TypeName") %>
                </td>
                <td class="tbpost">
                   <%# Eval("RouteName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("SerialNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("StatuName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CarNumber")%>
                </td>
                <td class="tbpost">
                    <%# Eval("DeliveryOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="detail" Text="装车详情"></asp:LinkButton>
                    <asp:LinkButton ID="lbnFeeitem" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="feeitem" Text="费用明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnReport" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="report" Text="报表明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnSyncTrace" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="SyncTrace" Text="同步GPS轨迹"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost">
                    <%#Eval("TypeName") %>
                </td>
                <td class="tbpost">
                   <%# Eval("RouteName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("SerialNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("StatuName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CarNumber")%>
                </td>
                <td class="tbpost">
                    <%# Eval("DeliveryOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="detail" Text="装车详情"></asp:LinkButton>
                    <asp:LinkButton ID="lbnFeeitem" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="feeitem" Text="费用明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnReport" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="report" Text="报表明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnSyncTrace" runat="server" CommandArgument='<%#Eval("UniqueId")%>' CommandName="SyncTrace" Text="同步GPS轨迹"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>

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