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