|
@@ -65,7 +65,7 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
dealerLevelBak: undefined,
|
|
|
- isProvincialCustomers: undefined
|
|
|
+ isProvincialCustomers: ''
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -81,10 +81,10 @@ export default {
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
if (_this.dealerLevelBak && _this.form.dealerLevel != _this.dealerLevelBak) {
|
|
|
- const tipInfo = '商户价格级别变更后,该商户关联的' + (_this.isProvincialCustomers == '1' ? '经销商上下级、差价归属和省仓客户' : '经销商上下级和差价归属') + '关系绑定将同步解除,确定变更该商户级别吗?'
|
|
|
+ const tipInfo = _this.isProvincialCustomers === '1' ? '经销商上下级、差价归属和省仓客户' : '经销商上下级和差价归属'
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: tipInfo,
|
|
|
+ content: <div>商户价格级别变更后,该商户关联的<span style="color:red;">{tipInfo}</span>关系绑定将同步解除,确定变更该商户级别吗?</div>,
|
|
|
centered: true,
|
|
|
onOk () {
|
|
|
_this.submitForm()
|