分销等级配置商品券

main
ztt 8 months ago
parent 684a1735f0
commit 5db8987c3d
  1. 4
      application/admin/view/shopro/commission/level/add.html
  2. 8
      public/assets/js/backend/shopro/commission/level.js

@ -95,7 +95,7 @@
<el-form-item label="消费门槛">
<el-input class="sa-w-360" v-model="form.model.total_consume" placeholder="请输入消费门槛"></el-input>
</el-form-item>
<el-form-item label="方案一">
<el-form-item label="方案一" prop="coupon_rules.programme_1">
<el-button type="primary" link @click="onSelectCoupon1">选择商品券
</el-button>
<template v-if="form.model.coupon_rules.programme_1.length > 0">
@ -115,7 +115,7 @@
</div>
</template>
</el-form-item>
<el-form-item label="方案二">
<el-form-item label="方案二" prop="coupon_rules.programme_2">
<el-button type="primary" link @click="onSelectCoupon2">选择商品券
</el-button>
<template v-if="form.model.coupon_rules.programme_2.length > 0">

@ -88,8 +88,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
upgrade_type: 0,
upgrade_rules: {},
coupon_rules:{
programme_1:{},
programme_2:{}
programme_1:[
],
programme_2:[
]
},
},

Loading…
Cancel
Save