Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0797cee5
authored
Apr 18, 2023
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广产品
parent
ef5217b0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
5 deletions
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/form.ftl
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/list.ftl
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/view.ftl
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/form.ftl
View file @
0797cee5
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
$('#tagSelectModal').modal('hide');
$('#tagSelectModal').modal('hide');
});
});
});
});
function submitFun(){
function submitFun(){
handlerData();
handlerData();
...
@@ -161,7 +162,8 @@
...
@@ -161,7 +162,8 @@
<@form.textInput path="dto.guestPrice" attributes="class=\"input-medium\"" label="嘉宾价" required = true />
<@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.grossPrice" attributes="class=\"input-medium\"" label="虚拟毛利" required = true />
<@form.textInput path="dto.realPrice" 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 />
<@form.textInput path="dto.voucherIds" attributes="class=\"input-medium\"" label="券ID拼接(英文逗号分割)" required = true />
<div class="long_content_div control-group" id="isSendRedPacketshow">
<div class="long_content_div control-group" id="isSendRedPacketshow">
<label class="control-label" for="type">是否发红包</label>
<label class="control-label" for="type">是否发红包</label>
...
@@ -241,12 +243,16 @@
...
@@ -241,12 +243,16 @@
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" <#if dto.voucherType == 1>checked</#if>>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" <#if dto.voucherType == 1>checked</#if>>
<span style="padding-right: 20px;">正常劵</span>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2" <#if dto.voucherType == 2>checked</#if>>
<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>
<#else>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<span style="padding-right: 20px;">正常劵</span>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2" >
<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>
</#if>
</div>
</div>
</div>
</div>
...
@@ -313,6 +319,29 @@
...
@@ -313,6 +319,29 @@
</div>
</div>
</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>
</div>
</div>
...
...
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/list.ftl
View file @
0797cee5
...
@@ -101,7 +101,10 @@
...
@@ -101,7 +101,10 @@
<td>正常卷</td>
<td>正常卷</td>
<#break>
<#break>
<#case 2>
<#case 2>
<td>体验卷</td>
<td>体验卷(身份证)</td>
<#break>
<#case 3>
<td>教学体验卷</td>
<#break>
<#break>
<#default>
<#default>
未知
未知
...
...
src/main/webapp/WEB-INF/templates/basic/buyVoucherActivity/view.ftl
View file @
0797cee5
...
@@ -200,7 +200,9 @@
...
@@ -200,7 +200,9 @@
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" checked>
<span style="padding-right: 20px;">正常劵</span>
<span style="padding-right: 20px;">正常劵</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2">
<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>
</div>
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment