|
@@ -637,15 +637,17 @@ export default {
|
|
const _this = this
|
|
const _this = this
|
|
// 启用
|
|
// 启用
|
|
if (item.enabledFlag == 0) {
|
|
if (item.enabledFlag == 0) {
|
|
|
|
+ const isJiejia = item.promotion.stackFlag == 1 // 叠加产品
|
|
this.$confirm({
|
|
this.$confirm({
|
|
title: item.promotion.description + '-' + item.promotionRule.description + ',确定启用规则?',
|
|
title: item.promotion.description + '-' + item.promotionRule.description + ',确定启用规则?',
|
|
centered: true,
|
|
centered: true,
|
|
class: 'confirm-center',
|
|
class: 'confirm-center',
|
|
content: <div>
|
|
content: <div>
|
|
- <div style="padding:0 0 10px 0;text-align:center;">
|
|
|
|
|
|
+ <div style="padding:10px;">
|
|
|
|
+ <div style="padding:10px 0;text-align:center;">请选择</div>
|
|
<aRadioGroup onChange={_this.changeDaOpt}>
|
|
<aRadioGroup onChange={_this.changeDaOpt}>
|
|
<aRadio style="display:block;height: '30px';lineHeight: '30px';padding:5px 0;" value="DELETE">
|
|
<aRadio style="display:block;height: '30px';lineHeight: '30px';padding:5px 0;" value="DELETE">
|
|
- 正常产品、参与叠加规则的促销产品自动适配规则
|
|
|
|
|
|
+ {isJiejia ? '正常产品、参与叠加规则的促销产品自动适配规则' : '正常产品自动适配规则'}
|
|
</aRadio>
|
|
</aRadio>
|
|
<aRadio style="display:block;height: '30px';lineHeight: '30px';padding:5px 0;" value="REMOVE">
|
|
<aRadio style="display:block;height: '30px';lineHeight: '30px';padding:5px 0;" value="REMOVE">
|
|
产品不自动适配规则
|
|
产品不自动适配规则
|
|
@@ -658,6 +660,7 @@ export default {
|
|
_this.enabledActive(item)
|
|
_this.enabledActive(item)
|
|
} else {
|
|
} else {
|
|
_this.$message.info('请选择启用方式!')
|
|
_this.$message.info('请选择启用方式!')
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onCancel () {
|
|
onCancel () {
|
|
@@ -689,6 +692,7 @@ export default {
|
|
_this.disabledActive(item)
|
|
_this.disabledActive(item)
|
|
} else {
|
|
} else {
|
|
_this.$message.info('请选择禁用方式!')
|
|
_this.$message.info('请选择禁用方式!')
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onCancel () {
|
|
onCancel () {
|