完单处的实名跟绑卡校验调换顺序

This commit is contained in:
donqi 2022-10-06 03:07:08 +08:00
parent eb49ba4014
commit 9b282f75d7
1 changed files with 4 additions and 4 deletions

View File

@ -859,12 +859,12 @@
// //
let certifyInfoRes = await this.$request.getWorkerCertify(); let certifyInfoRes = await this.$request.getWorkerCertify();
this.certifyInfo = certifyInfoRes.data; this.certifyInfo = certifyInfoRes.data;
if (!this.bankCard || !this.bankCard.bankNum) { if (!this.certifyInfo || !this.certifyInfo.workerCertificationId) {
this.$refs.vertifyBankBind.showModal();
return false;
} else if (!this.certifyInfo || !this.certifyInfo.workerCertificationId) {
this.$refs.vertifyCertify.showModal(); this.$refs.vertifyCertify.showModal();
return false; return false;
} else if (!this.bankCard || !this.bankCard.bankNum) {
this.$refs.vertifyBankBind.showModal();
return false;
} }
return true; return true;
}, },