|
|
@@ -527,8 +527,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
setAutoPlace (val) {
|
|
|
- this.loading = true
|
|
|
if (this.recRealName !== '-') {
|
|
|
+ this.loading = true
|
|
|
network.getData('user/get-auto-place', {userName: this.form.recUserName, side: val}).then(response => {
|
|
|
// console.log(response)
|
|
|
this.form.conUserName = response.USER_NAME
|
|
|
@@ -539,6 +539,9 @@ export default {
|
|
|
// this.recRealName = '-'
|
|
|
this.loading = false
|
|
|
})
|
|
|
+ } else {
|
|
|
+ this.form.autoPlace = ''
|
|
|
+ return false
|
|
|
}
|
|
|
// console.log(val)
|
|
|
},
|