<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Statistics_SaleProductList, ECMe_Deploy" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!-- Put IE into quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>销售明细统计</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body156.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/volti.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="header_top">
            <h2>
                数据统计 &gt; <span class="blue">销售明细统计</span>
            </h2>
        </div>
        <div class="top_body">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <th style="width: 80px;">
                        下载报表
                    </th>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="BPrint" runat="server" Text="下载报表" onclick="BPrint_Click"  CssClass="but_2"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class="tab_top">
            <table class="thead">
                <tbody>
                    <tr>
                        <th style="width:300px">
                            商品名称
                        </th>
                        <th style="width: 120px">
                            商品货号
                        </th>
                        <th style="width: 120px">
                            订单号
                        </th>
                        <th style="width: 80px">
                            销售数量
                        </th>
                        <th style="width: 70px">
                            单价
                        </th>
                        <th>
                            销售日期
                        </th>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="container">
        <div class="tab_body">
            <table class="tbody">
                <tbody>
                    <asp:Repeater ID="RepeaterTable" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td style="width: 300px">
                                    <img src="../CSS/Admin/images/Goods.png" alt="商品名称" />
                                    <%#Eval("ProductName")%>
                                </td>
                                <td style="width: 120px">
                                    <%#Eval("ProductNumber")%>
                                </td>
                                <td style="width: 120px">
                                    <%#Eval("OrderNumber")%>
                                </td>
                                <td style="width: 80px">
                                    <%#Eval("BuyNumber")%>
                                </td>
                                <td style="width: 70px" class="ys_red">
                                    <%#Eval("ProductPrice")%>
                                </td>
                                <td>
                                    <%# Common.GetOrderDate(Eval("OrderNumber").ToString())%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="txte">
            
        </div>
        <webdiyer:AspNetPager ID="AspNetPagerItem" runat="server" CssClass="yahoo2" AlwaysShow="True"
            OnPageChanged="AspNetPagerItem_PageChanged" PageSize="50">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
