|
@@ -220,7 +220,7 @@
|
|
|
<view class="flex row flex-space-between">
|
|
|
<view class="left-text">银行卡卡号</view>
|
|
|
<view class="flex">
|
|
|
- <u--input placeholder="输入银行卡号码" inputAlign='right' border="none" v-model="item.bankCard">
|
|
|
+ <u--input placeholder="输入银行卡号码" inputAlign='right' border="none" v-model="item.bankCard" maxlength="19">
|
|
|
</u--input>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -250,7 +250,7 @@
|
|
|
<view class="flex row flex-space-between">
|
|
|
<view class="left-text">收款人</view>
|
|
|
<view class="flex">
|
|
|
- <u--input placeholder="自动获取,不可编辑" inputAlign='right' border="none" v-model="item.payeeName" disabled>
|
|
|
+ <u--input placeholder="自动获取,不可编辑" inputAlign='right' border="none" v-model="item.payeeName" readonly>
|
|
|
</u--input>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -787,6 +787,14 @@
|
|
|
_this.dataDetails.cardAddress = res.data
|
|
|
.recPersonAddr
|
|
|
_this.dataDetails.numberCard = res.data.recPersonNo
|
|
|
+ if(res.data.recPersonNo && res.data.recPersonNo.length == 18){ //自动获取性别
|
|
|
+ let sex = res.data.recPersonNo.substr(-2,1)
|
|
|
+ if(sex % 2 == 0){
|
|
|
+ _this.dataDetails.driverSex = "女"
|
|
|
+ }else{
|
|
|
+ _this.dataDetails.driverSex = "男"
|
|
|
+ }
|
|
|
+ }
|
|
|
if (res.data.recPerson) {
|
|
|
_this.dataDetails.driverName = res.data
|
|
|
.recPerson
|
|
@@ -798,7 +806,6 @@
|
|
|
_this.dataDetails.hyDriverPayeeInfoList[i]
|
|
|
.payeeName = res.data.recPerson
|
|
|
}
|
|
|
- console.log()
|
|
|
}
|
|
|
_this.dataDetails.driverBirthday = res.data
|
|
|
.recPersonBrithday
|