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

<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 class="query" style="margin-top: 15px;" id="queryDiv" runat="server">
        <table cellpadding="0" cellspacing="0" border="0" class="table">
            <tr>
                <td class="tbpostheader">
                    <%=GetText("签收库区") %>
                </td>
                <td class="tbpost">
                    <asp:DropDownList runat="server" ID="ddlStorageId" OnSelectedIndexChanged="ddlStorageId_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="tbpostheader">
                    <%=GetText("是否共享")%>:
                </td>
                <td class="tbpost">
                     <asp:RadioButtonList ID="rblIsShare" runat="server"  RepeatDirection="Horizontal">
                         <asp:ListItem Value="0" Text="否" Selected="True"></asp:ListItem>
                         <asp:ListItem Value="1" Text="是"></asp:ListItem>
                     </asp:RadioButtonList>
                </td>
            </tr>

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

         <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound" OnItemCommand="rptList_ItemCommand" >
             <HeaderTemplate>
                 <table cellpadding="0" cellspacing="0" class="table" id="table" style="margin-top: 0px;margin-bottom: 0px;">
                     <tr>
                         <td class="tbheader">
                             <%=GetText("业务单号") %>
                         </td>
                         <td class="tbheader">
                             <%=GetText("操作") %>
                         </td>
                     </tr>
             </HeaderTemplate>
             <ItemTemplate>
                 <tr class="tbrow">
                     <td class="tbpost">
                         <%#Eval("BusinessOrderNo") %>
                     </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("BusinessOrderNo") %>
                     </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" />
    </div>

</asp:Content>