<%@ Page Title="" Language="C#" MasterPageFile="~/StockIn/Site.Master" AutoEventWireup="true" CodeBehind="InventoryEdit.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.StockIn.InventoryEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        仓库盘点
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="title" runat="server"  Title="仓库盘点">
         <ShortCuts>
            <a href="InventoryRecordList.aspx">返回列表</a>
        </ShortCuts>
    </yee:PageTitle>

    <yee:MessageBox ID="msg" runat="server"></yee:MessageBox>

    <div>
        
        <asp:TextBox ID="txtBoxSerialNo" runat="server" ></asp:TextBox> <asp:Button  ID="btnCheck" runat="server" Text="扫描盘点" CssClass="button" OnClick="btnCheck_Click" />
    </div>
   
     <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr> 
                <td>
                    <%=GetText("仓储中心") %>
                </td>
                <td>
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储">
                    </yee:UserWarehousesDropDownList>
                </td>
                <td>
                    分页
                </td>
                 <td>
                     <asp:TextBox ID="txtPage" runat="server" Width="100px"></asp:TextBox>
                 </td>
                  
                 <td colspan="3">
                    <yee:Button ID="btnSearch" runat="server" CssClass="button"  Text="搜索" OnClick="btnSearch_Click"/>
                </td>

            </tr>
        </table>
    </div>
     <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound"> 
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" border="0" class="table" id="table1">
                <tr>
                    <td class="tbheader">

                    </td>
                   <%-- <td class="tbheader" width="25px">
                        <input type="checkbox" id="checkboxAll" onclick="check_all_not()"  disabled="disabled"/>
                    </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>
                    <td class="tbheader">
                        <%=GetText("类型") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("操作") %>
                    </td>
                   
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow" id="tr" runat="server">
                <td class="tbpost">
                    <asp:Literal ID="litSort" runat="server" ></asp:Literal>
                </td>
                <%--<td class="tbpost" >
                    <asp:CheckBox ID="cbItem" CssClass="check" runat="server" />
                    <asp:HiddenField ID="hfBoxId" Value='<%#Eval("BoxId") %>' runat="server" Visible="false" />
                </td>--%>
                <td class="tbpost">
                    <%# Eval("StorageCode")%>
                </td>
                <td class="tbpost">
                      <%# Eval("BoxSerialNo")%>
                </td>
                <td class="tbpost">
                     <%# Eval("CTWOrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("ReceivedOn")%>
                </td>
                 <td class="tbpost">
                    <%# Eval("OrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("AbroadBoxWeight")%>
                </td>
                <td class="tbpost">
                    <%#Eval("AbroadBoxVolume") %>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litPay" runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <%# Eval("caluType")%>
                </td> 
                <td class="tbpost"> 
                    <asp:LinkButton ID="lbnDelete" runat="server"  CommandArgument='<%#Eval("UniqueId") %>' CommandName="delete" Text="删除"></asp:LinkButton> 
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter" id="tr" runat="server">
                  <td class="tbpost">
                    <asp:Literal ID="litSort" runat="server" ></asp:Literal>
                </td>
               <%-- <td class="tbpost" >
                    <asp:CheckBox ID="cbItem" CssClass="check" runat="server" />
                    <asp:HiddenField ID="hfBoxId" Value='<%#Eval("BoxId") %>' runat="server" Visible="false" />
                </td>--%>
                <td class="tbpost">
                    <%# Eval("StorageCode")%>
                </td>
                <td class="tbpost">
                      <%# Eval("BoxSerialNo")%>
                </td>
                <td class="tbpost">
                     <%# Eval("CTWOrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("ReceivedOn")%>
                </td>
                 <td class="tbpost">
                    <%# Eval("OrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("AbroadBoxWeight")%>
                </td>
                <td class="tbpost">
                    <%#Eval("AbroadBoxVolume") %>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litPay" runat="server"></asp:Literal>
                </td>
                <td class="tbpost">
                    <%# Eval("caluType")%>
                </td> 
                <td class="tbpost"> 
                    <asp:LinkButton ID="lbnDelete" runat="server"  CommandArgument='<%#Eval("UniqueId") %>' CommandName="delete" Text="删除"></asp:LinkButton> 
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
        </table>
        </FooterTemplate>
    </asp:Repeater>

    <div>
        备注：<asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" ></asp:TextBox>
        <br /><br /><br />
        <asp:Button ID="btnPiSure" runat="server" Text="生成差额表" CssClass="button" OnClick="btnPiSure_Click" />

        <asp:Button ID="btnPiDelete" runat="server" Text="全部删除" CssClass="button" OnClick="btnPiDelete_Click" />
    </div>

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