| @@ -346,7 +346,7 @@ export default { | |||||
| } | } | ||||
| depositList(data).then(response => { | depositList(data).then(response => { | ||||
| if (response.rows.length<1){ | if (response.rows.length<1){ | ||||
| if (this.sheng==''||this.shi==''){ | |||||
| if (this.form.sheng==''||this.form.shi==''){ | |||||
| this.$toast({ | this.$toast({ | ||||
| icon: 'fail', // 找到自己需要的图标 | icon: 'fail', // 找到自己需要的图标 | ||||
| message: '请选择省市', | message: '请选择省市', | ||||
| @@ -354,7 +354,7 @@ export default { | |||||
| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||
| if (this.bankDeposit==''){ | |||||
| if (this.form.bankDeposit==''){ | |||||
| this.$toast({ | this.$toast({ | ||||
| icon: 'fail', // 找到自己需要的图标 | icon: 'fail', // 找到自己需要的图标 | ||||
| message: '请输入关键词', | message: '请输入关键词', | ||||
| @@ -309,7 +309,7 @@ export default { | |||||
| } | } | ||||
| depositList(data).then(response => { | depositList(data).then(response => { | ||||
| if (response.rows.length<1){ | if (response.rows.length<1){ | ||||
| if (this.sheng==''||this.shi==''){ | |||||
| if (this.form.sheng==''||this.form.shi==''){ | |||||
| this.$toast({ | this.$toast({ | ||||
| icon: 'fail', // 找到自己需要的图标 | icon: 'fail', // 找到自己需要的图标 | ||||
| message: '请选择省市', | message: '请选择省市', | ||||
| @@ -317,7 +317,7 @@ export default { | |||||
| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||
| if (this.bankDeposit==''){ | |||||
| if (this.form.bankDeposit==''){ | |||||
| this.$toast({ | this.$toast({ | ||||
| icon: 'fail', // 找到自己需要的图标 | icon: 'fail', // 找到自己需要的图标 | ||||
| message: '请输入关键词', | message: '请输入关键词', | ||||
| @@ -164,6 +164,22 @@ import {depositList, realtimeBackList} from "@/api/register"; | |||||
| } | } | ||||
| depositList(data).then(response => { | depositList(data).then(response => { | ||||
| if (response.rows.length<1){ | if (response.rows.length<1){ | ||||
| if (this.form.sheng==''||this.form.shi==''){ | |||||
| this.$toast({ | |||||
| icon: 'fail', // 找到自己需要的图标 | |||||
| message: '请选择省市', | |||||
| duration:"1000", | |||||
| }) | |||||
| return; | |||||
| } | |||||
| if (this.form.bankDeposit==''){ | |||||
| this.$toast({ | |||||
| icon: 'fail', // 找到自己需要的图标 | |||||
| message: '请输入关键词', | |||||
| duration:"1000", | |||||
| }) | |||||
| return; | |||||
| } | |||||
| realtimeBackList(data).then(response2 => { | realtimeBackList(data).then(response2 => { | ||||
| console.log(response2) | console.log(response2) | ||||
| this.bankAddressOption = response2.data; | this.bankAddressOption = response2.data; | ||||