|
@@ -40,7 +40,7 @@
|
|
|
<a-form-model-item label="满赠规则" prop="regularSameFlag" v-if="form.promotionRuleType ==='BUY_PROD_GIVE_MONEY'">
|
|
|
<div>{{ form.giveRuleType==='SUM_MONEY'?'金额叠加':'按比例' }}</div>
|
|
|
<div v-if="form.giveRuleList&&form.giveRuleList.length>0">
|
|
|
- <div v-if="form.giveRuleType==='SUM_MONEY'">购买满{{ form.giveRuleList[0].regularValue }}{{ form.giveRuleList[0].regularUnit==='YUAN'?'元':'个' }}正价产品,送{{ form.giveRuleList[0].promotionValue }}元<span v-if="form.giveRuleList[0].regularUnit==='YUAN'">({{ perCentNum }}%促销品采购额)</span></div>
|
|
|
+ <div v-if="form.giveRuleType==='SUM_MONEY'">购买满{{ form.giveRuleList[0].regularValue }}{{ form.giveRuleList[0].regularUnit==='YUAN'?'元':'个' }}正价产品,送{{ form.giveRuleList[0].promotionValue }}元<span>({{ form.giveRuleList[0].regularUnit==='YUAN'?perCentNum+'%':'' }}促销品采购额)</span></div>
|
|
|
<div v-if="form.giveRuleType==='RATIO' &&form.giveRuleList && form.giveRuleList.length>0 ">
|
|
|
<div v-for="item in form.giveRuleList" :key="item.scopeLevel">
|
|
|
{{ form.giveRuleList.length>1?item.scopeLevel+'、' :'' }}产品购买满{{ item.regularValue }}{{ item.regularUnit==='YUAN'?'元':'个' }}正价产品,送正价产品总金额的{{ item.promotionValue }}%为促销品采购额
|
|
@@ -288,9 +288,9 @@ export default {
|
|
|
var arr = []
|
|
|
if (_this.form.discountType === '1') {
|
|
|
arr = [
|
|
|
- { title: '省价折扣', dataIndex: 'provinceValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '市价折扣', dataIndex: 'cityValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '特约折扣', dataIndex: 'specialValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
+ { title: '省价折扣', dataIndex: 'provinceValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } },
|
|
|
+ { title: '市价折扣', dataIndex: 'cityValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } },
|
|
|
+ { title: '特约折扣', dataIndex: 'specialValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } }
|
|
|
]
|
|
|
} else if (_this.form.discountType === '2') {
|
|
|
arr = [
|