<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_SaleView, WebApp_deploy" title="销售明细" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"/>
  <div class="pageTitle">销售明细管理</div>
  <br />
    <table class="SearchTableStyle">
        <tr>           
            <td class="tdbg5" align="right">
                订单号：</td>
            <td class="tdbg5"><asp:TextBox ID="TxtOrderFormNum" 
             
            runat="server" Height="16px"/></td>
            <td class="tdbg5" align="right">客户名称：</td>
            <td class="tdbg5"><asp:TextBox ID="TxtUserName" runat="server" Height="16px"/></td>
        </tr>       
        <tr>
           
            <td class="tdbg5" align="right">起始日期：</td>
            <td class="tdbg5"><asp:TextBox ID="TxtBeginDate" runat="server" Height="16px"/></td>
            <td class="tdbg5" align="right">结束日期：</td>
            <td class="tdbg5"><asp:TextBox ID="TxtEndDate" runat="server" Height="16px"/></td>
        </tr>
        <tr>
            <td class="tdbg5" colspan="4" style="text-align:center"><asp:Button ID="QuickSearchBtn" runat="server" Text=" 查 询 " OnClick="QuickSearchBtn_Click"  /></td>
           
        </tr>
    </table>
    <br />
    <table class="SearchTableStyle">
    <tr><td>
       你现在查看的是： <asp:DropDownList ID="DropMoment" runat="server" AutoPostBack="True" Width="120px">
                    <asp:ListItem Selected="True">所有</asp:ListItem>
                    <asp:ListItem>本周</asp:ListItem>
                    <asp:ListItem>十天</asp:ListItem>
                    <asp:ListItem>本月</asp:ListItem>
                    <asp:ListItem>本年</asp:ListItem>
                </asp:DropDownList>
    </td></tr>
    </table>
    <br />

          <asp:GridView id="GridView1"  runat="server" CssClass="tableHead" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnSorting="GridView1_Sorting" PageSize="6">
                <Columns>
                    <asp:HyperLinkField DataNavigateUrlFields="OrderFormNum" DataNavigateUrlFormatString="Shop_BuyOrder.aspx?OrderFormNum={0}"
                        DataTextField="OrderFormNum" HeaderText="订单号">
                        <ItemStyle HorizontalAlign="Center" Width="30%" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="BuyerName" HeaderText="客户">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="inputtime" HeaderText="下单时间" SortExpression="inputtime">                      
                        <HeaderStyle Width="10%" />
                        <ItemStyle HorizontalAlign="Center" Width="25%" />
                    </asp:BoundField>
                    <asp:BoundField DataField="MoneyGoodS" HeaderText="商品总价">
                        <HeaderStyle Width="8%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="MoneyTotal" HeaderText="订单总额">
                        <HeaderStyle Width="8%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                </Columns>
                 <EmptyDataTemplate >                   
                      <table class="tableHeader" style="width:98%"><tr><th>订单号</th><th>客户</th><th>下单时间</th><th>商品总价</th><th>订单总额</th></tr>
                      <tr><td colspan="5">未找到符合查询条件的数据</td></tr>
                      </table>                          
                    </EmptyDataTemplate> 
            </asp:GridView>
            

     
</asp:Content>

