<%@ Page Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" EnableViewState="true"
    AutoEventWireup="true" CodeBehind="ProductGroupItemView.aspx.cs" Inherits="OAWeb.crm.Agent.ProductGroupItemView" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width: 700px; height: 470px; padding: 10px">
        <table class="data_title" style="margin-top: 10px;">
            <tr>
                <td class="data_caption">
                    <asp:Label ID="lblTitle" runat="server" Text="Label"></asp:Label> 
                    (不同产品组中的同一产品将不计入产品总数)
                </td>
            </tr>
            <tr>
                <td class="data-field">
                    <table width="60%">
                        <tr>
                            <td class="tb-editor" nowrap="nowrap">
                                <input type="button" value="返 回" class="btn_77px" onclick="CloseReload();" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <div class="list">
            <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames=""
                GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                OnRowDataBound="gvData_RowDataBound" OnRowCommand="gvData_RowCommand">
                <RowStyle HorizontalAlign="Left" />
                <Columns>
                    <asp:BoundField DataField="SKUName" HeaderText="品项名称"></asp:BoundField>
                    <asp:TemplateField HeaderText="所属产品线">
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                        <%# OACore.Caches.ProductGroupCache.Instance.GetName(ObjToInt( Eval("GroupId")))%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Cost" HeaderText="成本" DataFormatString="{0:F2}"></asp:BoundField>
                    <asp:BoundField DataField="SalePrice" HeaderText="销售价" DataFormatString="{0:F2}">
                    </asp:BoundField>
                    <asp:BoundField DataField="WholeSalePrice" HeaderText="经销商价格" DataFormatString="{0:F2}">
                    </asp:BoundField>
                    <asp:BoundField DataField="MarketPrice" HeaderText="市场参考价" DataFormatString="{0:F2}">
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
            <div class="pager-bar">
                <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                    PageSize="10" NextPageText="下一页" LastPageText="页 尾" FirstPageText="第一页" PrevPageText="上一页"
                    ShowBoxThreshold="10" SubmitButtonText="跳 转" UrlPaging="True">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
