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
61f0c1e5
authored
Nov 08, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复赛事券编辑问题
parent
57ae09d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
src/main/webapp/WEB-INF/templates/basic/voucherRule/view.ftl
src/main/webapp/WEB-INF/templates/basic/voucherRule/view.ftl
View file @
61f0c1e5
...
...
@@ -355,6 +355,44 @@ function getResourceList(page){
</tr>
</#if>
<#if dto.voucherType == 2 && dto.multiple==0 && dto.courseRuleConditionBean.type != 1 >
<tr>
<td style="text-align:left">产品ID</td>
<td style="text-align:left">
<div class="long_content_div control-group ">
<div class="controls">
<span class="input-append ">
<input type="text" id="produtIds" name="produtIds" value="${dto.courseRuleConditionBean.value!}" placeholder="产品ID" class="input-medium">
<button class="btn" type="button" id="productChooseBtn">选择</button>
</span>
</div>
</div>
</td>
</tr>
<tr>
<td style="text-align:left">资源ID</td>
<td style="text-align:left">
<div class="long_content_div control-group ">
<div class="controls">
<span class="input-append ">
<input type="text" id="resourceIds" name="resourceIds" value="${dto.courseRuleConditionBean.resourceIds!}" placeholder="资源ID" class="input-medium">
<button class="btn" type="button" id="resouceChooseBtn">选择</button>
</span>
</div>
</div>
</td>
</tr>
<tr>
<td style="text-align:left">产品/资源使用日期</td>
<td style="text-align:left">
<input type="text" id="productStartDate" name="productStartDate" value="${dto.courseRuleConditionBean.productStartDate?string("yyyy-MM-dd")}" placeholder="${dto.courseRuleConditionBean.productStartDate?string("yyyy-MM-dd")}" class="input-medium datetime">
~
<input type="text" id="productEndDate" name="productEndDate" value="${dto.courseRuleConditionBean.productEndDate?string("yyyy-MM-dd")}" placeholder="${dto.courseRuleConditionBean.productEndDate?string("yyyy-MM-dd")}" class="input-medium datetime">
</td>
</tr>
</#if>
<#if dto.voucherType == 4 && dto.multiple==0 && dto.eventActivityRuleConditionBean.type != 1 >
<tr>
<td style="text-align:left">产品ID</td>
...
...
@@ -427,6 +465,22 @@ function getResourceList(page){
</#if>
</td>
</#if>
<#elseif dto.voucherType == 2>
<#if dto.courseRuleConditionBean.type == 1>
<td style="text-align:left">全部类型适用</td>
<#else>
<td style="text-align:left;word-break: break-all;">
产品ID:[${dto.courseRuleConditionBean.value!}]
资源ID:[${dto.courseRuleConditionBean.resourceIds!}]
产品/资源使用日期:
<#if dto.courseRuleConditionBean.productStartDate??>
${dto.courseRuleConditionBean.productStartDate?string("yyyy-MM-dd HH:mm:ss")}
</#if> ~
<#if dto.courseRuleConditionBean.productEndDate??>
${dto.courseRuleConditionBean.productEndDate?string("yyyy-MM-dd HH:mm:ss")}
</#if>
</td>
</#if>
<#elseif dto.voucherType == 3>
<td style="text-align:left">
产品ID:[${dto.mallProductRuleConditionBean.value!}]
...
...
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