Authored by shuaiguo

兑券新增

... ... @@ -30,6 +30,7 @@ module.exports={
title: "更新",
url: '/activity/couponExchangeActivity/update',
params: [
{name: 'id', type: 'Number'},//主键
{name: 'name', type: 'string'},//名称
{name: 'subName', type: 'string'}, // 副标题
{name: 'sendCouponId', type: 'string'}, // 券Id
... ...
... ... @@ -35,6 +35,14 @@
required="required"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">副标题<i class="red">*</i></label>
<div class="col-sm-10">
<input type="text" value="[[subName]]" class="form-control observe" data-field="subName" placeholder="可填使用有效期(30个字符)"
required="required"/>
</div>
</div>
[[each couponsIds as item index]]
<div class="form-group">
<label class="col-sm-2 control-label">优惠券ID<i class="red">*</i></label>
... ... @@ -45,16 +53,24 @@
<option value='[[item.id]]'>[[item.text||item.id||'请选择优惠券ID']]</option>
</select>
</div>
<div class="col-sm-2">
<!-- <div class="col-sm-2">
<a class="col-sm-4 btn btn-primary addBtn" data-index="[[index]]">+</a>
[[if index==0]]
<a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a>
[[else]]
<a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a>
[[/if]]
</div>
</div> -->
</div>
[[/each]]
<div class="form-group">
<label class="col-sm-2 control-label">兑换有货币数量<i class="red">*</i></label>
<div class="col-sm-10">
<input type="text" value="[[exchangeYohoCoinNum]]" class="form-control observe number" data-field="exchangeYohoCoinNum" placeholder=""
required="required"/>
</div>
</div>
</div>
</script>
\ No newline at end of file
... ...