|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
|
|
<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
|
|
</view>
|
|
</view>
|
|
- <view style='padding:5px 0 10px;border-bottom:1px solid #eee;' class="flex flex-space-between width100">
|
|
|
|
|
|
+ <view style='border-bottom:1px solid #eee;' class="flex row flex-space-between width100">
|
|
<view class="left-text" style='font-size:14px;'>姓名</view>
|
|
<view class="left-text" style='font-size:14px;'>姓名</view>
|
|
<view style='padding-right:10px;' class="flex">
|
|
<view style='padding-right:10px;' class="flex">
|
|
<u--input @input='nameinput' placeholder="输入姓名" inputAlign='right' border="none"
|
|
<u--input @input='nameinput' placeholder="输入姓名" inputAlign='right' border="none"
|
|
@@ -38,7 +38,7 @@
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flex row flex-space-between" style='padding:10px 0 5px;border-bottom:1px solid #eee;'>
|
|
|
|
|
|
+ <view class="flex row flex-space-between" style='border-bottom:1px solid #eee;'>
|
|
<view class="left-text" style='font-size:14px;'>性别</view>
|
|
<view class="left-text" style='font-size:14px;'>性别</view>
|
|
<view>
|
|
<view>
|
|
<u-radio-group v-model="dataDetails.sex" placement="row">
|
|
<u-radio-group v-model="dataDetails.sex" placement="row">
|
|
@@ -48,7 +48,7 @@
|
|
</u-radio-group>
|
|
</u-radio-group>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flex row row-ch flex-space-between" style='padding:10px 0 5px;'>
|
|
|
|
|
|
+ <view style='margin-top:10px;padding-bottom:11px;' class="flex row flex-space-between" >
|
|
<view class="left-text" style='font-size:14px;'>称呼</view>
|
|
<view class="left-text" style='font-size:14px;'>称呼</view>
|
|
<view style='padding-right:10px;' class='flex flex-space-between'>
|
|
<view style='padding-right:10px;' class='flex flex-space-between'>
|
|
<view style="width: 160rpx;">
|
|
<view style="width: 160rpx;">
|
|
@@ -61,7 +61,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view style='padding:10px 0 5px;border-bottom:1px solid #eee;' class="flex width100 flex-space-between">
|
|
|
|
|
|
+ <view style='border-bottom:1px solid #eee;margin-top:10px;padding-bottom:11px;' class="flex row width100 flex-space-between">
|
|
<view class="left-text" style='font-size:14px;'>联系电话</view>
|
|
<view class="left-text" style='font-size:14px;'>联系电话</view>
|
|
<view style='padding-right:10px;' class="flex">
|
|
<view style='padding-right:10px;' class="flex">
|
|
<u--input disabledColor='#fff' disabled placeholder="输入联系电话" inputAlign='right' border="none"
|
|
<u--input disabledColor='#fff' disabled placeholder="输入联系电话" inputAlign='right' border="none"
|
|
@@ -69,7 +69,7 @@
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view style='padding-right:10px;' class="flex row">
|
|
|
|
|
|
+ <view style='padding-right:10px;margin-top:10px;padding-bottom:11px;' class="flex row">
|
|
<view class="left-text">身份证号</view>
|
|
<view class="left-text">身份证号</view>
|
|
<u--input :disabled='dataDetails.id?true:false' placeholder="请输入身份证号" inputAlign='right' border="none"
|
|
<u--input :disabled='dataDetails.id?true:false' placeholder="请输入身份证号" inputAlign='right' border="none"
|
|
v-model="dataDetails.cardNumber">
|
|
v-model="dataDetails.cardNumber">
|
|
@@ -471,18 +471,21 @@
|
|
personImg: result,
|
|
personImg: result,
|
|
flag: 1
|
|
flag: 1
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- if (res.data.recPersonNo) {
|
|
|
|
- that.dataDetails.cardNumber = res.data.recPersonNo
|
|
|
|
- if(that.dataDetails.cardNumber[16]%2==0){
|
|
|
|
- that.dataDetails.sex='女'
|
|
|
|
- }else{
|
|
|
|
- that.dataDetails.sex='男'
|
|
|
|
|
|
+ if(!that.dataDetails.id){
|
|
|
|
+ if (res.data.recPersonNo) {
|
|
|
|
+ that.dataDetails.cardNumber = res.data.recPersonNo
|
|
|
|
+ if(that.dataDetails.cardNumber[16]%2==0){
|
|
|
|
+ that.dataDetails.sex='女'
|
|
|
|
+ }else{
|
|
|
|
+ that.dataDetails.sex='男'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (res.data.recPerson) {
|
|
|
|
+ that.dataDetails.name = res.data.recPerson
|
|
|
|
+ that.dataDetails.call=that.dataDetails.name[0]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (res.data.recPerson) {
|
|
|
|
- that.dataDetails.name = res.data.recPerson
|
|
|
|
- that.dataDetails.call=that.dataDetails.name[0]
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
that.$forceUpdate()
|
|
that.$forceUpdate()
|
|
})
|
|
})
|