Commit 0797cee5 by caosy

推广产品

parent ef5217b0
......@@ -35,6 +35,7 @@
$('#tagSelectModal').modal('hide');
});
});
function submitFun(){
......@@ -42,7 +43,7 @@
$("#submitButton").click();
}
$('#J_AddClear_image span').on("click",function(){
$("#imagePathShow .currentImage").html("");
......@@ -161,7 +162,8 @@
<@form.textInput path="dto.guestPrice" attributes="class=\"input-medium\"" label="嘉宾价" required = true />
<@form.textInput path="dto.grossPrice" attributes="class=\"input-medium\"" label="虚拟毛利" required = true />
<@form.textInput path="dto.realPrice" attributes="class=\"input-medium\"" label="真实毛利" required = true />
<@form.textInput path="dto.buyLimitTimes" attributes="class=\"input-medium\"" label="限制购买数量" required = true />
<@form.textInput path="dto.buyLimitTimes" attributes="class=\"input-medium\"" label="单人限制购买数量" required = true />
<@form.textInput path="dto.voucherIds" attributes="class=\"input-medium\"" label="券ID拼接(英文逗号分割)" required = true />
<div class="long_content_div control-group" id="isSendRedPacketshow">
<label class="control-label" for="type">是否发红包</label>
......@@ -241,12 +243,16 @@
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" <#if dto.voucherType == 1>checked</#if>>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2" <#if dto.voucherType == 2>checked</#if>>
<span style="padding-right: 20px;">体验劵</span>
<span style="padding-right: 20px;">体验劵(身份证)</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="3" <#if dto.voucherType == 3>checked</#if>>
<span style="padding-right: 20px;">教学体验劵</span>
<#else>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2" >
<span style="padding-right: 20px;">体验劵</span>
<span style="padding-right: 20px;">体验劵(身份证)</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="3" >
<span style="padding-right: 20px;">教学体验劵</span>
</#if>
</div>
</div>
......@@ -313,6 +319,29 @@
</div>
</div>
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
<label class="control-label" for="type">产品类型</label>
<div class="controls">
<#if dto.productType??>
<input style="margin-bottom: 5px;" type="radio" name="productType" id="vipProduct" value="1" <#if dto.productType == 1>checked</#if>>
<span style="padding-right: 20px;">会员专享产品</span>
<input style="margin-bottom: 5px;" type="radio" name="productType" id="promoteProduct" value="2" <#if dto.productType == 2>checked</#if>>
<span style="padding-right: 20px;">推广产品</span>
<#else>
<input style="margin-bottom: 5px;" type="radio" name="productType" id="vipProduct" value="1" checked>
<span style="padding-right: 20px;">会员专享产品</span>
<input style="margin-bottom: 5px;" type="radio" name="productType" id="promoteProduct" value="2" >
<span style="padding-right: 20px;">推广产品</span>
</#if>
</div>
</div>
<div id="stockLimitvalue" >
<@form.textInput path="dto.stockLimit" attributes="class=\"input-medium\"" label="库存限制数量(推广产品有效)" />
</div>
</div>
</div>
......
......@@ -101,8 +101,11 @@
<td>正常卷</td>
<#break>
<#case 2>
<td>体验卷</td>
<td>体验卷(身份证)</td>
<#break>
<#case 3>
<td>教学体验卷</td>
<#break>
<#default>
未知
</#switch>
......
......@@ -200,7 +200,9 @@
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2">
<span style="padding-right: 20px;">体验劵</span>
<span style="padding-right: 20px;">体验劵(身份证)</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="3">
<span style="padding-right: 20px;">教学体验劵</span>
</div>
</div>
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment