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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Scripts/jquery-3.3.1.min.js"></script>
    <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/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>   

    <object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0"
        height="0">
        <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" pluginspage="../lodop/install_lodop.exe"></embed>
    </object>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="ptTitle" runat="server">
        <ShortCuts>
            <a href="TransferLoadCarList.aspx" title="返回中转列表">返回中转列表</a>
        </ShortCuts>
    </yee:PageTitle>
    <div>
     
    </div>
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>

    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0" class="table">
            <tr>
                <td class="tbpostheader">
                    <%=GetText("业务单号") %>
                </td>
                <td class="tbpost">
                    <asp:TextBox ID="txtOrderNo" runat="server" Font-Size="XX-Large"></asp:TextBox>
                    <asp:Button ID="btnSign" runat="server" CssClass="button" OnClick="btnSign_Click" Text="扫描" />
                </td>
            </tr>
        </table>
    </div>

    <div>
        <asp:Button ID="AutoCreate" runat="server" CssClass="button" OnClick="btnAutoCreate_Click" />
    </div>

    <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound" OnItemCommand="rptList_ItemCommand">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" class="table" id="table">
                <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>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost">
                     <%#Eval("SignWarehouse")%>
                </td>
                <td class="tbpost">
                    <%#Eval("BusinessEnumText") %>
                </td>
                <td class="tbpost">
                    <%#Eval("BusinessOrderNo") %>
                </td>
                <td class="tbpost">
                    <%#Eval("CarTypeName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("TargetWarehouse")%>
                </td>
                <td class="tbpost">
                    <%#Eval("CreatedByName") %></br> <%#Eval("CreatedOn") %>
                </td>
                <td class="tbpost">
                    <%#Eval("IsShareName")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnRemove" runat="server" OnClientClick = "return confirm('确定删除吗？')" CommandArgument='<%#Eval("UniqueId") %>' CommandName="remove" Text="移除"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrow">
                <td class="tbpost">
                     <%#Eval("SignWarehouse")%>
                </td>
                <td class="tbpost">
                    <%#Eval("BusinessEnumText") %>
                </td>
                <td class="tbpost">
                    <%#Eval("BusinessOrderNo") %>
                </td>
                <td class="tbpost">
                    <%#Eval("CarTypeName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("TargetWarehouse")%>
                </td>
                <td class="tbpost">
                    <%#Eval("CreatedByName") %></br> <%#Eval("CreatedOn") %>
                </td>
                <td class="tbpost">
                    <%#Eval("IsShareName")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnRemove" runat="server" OnClientClick = "return confirm('确定删除吗？')" CommandArgument='<%#Eval("UniqueId") %>' CommandName="remove" Text="移除"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <yee:Pager ID="Pager1" runat="server" PageSize="20" OnPageIndex_Changed="Pager1_PageIndex_Changed" />


</asp:Content>