Commit 088c56b7 by caosy

卷类型

parent 35858e26
......@@ -233,17 +233,15 @@
<label class="control-label" for="type">卷类型</label>
<div class="controls">
<#if dto.voucherType??>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="0" <#if dto.voucherType == 0>checked</#if>>
<span style="padding-right: 20px;">正常卷</span>
<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>>
<span style="padding-right: 20px;">体验卷</span>
<#else>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="0" checked>
<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="1" >
<span style="padding-right: 20px;">体验金</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2" >
<span style="padding-right: 20px;">体验金</span>
</#if>
</div>
</div>
......
......@@ -76,10 +76,10 @@
未知
</#switch>
<#switch item.voucherType>
<#case 0>
<#case 1>
<td>正常卷</td>
<#break>
<#case 1>
<#case 2>
<td>体验卷</td>
<#break>
<#default>
......
......@@ -195,9 +195,9 @@
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
<label class="control-label" for="type">卷类型</label>
<div class="controls">
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="0" checked>
<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="1">
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="2">
<span style="padding-right: 20px;">体验卷</span>
</div>
</div>
......
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