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

<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="InventoryEdit.aspx">发起盘点</a>
        </ShortCuts>
    </yee:PageTitle>

    <yee:MessageBox ID="msg" runat="server"></yee:MessageBox>
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td class="queryLeft">
                    <%=GetText("盘点日期") %>：
                </td>
                <td class="queryRigth">
                    <yee:DatePicker ID="dpFrom" runat="server" CssClass="input-small" IsRequired="false" />
                    -
                    <yee:DatePicker ID="dpTo" runat="server" CssClass="input-small" IsRequired="false" />
                </td>
                <td class="queryLeft">
                    <%=GetText("流水号") %>：
                </td>
                <td class="queryRigth">
                    <asp:TextBox ID="txtSerialNo" runat="server"></asp:TextBox>
                </td>

                <td class="queryLeft">
                    <%=GetText("仓储中心") %>：
                </td>
                <td class="queryRigth">
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="海外仓储">
                    </yee:UserWarehousesDropDownList>
                </td>
                <td class="queryLeft">
                    <yee:Button ID="btnQuery" runat="server" CssClass="button" OnClick="btnQuery_Click" Text="搜索" />
                </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">
                        <%=GetText("流水") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("盘点人") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("盘点时间") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("操作") %>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow" runat="server">
                <td class="tbpost">
                    <%# Eval("SerialNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("OperationTime")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%# Eval("RecordId")%>' CommandName="detail" Text="盘点明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnChaE" runat="server" CommandArgument='<%# Eval("RecordId")%>' CommandName="chae" Text="差额表"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter" runat="server">
                <td class="tbpost">
                    <%# Eval("SerialNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("OperationTime")%>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandArgument='<%# Eval("RecordId")%>' CommandName="detail" Text="盘点明细"></asp:LinkButton>
                    <asp:LinkButton ID="lbnChaE" runat="server" CommandArgument='<%# Eval("RecordId")%>' CommandName="chae" Text="差额表"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <yee:Pager ID="Pager1" runat="server" PageSize="50" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed"
        PageIndex="0" />
</asp:Content>