<%
    //-----------------------------------------------------------
    // 文件名称: Promotions_GroupBuy_Detail.aspx
    // 页面名称: 团购明细页面
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-08-14
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Promotions_GroupBuy_Detail, V5Shop.Shop.Promotions" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="V5" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc3:ManageHeader ID="PageHead" runat="server" />
        <div id="search">
            <!-- 查询部 -->
            <div style="padding-right: 20px; padding-left: 20px; padding-bottom: 20px; padding-top: 20px; border-bottom: #f7f7f7 4px solid">
                <asp:Label ID="lblTitle" runat="server" Text="团购名称：" /><asp:DropDownList ID="ddlGroupID" runat="server" />
                <asp:Button id="btnSearch" onclick="btnSearch_Click" runat="server" Text="查询" CssClass="button" /></div>
        </div>
        <div id="content">
            <div style="padding-right: 25px; padding-left: 25px; padding-bottom: 3px; color: #4b6888; padding-top: 3px; border-bottom: #cccccc 1px solid">
                <input id="CheckAllBox" class="checkbox" onclick="CheckAll()" type="checkbox" /><asp:Label ID="lblSelectAll" runat="server" Text="全选" />
                <asp:LinkButton ID="btnEdit" runat="server" ForeColor="#4B6888" OnClick="btnEdit_Click" OnClientClick="return CheckEdit()"><img src="images/key_edit.gif" alt="" />编辑</asp:LinkButton>
                <asp:LinkButton ID="btnDel" runat="server" ForeColor="#4B6888" OnClick="btnDel_Click" OnClientClick="return CheckDel()"><img src="images/key_delete.gif" alt="" />删除</asp:LinkButton>
                <asp:LinkButton ID="btnOutput" runat="server" ForeColor="#4B6888" OnClientClick="return CheckSelect()" OnClick="btnOutput_Click"><img src="images/key_output.gif" alt="" />导出订单</asp:LinkButton>
            </div>
            <!-- 明细数据 -->
            <div class="listborder">
                <V5:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                    CssClass="datalist" HeaderStyle-ForeColor="#000000" EmptyDataText="没有任何可用信息！">
                    <PagerSettings Mode="NumericFirstLast" />
                    <Columns>
                        <asp:TemplateField meta:resourcekey="DetilData">
                            <itemtemplate>
                            <input runat="server" value='<%# Eval("Number") %>' id="CheckBoxID" type="checkbox" class="checkbox"
                                onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" />
                            </itemtemplate>
                            <itemstyle horizontalalign="Center"/>
                        </asp:TemplateField>
                        <asp:BoundField DataField="SendName" HeaderText="购物人" SortExpression="SendName" />
                        <asp:BoundField DataField="Number" HeaderText="订单单号" SortExpression="Number" />
                        <asp:BoundField DataField="ReceiveName" HeaderText="收货人" SortExpression="ReceiveName" />
                        <asp:BoundField DataField="DelivertyName" HeaderText="付款方式" SortExpression="DelivertyName" />
                        <asp:BoundField DataField="Price" HeaderText="金额总计" SortExpression="Price" />
                        <asp:BoundField DataField="StateName" HeaderText="交易状态" SortExpression="StateName" />
                        <asp:BoundField DataField="Date" HeaderText="下单日期" SortExpression="Date" />
                    </Columns>
                    <HeaderStyle CssClass="category" ForeColor="Black" />
                </V5:V5ShopGridView>
            </div>
        </div>
        <uc2:PageBottom ID="PageBottom" runat="server" />
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
            <uc1:HiddenField ID="Alert" runat="server" />
            <V5:ActiveControl ID="ActiveControl" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>