Commit 35858e26 by caosy

添加卷类型

parent 6a407f23
......@@ -229,6 +229,24 @@
</div>
</div>
<div class="long_content_div control-group" id="voucherRuleTypeValue1show">
<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>
<#else>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="0" checked>
<span style="padding-right: 20px;">正常卷</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1" >
<span style="padding-right: 20px;">体验金</span>
</#if>
</div>
</div>
</div>
</div>
......
......@@ -16,6 +16,7 @@
<@com.textInput "dto.id" "style=\"margin-left: 5px;\"" "活动ID"/>
<@com.textInput "dto.activityName" "style=\"margin-left: 5px;\"" "活动名称"/>
<@com.singleSelectQuery "dto.regionCode" enums["com.ctrip.fun.common.vo.basic.VoucherRegionCodeEnum"] "" "区域类型"/>
<@com.singleSelectQuery "dto.voucherType" enums["com.ctrip.fun.common.vo.basic.VoucherTypeCodeEnum"] "" "卷类型"/>
<@com.textInputTwoDate "dto.createdTimeStart" "dto.createdTimeEnd" "style=\"margin-left: 5px;\"" "创建时间"/>
<button type="submit" class="btn btn-primary">查询</button>
<button type="button" class="btn btn-success" onclick="javascript:location.href='/buyVoucherActivity/queryList';" style="margin-left:20px;">重置</button>
......@@ -24,15 +25,16 @@
<thead>
<tr>
<th style="width:5%">ID</th>
<th style="width:18%">活动名称</th>
<th style="width:12%">活动名称</th>
<th style="width:6%">社员价</th>
<th style="width:6%">嘉宾价</th>
<th style="width:7%">购买限制</th>
<th style="width:7%">区域限制</th>
<th style="width:6%">卷类型</th>
<th style="width:10%">活动开始时间</th>
<th style="width:10%">活动结束时间</th>
<th style="width:9%">限制购买次数</th>
<th style="width:10%">创建日期</th>
<th style="width:9%">创建日期</th>
<th style="width:5%">操作</th>
<th style="width:10%">活动统计</th>
</tr>
......@@ -73,6 +75,16 @@
<#default>
未知
</#switch>
<#switch item.voucherType>
<#case 0>
<td>正常卷</td>
<#break>
<#case 1>
<td>体验卷</td>
<#break>
<#default>
未知
</#switch>
<td>${item.activityStart?string("yyyy-MM-dd")}</td>
<td>${item.activityEnd?string("yyyy-MM-dd")}</td>
<td>${item.buyLimitTimes!}</td>
......
......@@ -192,7 +192,15 @@
<span style="padding-right: 20px;">全国</span>
</div>
</div>
<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>
<span style="padding-right: 20px;">正常卷</span>
<input style="margin-bottom: 5px;" type="radio" name="voucherType" value="1">
<span style="padding-right: 20px;">体验卷</span>
</div>
</div>
<div class="long_content_div control-group ">
<input type="hidden" id="domain" value="${imageServer}">
......
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