|
@@ -68,12 +68,13 @@ export default {
|
|
|
this.form.dealerName = row.dealerName
|
|
|
this.form.dealerLevel = row.dealerLevel
|
|
|
this.dealerLevelBak = row.dealerLevel
|
|
|
+ console.log(row, this.dealerLevelBak)
|
|
|
},
|
|
|
onSubmit () {
|
|
|
const _this = this
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- if (_this.form.dealerLevel != _this.dealerLevelBak) {
|
|
|
+ if (_this.dealerLevelBak && _this.form.dealerLevel != _this.dealerLevelBak) {
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
content: '商户价格级别变更后,该商户关联的经销商关系绑定将同步解除,确定变更该商户级别吗?',
|