|
|
@ -776,7 +776,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
worknumberChange() { |
|
|
|
worknumberChange() { |
|
|
|
console.log(this.form) |
|
|
|
|
|
|
|
if (this.form.workNumber) { |
|
|
|
if (this.form.workNumber) { |
|
|
|
let url = ""; |
|
|
|
let url = ""; |
|
|
|
if (this.isAdd && !this.form.accountId) { |
|
|
|
if (this.isAdd && !this.form.accountId) { |
|
|
@ -785,7 +784,6 @@ export default { |
|
|
|
url = `${this.api.checkWorkNumOrAccount}?platformId=${Setting.platformId}&type=1&accountId=${this.form.accountId}&workNumber=${this.form.workNumber}&account=`; |
|
|
|
url = `${this.api.checkWorkNumOrAccount}?platformId=${Setting.platformId}&type=1&accountId=${this.form.accountId}&workNumber=${this.form.workNumber}&account=`; |
|
|
|
} |
|
|
|
} |
|
|
|
this.$post(url).then(res => { |
|
|
|
this.$post(url).then(res => { |
|
|
|
console.log(res) |
|
|
|
|
|
|
|
if (res.status === 200) { |
|
|
|
if (res.status === 200) { |
|
|
|
this.workNumberReapeat = false; |
|
|
|
this.workNumberReapeat = false; |
|
|
|
} |
|
|
|
} |
|
|
|