📄 product.aspx
字号:
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr class="tdbg">
<td class="tdbgleft" align="right">
<strong>代理商价格: </strong>
</td>
<td colspan="2">
<asp:UpdatePanel ID="UpnlAgentGroupPrice" runat="server">
<ContentTemplate>
<asp:RadioButton ID="RadAgentDiscount" OnCheckedChanged="RadAgentDiscount_CheckChanged"
AutoPostBack="true" Checked="true" GroupName="Price_Agent" runat="server" />代理商组折扣率 使用代理商组中设定的折扣比率。<br />
<asp:RadioButton ID="RadAgentPrice" GroupName="Price_Agent" OnCheckedChanged="RadAgentPrice_CheckChanged"
AutoPostBack="true" runat="server" />统一代理商价格 代理商价:<asp:TextBox
ID="TxtPrice_Agent" Width="60px" MaxLength="10" runat="server"></asp:TextBox>元
<pe:PositiveNumValidator ID="VpnumPrice_Agent" ControlToValidate="TxtPrice_Agent"
SetFocusOnError="true" Display="dynamic" ErrorMessage="代理商价格式不正确" runat="server"></pe:PositiveNumValidator> 所有代理商都以此为准,不区分组别。<br />
<asp:RadioButton ID="RadAgentGroupPrice" GroupName="Price_Agent" AutoPostBack="true"
runat="server" OnCheckedChanged="RadAgentGroupPrice_CheckedChanged" />详细设置代理商价 详细设置每个代理商组的价格。<br />
<asp:Repeater ID="RptAgentGroupPrice" Visible="true" runat="server">
<HeaderTemplate>
<table style="width: 95%" class="boder">
<tr class="tdbg">
<td align="center" class="tdbgleft">
代理商组
</td>
<td align="center" class="tdbgleft">
价格
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr class="tdbg">
<td align="center">
<%#Eval("GroupName")%>
<asp:HiddenField ID="HdnGroupID" Value='<%#Eval("GroupId")%>' runat="server" />
</td>
<td align="center">
<asp:TextBox ID="TxtAgentGroupPrice" runat="server"></asp:TextBox>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr class="tdbg">
<td class="tdbgleft" align="right">
<strong>允许批发: </strong>
</td>
<td colspan="2">
<asp:UpdatePanel ID="UpnlWholesale" runat="server">
<ContentTemplate>
<asp:CheckBox ID="ChkEnableWholesale" runat="server" OnCheckedChanged="ChkEnableWholesale_CheckedChanged"
AutoPostBack="true" />
<table cellpadding="0" id="tbWholesale" runat="server" visible="false">
<tr>
<td>
① 一次性购买此商品数量满<asp:TextBox ID="TxtNumber_Wholesale1" Width="40px" MaxLength="8" Text="10"
runat="server"></asp:TextBox>时,批发价为<asp:TextBox ID="TxtPrice_Wholesale1" Width="40px"
runat="server"></asp:TextBox>
元
</td>
</tr>
<tr>
<td>
② 一次性购买此商品数量满<asp:TextBox ID="TxtNumber_Wholesale2" Width="40px" MaxLength="10" Text="50"
runat="server"></asp:TextBox>时,批发价为<asp:TextBox ID="TxtPrice_Wholesale2" Width="40px"
runat="server"></asp:TextBox>
元
</td>
</tr>
<tr>
<td>
③ 一次性购买此商品数量满<asp:TextBox ID="TxtNumber_Wholesale3" Width="40px" MaxLength="12" Text="100"
runat="server"></asp:TextBox>时,批发价为<asp:TextBox ID="TxtPrice_Wholesale3" Width="40px"
runat="server"></asp:TextBox>
元
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr class="tdbg">
<td class="tdbgleft" align="right">
<strong>允许单独销售: </strong>
</td>
<td colspan="2">
<asp:RadioButton ID="RadEnableSingleSell" Checked="true" GroupName="EnableSingleSell"
runat="server" />是
<asp:RadioButton ID="RadDisabledSingleSell" GroupName="EnableSingleSell" runat="server" />否
<span style="color: Blue">如果不允许单独销售,请指定从属的商品。</span>
</td>
</tr>
<tr class="tdbg" id="trDependentProducts" style="<%= IsShow("DependentProducts")%>">
<td class="tdbgleft" align="right">
<strong>从属商品: </strong>
</td>
<td align="left" colspan="2">
<pe:DependentProduct ID="DependentProduct" runat="server" />
</td>
</tr>
</table>
<%--促销设置--%>
<table id="Tabs4" cellpadding="2" cellspacing="1" style="width: 98%; background-color: white;
display: none">
<tr class="tdbg">
<td align="right" class="tdbgleft" style="width: 20%">
<strong>促销方案: </strong>
</td>
<td>
<pe:SalePromotion runat="server" ID="SalePromotion"></pe:SalePromotion>
</td>
</tr>
<tr class="tdbg">
<td align="right" class="tdbgleft">
<strong>赠送<pe:ShowPointName runat="server" ID="ShowPointName2" PointType="PointName"></pe:ShowPointName>:
</strong>
</td>
<td>
购买一件此商品可以得到
<asp:TextBox ID="TxtPresentPoint" runat="server" Columns="5"></asp:TextBox>
<pe:ShowPointName runat="server" ID="ShowPointName1" PointType="PointName"></pe:ShowPointName><br />
买满××元可以得××<pe:ShowPointName runat="server" ID="ShowPointName3" PointType="PointName"></pe:ShowPointName>等更多促销方案,请到“促销方案管理”中设置。
</td>
</tr>
<tr class="tdbg">
<td align="right" class="tdbgleft">
<strong>购物积分: </strong>
</td>
<td>
购买一件此商品可以得到
<asp:TextBox ID="TxtPresentExp" runat="server" Columns="5" MaxLength="8"></asp:TextBox>
积分<br />
买满××元可以得××积分等更多促销方案,请到“促销方案管理”中设置。
</td>
</tr>
<tr class="tdbg">
<td align="right" class="tdbgleft">
<strong>赠送现金券: </strong></td>
<td>
购买一件此商品可以得到
<asp:TextBox ID="TxtPresentMoney" runat="server" Columns="5" MaxLength="8"></asp:TextBox>
元现金券<br />
买满××元可以得××元现金券等更多促销方案,请到“促销方案管理”中设置。
</td>
</tr>
</table>
<%--商品属性--%>
<div id="Tabs5" style="display: none">
<asp:UpdatePanel ID="UpnlChildProducts" runat="server">
<ContentTemplate>
<table cellpadding="2" cellspacing="1" style="width: 98%; background-color: white;">
<asp:Repeater ID="RepModel" runat="server" OnItemDataBound="RepModel_OnItemDataBound">
<ItemTemplate>
<pe:FieldControl ID="Field" runat="server" EnableNull='<%# (bool)Eval("EnableNull") %>'
FieldAlias='<%# Eval("FieldAlias")%>' Tips='<%# Eval("Tips") %>' FieldName='<%#Eval("FieldName")%>'
ControlType='<%# Eval("FieldType") %>' FieldLevel='<%# Eval("FieldLevel") %>'
Description='<%# Eval("Description")%>' Settings='<%# ((PowerEasy.Model.CommonModel.FieldInfo)Container.DataItem).Settings %>'
Value='<%# Eval("DefaultValue") %>'>
</pe:FieldControl>
</ItemTemplate>
</asp:Repeater>
<tr class="tdbg" id="TRChildProducts" runat="server" visible="false">
<td colspan="2">
<%--<div style="overflow: scroll; width: 100%">--%>
<pe:ExtendedGridView runat="server" ID="EgvChildProducts" AutoGenerateColumns="false"
AllowPaging="false" OnRowDataBound="EgdvChildProducts_RowDataBound">
</pe:ExtendedGridView>
<%--</div>--%>
<br />
<asp:Label ID="LblChildProductsMsg" runat="server">提示:<br />1、商品属性中的值不填则自动获取商品中对应的值,如:库存不填则获取商品基本信息中设定的库存值;<br />
2、如果设置了N个多属性,商品基本信息中设定的库存和库存报警下限值将会变为这N个多属性对应值的总和。</asp:Label>
</td>
</tr>
</table>
</ContentTemplate>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -