<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_ShopSaleOrderView, WebApp_deploy" title="销售统计" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="adminheading">
        <tr>
            <th valign="middle" class="menus" align="left" style="height: 15px">
                销售管理
            </th>
            <td align="right" style="height: 15px">
                <div style="width: 400px">
                    <a href="Admin_ShopSaleView.aspx">销售明细</a>&nbsp;|&nbsp; <a href="Admin_ShopSaleOrderView.aspx">
                        销售统计</a>&nbsp;|&nbsp; <a href="Admin_ShopBankrollItemView.aspx">资金明细</a>&nbsp;<br />
                </div>
            </td>
            <td class="rtdw" style="height: 15px">
            </td>
        </tr>
    </table>
    <table class="nick">
        <tr>
            <td class="ltd">
                卖家名称：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged" />
            </td>
            <td class="ltd">
                卖家列表：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" AppendDataBoundItems="True">
                    <asp:ListItem Value="0">所有</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="ltd">
                时间段：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:DropDownList ID="DropMoment" runat="server">
                    <asp:ListItem Selected="True" Value="0">所有</asp:ListItem>
                    <asp:ListItem Value="7">本周</asp:ListItem>
                    <asp:ListItem Value="10">十天</asp:ListItem>
                    <asp:ListItem Value="30">本月</asp:ListItem>
                    <asp:ListItem Value="365">本年</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="ltd">
                商品名称：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:TextBox ID="TxtProductName" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                起始日期：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:TextBox ID="TxtBeginDate" runat="server" ToolTip="UniqueID" EnableViewState="true" />
            </td>
            <td class="ltd">
                结束日期：
            </td>
            <td class="rtd" style="width: 35%;">
                <asp:TextBox ID="TxtEndDate" runat="server" EnableViewState="true" />
            </td>
        </tr>
        <tr>
            <td class="btm" colspan="4">
                <asp:Button ID="Button1" runat="server" Text="提 交" OnClick="Button1_Click" />
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" CssClass="adminlist" runat="server" AutoGenerateColumns="False"
        OnRowDataBound="GridView1_RowDataBound" OnDataBound="GridView1_DataBound" RowStyle-HorizontalAlign="Center"
        AllowPaging="True" PageSize="6" OnPageIndexChanging="GridView1_PageIndexChanging">
        <Columns>
            <asp:BoundField HeaderText="名次" DataField="row">
                <ItemStyle Width="5%" />
            </asp:BoundField>
            <asp:HyperLinkField DataNavigateUrlFields="ProductID" DataNavigateUrlFormatString="../ShowProduct.aspx?ProductID={0}"
                DataTextField="ProductName" HeaderText="名称" Target="_blank" />
            <asp:BoundField HeaderText="销量" DataField="TotalNum" />
            <asp:BoundField HeaderText="金额" DataField="Total" />
        </Columns>
        <EmptyDataTemplate>
            <tr>
                <th>
                    名次
                </th>
                <th>
                    商品名称
                </th>
                <th>
                    销售数量
                </th>
                <th>
                    销售金额
                </th>
            </tr>
            <tr>
                <td colspan="5">
                    暂无信息！
                </td>
            </tr>
        </EmptyDataTemplate>
        <RowStyle HorizontalAlign="Center" />
    </asp:GridView>
    <br>
</asp:Content>
