|
@@ -53,6 +53,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
+ <text class="tit_red">*</text>
|
|
|
<text class="tit">手机号</text>
|
|
|
<view class="con-list">
|
|
|
<input placeholder="请填写手机号" @input='phoneinput' type="number" maxlength="11"
|
|
@@ -246,41 +247,41 @@
|
|
|
},
|
|
|
commit() {
|
|
|
var that = this
|
|
|
- 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.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.customerPhone) {
|
|
|
this.$api.msg('手机号不能为空')
|
|
|
return
|
|
@@ -294,41 +295,41 @@
|
|
|
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('公司地址不能为空')
|
|
|
- return
|
|
|
- }
|
|
|
- if (this.identityAuthenticationInfo.compAddress.length < 2 || this.identityAuthenticationInfo
|
|
|
- .compAddress.length > 20) {
|
|
|
- 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
|
|
|
+ // }
|
|
|
}
|
|
|
this.amendprice()
|
|
|
|
|
@@ -593,4 +594,7 @@
|
|
|
.upload {
|
|
|
margin: 20rpx 0;
|
|
|
}
|
|
|
+ .tit_red{
|
|
|
+ color: #E54D42;
|
|
|
+ }
|
|
|
</style>
|