Commit 70fb97ac by lichengming

修改了委托单管理的添加编辑

parent ea97899b
...@@ -301,10 +301,12 @@ export default { ...@@ -301,10 +301,12 @@ export default {
this._cusNameQuery(data) this._cusNameQuery(data)
break break
} }
} else { } else if (this.customerData.indexOf(data) !== -1) {
this._getQueryList(data)
// 编辑的时候选择单位(互不影响) // 编辑的时候选择单位(互不影响)
// this.cusName = data // this.cusName = data
// this.formObj.customer.cname = data // this.formObj.customer.cname = data
} else {
} }
}, },
_customerMatch(data) { _customerMatch(data) {
......
...@@ -407,10 +407,12 @@ export default { ...@@ -407,10 +407,12 @@ export default {
this._cusNameQuery(data) this._cusNameQuery(data)
break break
} }
} else { } else if (this.customerData.indexOf(data) !== -1) {
this._getQueryList(data)
// 编辑的时候选择单位(互不影响) // 编辑的时候选择单位(互不影响)
// this.cusName = data // this.cusName = data
// this.formObj.customer.cname = data // this.formObj.customer.cname = data
} else {
} }
}, },
_customerMatch(data) { _customerMatch(data) {
......
...@@ -353,10 +353,12 @@ export default { ...@@ -353,10 +353,12 @@ export default {
this._cusNameQuery(data) this._cusNameQuery(data)
break break
} }
} else { } else if (this.customerData.indexOf(data) !== -1) {
this._getQueryList(data)
// 编辑的时候选择单位(互不影响) // 编辑的时候选择单位(互不影响)
// this.cusName = data // this.cusName = data
// this.formObj.customer.cname = data // this.formObj.customer.cname = data
} else {
} }
}, },
_customerMatch(data) { _customerMatch(data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment