|
|
@ -99,51 +99,55 @@ |
|
|
|
<el-button type="primary" link |
|
|
|
<el-button type="primary" link |
|
|
|
@click="onSelectCoupon1">选择商品券 |
|
|
|
@click="onSelectCoupon1">选择商品券 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<!-- <template v-if="form.model.coupon_rules.programme_1.length > 0">--> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<div class="sa-template-wrap"> |
|
|
|
<el-form-item> |
|
|
|
<template> |
|
|
|
<div class="sa-template-wrap"> |
|
|
|
<div class="header sa-flex"> |
|
|
|
<template v-if="form.model.coupon_rules.programme_1.length > 0"> |
|
|
|
<div class="key">券名称</div> |
|
|
|
<div class="header sa-flex"> |
|
|
|
<div class="oper">操作</div> |
|
|
|
<div class="key">券名称</div> |
|
|
|
</div> |
|
|
|
<div class="oper">操作</div> |
|
|
|
<div class="item" v-for="(element, index) in form.model.coupon_rules.programme_1" :key="element"> |
|
|
|
|
|
|
|
<div class="key"> |
|
|
|
|
|
|
|
<div class="goods-title sa-m-b-6">{{ element.description }}</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="oper"> |
|
|
|
<div class="item" v-for="(element, index) in form.model.coupon_rules.programme_1" :key="element"> |
|
|
|
<el-button type="danger" link @click="onDeleteCoupon1(index)"> |
|
|
|
<div class="key"> |
|
|
|
移除 |
|
|
|
<div class="goods-title sa-m-b-6">{{ element.description }}</div> |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="oper"> |
|
|
|
|
|
|
|
<el-button type="danger" link @click="onDeleteCoupon1(index)"> |
|
|
|
|
|
|
|
移除 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="方案二" prop="coupon_rules.programme_2"> |
|
|
|
<el-form-item label="方案二" prop="coupon_rules.programme_2"> |
|
|
|
<el-button type="primary" link |
|
|
|
<el-button type="primary" link |
|
|
|
@click="onSelectCoupon2">选择商品券 |
|
|
|
@click="onSelectCoupon2">选择商品券 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<!-- <template v-if="form.model.coupon_rules.programme_2.length > 0">--> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<div class="sa-template-wrap"> |
|
|
|
<el-form-item> |
|
|
|
<template> |
|
|
|
<div class="sa-template-wrap"> |
|
|
|
<div class="header sa-flex"> |
|
|
|
<template v-if="form.model.coupon_rules.programme_2.length > 0"> |
|
|
|
<div class="key">券名称</div> |
|
|
|
<div class="header sa-flex"> |
|
|
|
<div class="oper">操作</div> |
|
|
|
<div class="key">券名称</div> |
|
|
|
</div> |
|
|
|
<div class="oper">操作</div> |
|
|
|
<div class="item" v-for="(element, index) in form.model.coupon_rules.programme_2" :key="element"> |
|
|
|
|
|
|
|
<div class="key"> |
|
|
|
|
|
|
|
<div class="goods-title sa-m-b-6">{{ element.description }}</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="oper"> |
|
|
|
<div class="item" v-for="(element, index) in form.model.coupon_rules.programme_2" :key="element"> |
|
|
|
<el-button type="danger" link @click="onDeleteCoupon2(index)"> |
|
|
|
<div class="key"> |
|
|
|
移除 |
|
|
|
<div class="goods-title sa-m-b-6">{{ element.description }}</div> |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="oper"> |
|
|
|
|
|
|
|
<el-button type="danger" link @click="onDeleteCoupon2(index)"> |
|
|
|
|
|
|
|
移除 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="一级(自购)佣金比例" prop="commission_rules.commission_1"--> |
|
|
|
<!-- <el-form-item label="一级(自购)佣金比例" prop="commission_rules.commission_1"--> |
|
|
|
<!-- :rules="form.rules.commission_rules.commission">--> |
|
|
|
<!-- :rules="form.rules.commission_rules.commission">--> |
|
|
|