<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="SaleDetail.aspx.cs" Inherits="SocoShop.Web.Admin.SaleDetail" %>
<%@ Register Namespace="SkyCES.EntLib" Assembly="SkyCES.EntLib" TagPrefix="SkyCES"%>
<%@ Import Namespace="SocoShop.Common" %>
<%@ Import Namespace="SocoShop.Entity" %>
<%@ Import Namespace="SocoShop.Business" %>
<asp:Content ID="MasterContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">	
<script language="javascript" src="/Admin/js/calendar.js" type="text/javascript"></script>
<div class="position"><img src="/Admin/Style/Images/PositionIcon.png"  alt=""/>销售分析</div>	
<div class="listBlock">
    <ul>
        <li><a href="SaleTotal.aspx">销售汇总</a></li>
        <li><a href="SaleStop.aspx">滞销分析</a></li>
        <li class="listOn"><a href="SaleDetail.aspx">销售流水账</a></li>      
    </ul>		
</div>
<div class="pageMark">	
    <div class="statisticsSearch">
		    分类：<asp:DropDownList ID="ClassID" runat="server" /> 
            品牌：<asp:DropDownList ID="BrandID" runat="server" />  
            商品名称：<SkyCES:TextBox CssClass="input" ID="Name" runat="server" Width="200px"/> <br />
            订单号：<SkyCES:TextBox CssClass="input" ID="OrderNumber" runat="server" Width="100px"/> 
            用户名：<SkyCES:TextBox CssClass="input" ID="UserName" runat="server" Width="100px"/> 
            时间：<SkyCES:TextBox CssClass="input" ID="StartAddDate" runat="server" RequiredFieldType="日期时间"  onfocus="cdr.show(this);"/> 到 <SkyCES:TextBox CssClass="input" ID="EndAddDate" runat="server" RequiredFieldType="日期时间"  onfocus="cdr.show(this);"/>             
	        <asp:Button CssClass="button" ID="SearchButton" Text=" 搜 索 " runat="server"  OnClick="SearchButton_Click" />
    </div>   
    <ul class="listHead">
	    <li style="width:15%">时间</li>
	    <li style="width:10%">单号</li>
	    <li style="width:35%; text-align:left;text-indent:8px;">商品名称</li>
	    <li style="width:15%">分类</li>	    
	    <li style="width:5%">数量</li>
	    <li style="width:10%">金额</li>
	    <li style="width:10%">用户名</li>          
    </ul>
    <asp:Repeater ID="RecordList" runat="server">
	    <ItemTemplate>	     
        	    <ul class="listMain" onmousemove="ChangeColor(this,'#FFFDD7')" onmouseout="ChangeColor(this,'#FFF')">
			    <li style="width:15%"><%# Eval("AddDate") %></li>
			    <li style="width:10%"><%# Eval("OrderNumber") %></li>
			    <li style="width:35%; text-align:left;text-indent:8px;"><%# Eval("Name") %></li>
	            <li style="width:15%"><%# ProductClassBLL.ProductClassNameList(Eval("ClassID").ToString())%></li>
			    <li style="width:5%"><%#Eval("BuyCount")%></li> 
			    <li style="width:10%"><%#Eval("Money")%></li> 	 
			    <li style="width:10%"><%#Eval("UserName")%></li> 	        
		    </ul>
            </ItemTemplate>
    </asp:Repeater>
    <div class="listPage"><SkyCES:CommonPager ID="MyPager" runat="server" /></div>
</div>
</asp:Content>