|
@@ -262,41 +262,41 @@
|
|
|
},
|
|
|
commit() {
|
|
|
var that = this
|
|
|
- // if (this.bankid[0] == '' || this.bankid[0] == null) {
|
|
|
- // this.$api.msg('请上传银行卡正面')
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (this.bankid[0] == '' || this.bankid[0] == null) {
|
|
|
+ this.$api.msg('请上传银行卡正面')
|
|
|
+ return
|
|
|
+ }
|
|
|
// if (this.bankid[1] == '' || this.bankid[1] == null) {
|
|
|
// this.$api.msg('请上传银行卡反面')
|
|
|
// return
|
|
|
// }
|
|
|
- // if (!this.identityAuthenticationInfo.bankCard) {
|
|
|
- // this.$api.msg('银行卡号不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.bankCard.length < 16 || this.identityAuthenticationInfo.bankCard
|
|
|
- // .length > 19) {
|
|
|
- // this.$api.msg('银行卡号输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!this.identityAuthenticationInfo.bankDeposit) {
|
|
|
- // this.$api.msg('开户行不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.bankDeposit.length < 4 || this.identityAuthenticationInfo.bankDeposit
|
|
|
- // .length > 15) {
|
|
|
- // this.$api.msg('开户行输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!this.identityAuthenticationInfo.bankDepositBranch) {
|
|
|
- // this.$api.msg('开户支行不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.bankDepositBranch.length < 4 || this.identityAuthenticationInfo
|
|
|
- // .bankDepositBranch.length > 30) {
|
|
|
- // this.$api.msg('开户支行输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (!this.identityAuthenticationInfo.bankCard) {
|
|
|
+ this.$api.msg('银行卡号不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.bankCard.length < 16 || this.identityAuthenticationInfo.bankCard
|
|
|
+ .length > 19) {
|
|
|
+ this.$api.msg('银行卡号输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.identityAuthenticationInfo.bankDeposit) {
|
|
|
+ this.$api.msg('开户行不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.bankDeposit.length < 4 || this.identityAuthenticationInfo.bankDeposit
|
|
|
+ .length > 15) {
|
|
|
+ this.$api.msg('开户行输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.identityAuthenticationInfo.bankDepositBranch) {
|
|
|
+ this.$api.msg('开户支行不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.bankDepositBranch.length < 4 || this.identityAuthenticationInfo
|
|
|
+ .bankDepositBranch.length > 30) {
|
|
|
+ this.$api.msg('开户支行输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
if (!this.identityAuthenticationInfo.customerPhone) {
|
|
|
this.$api.msg('手机号不能为空')
|
|
|
return
|
|
@@ -310,31 +310,31 @@
|
|
|
return
|
|
|
}
|
|
|
if (this.identityAuthenticationInfo.customerTypeFlag == 1) {
|
|
|
- // if (!this.identityAuthenticationInfo.payeeName) {
|
|
|
- // this.$api.msg('收款人姓名不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.payeeName < 2 || this.identityAuthenticationInfo.payeeName > 10) {
|
|
|
- // this.$api.msg('收款人姓名输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!this.identityAuthenticationInfo.payeeNumberCard) {
|
|
|
- // this.$api.msg('收款人身份证号不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.payeeNumberCard.length != 18) {
|
|
|
- // this.$api.msg('收款人身份证号输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!this.identityAuthenticationInfo.compAddress) {
|
|
|
- // this.$api.msg('联系地址不能为空')
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (this.identityAuthenticationInfo.compAddress.length < 2 || this.identityAuthenticationInfo
|
|
|
- // .compAddress.length > 20) {
|
|
|
- // this.$api.msg('联系地址输入错误')
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (!this.identityAuthenticationInfo.payeeName) {
|
|
|
+ this.$api.msg('收款人姓名不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.payeeName < 2 || this.identityAuthenticationInfo.payeeName > 10) {
|
|
|
+ this.$api.msg('收款人姓名输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.identityAuthenticationInfo.payeeNumberCard) {
|
|
|
+ this.$api.msg('收款人身份证号不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.payeeNumberCard.length != 18) {
|
|
|
+ this.$api.msg('收款人身份证号输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.identityAuthenticationInfo.compAddress) {
|
|
|
+ this.$api.msg('联系地址不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.identityAuthenticationInfo.compAddress.length < 2 || this.identityAuthenticationInfo
|
|
|
+ .compAddress.length > 20) {
|
|
|
+ this.$api.msg('联系地址输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
} else if (this.identityAuthenticationInfo.customerTypeFlag == 2) {
|
|
|
if (!this.identityAuthenticationInfo.compAddress) {
|
|
|
this.$api.msg('公司地址不能为空')
|