|
@@ -176,6 +176,7 @@
|
|
|
}],
|
|
|
driverPayeeInfoList: [{
|
|
|
accountType: "个人账户",
|
|
|
+ accountTypeFlag: "1",
|
|
|
accountIndex: '0',
|
|
|
binkindex: 0,
|
|
|
cardAddressUrl: "",
|
|
@@ -235,6 +236,7 @@
|
|
|
this.driverPayeeInfoList[index].accountIndex = e.detail.value
|
|
|
this.driverPayeeInfoList[index].accountType = this.accountType[this.driverPayeeInfoList[index]
|
|
|
.accountIndex];
|
|
|
+ this.driverPayeeInfoList[index].accountTypeFlag= e.detail.value+1;
|
|
|
this.accountarr[index] = this.accountType[e.detail.value];
|
|
|
},
|
|
|
bankimgs(items) {
|
|
@@ -353,23 +355,26 @@
|
|
|
this.$api.msg('开户支行输入错误')
|
|
|
return
|
|
|
}
|
|
|
- if (!this.driverPayeeInfoList[i].payeeName) {
|
|
|
- this.$api.msg('收款人姓名不能为空')
|
|
|
- return
|
|
|
- }
|
|
|
- if (this.driverPayeeInfoList[i].payeeName.length < 2 || this.driverPayeeInfoList[i].payeeName.length >
|
|
|
- 10) {
|
|
|
- this.$api.msg('收款人姓名输入错误')
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.driverPayeeInfoList[i].payeeNumberCard) {
|
|
|
- this.$api.msg('收款人身份证号不能为空')
|
|
|
- return
|
|
|
- }
|
|
|
- if (this.driverPayeeInfoList[i].payeeNumberCard.length != 18) {
|
|
|
- this.$api.msg('收款人身份证号输入错误')
|
|
|
- return
|
|
|
+ if(this.driverPayeeInfoList[i].accountTypeFlag==1){
|
|
|
+ if (!this.driverPayeeInfoList[i].payeeName) {
|
|
|
+ this.$api.msg('收款人姓名不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.driverPayeeInfoList[i].payeeName.length < 2 || this.driverPayeeInfoList[i].payeeName.length >
|
|
|
+ 10) {
|
|
|
+ this.$api.msg('收款人姓名输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.driverPayeeInfoList[i].payeeNumberCard) {
|
|
|
+ this.$api.msg('收款人身份证号不能为空')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.driverPayeeInfoList[i].payeeNumberCard.length != 18) {
|
|
|
+ this.$api.msg('收款人身份证号输入错误')
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
this.DriverViewInfo.driverCarInfoList = this.driverCarInfoList
|
|
|
this.DriverViewInfo.driverPayeeInfoList = this.driverPayeeInfoList
|