|
@@ -347,15 +347,11 @@ export default {
|
|
|
{ title: '设置起订量', width: '7%', scopedSlots: { customRender: 'setNum' }, align: 'center' },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '6%', align: 'center' }
|
|
|
]
|
|
|
- if (_this.rulesType === '0') {
|
|
|
+ if (_this.rulesType === '0' || _this.rulesType === '1') {
|
|
|
arr.splice(5, 0, { title: '省级折扣', scopedSlots: { customRender: 'provinceDiscount' }, width: '5%', align: 'center' })
|
|
|
arr.splice(8, 0, { title: '市级折扣', scopedSlots: { customRender: 'cityDiscount' }, width: '5%', align: 'center' })
|
|
|
arr.splice(11, 0, { title: '特约折扣', scopedSlots: { customRender: 'specialDiscount' }, width: '5%', align: 'center' })
|
|
|
- } else if (_this.rulesType === '1') {
|
|
|
- arr.splice(5, 0, { title: '省级折扣', scopedSlots: { customRender: 'provinceDiscount' }, width: '5%', align: 'center' })
|
|
|
- arr.splice(8, 0, { title: '市级折扣', scopedSlots: { customRender: 'cityDiscount' }, width: '5%', align: 'center' })
|
|
|
- arr.splice(11, 0, { title: '特约折扣', scopedSlots: { customRender: 'specialDiscount' }, width: '5%', align: 'center' })
|
|
|
- } else {
|
|
|
+ } else if (_this.rulesType === '2') {
|
|
|
arr.splice(5, 0, { title: '省价直降金额', scopedSlots: { customRender: 'provinceDiscount' }, width: '5%', align: 'center' })
|
|
|
arr.splice(8, 0, { title: '市价直降金额', scopedSlots: { customRender: 'cityDiscount' }, width: '5%', align: 'center' })
|
|
|
arr.splice(11, 0, { title: '特约直降金额', scopedSlots: { customRender: 'specialDiscount' }, width: '5%', align: 'center' })
|