<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AdminOrderManger.aspx.cs"
    MasterPageFile="~/Admin/MasterPage/Default.Master" Inherits="LJCMS.Admin.zh.Products.AdminOrderManger" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <table style="width:100%">
        <tr>
            <td>
                <DataLayerWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
                    HeadOPTxt="订单列表" HeadTitleTxt="订单管理">
                </DataLayerWebControls:HeadMenuWebControls>
                <DataLayerWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="产品列表">
                        <asp:GridView ID="GridView1" runat="server">
                            <Columns>
                                <asp:TemplateField HeaderText="序号">
                                    <ItemTemplate>
                                        <%# (this.AspNetPager1.CurrentPageIndex - 1) * this.AspNetPager1.PageSize + Container.DataItemIndex + 1%>
                                    </ItemTemplate>
                                    <ItemStyle Wrap="True" />
                                    <HeaderStyle Wrap="False" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="产品编号">
                                    <ItemTemplate>
                                        <%# GetProMessage((int)Eval("Product_Id"), 1)%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="产品名称">
                                    <ItemTemplate>
                                        <%# GetProMessage((int)Eval("Product_Id"), 2)%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="产品数量">
                                    <ItemTemplate>
                                        <%# Eval("Product_Num")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="产品价格">
                                    <ItemTemplate>
                                        <%# string.Format("{0:C}", (decimal)Eval("Price"))%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        <DataLayerWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
                        </DataLayerWebControls:AspNetPager>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="处理">
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                            <tr>
                                <td class="table_body">
                                    处理</td>
                                <td class="table_none">
                                    <asp:RadioButton ID="rd1" runat="server" Text="等待处理" GroupName="rd" />
                                    <asp:RadioButton ID="rd2" runat="server" Text="等待收货" GroupName="rd" />
                                    <asp:RadioButton ID ="rd3" runat ="server" Text ="收货成功" GroupName ="rd" />
                                </td>
                            </tr>
                               <tr>
                        <td align="right" colspan="2">
                            <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click"  />
                            
                        </td>
                    </tr>
                        </table>
                    </DataLayerWebControls:TabOptionItem>
                </DataLayerWebControls:TabOptionWebControls>
            </td>
        </tr>
    </table>
</asp:Content>
