mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 10:26:44 +08:00
婚姻状况校验
This commit is contained in:
@@ -93,7 +93,15 @@
|
||||
<div class="border-bt relative fs14 p10 flex align-center">
|
||||
<van-checkbox v-model="userInfo.effectiveDateType" class="fr" :disabled="effectiveDateTypeAble" @change="effectiveDataTypeChange">长期</van-checkbox>
|
||||
</div>
|
||||
<select-radio :radios="sexRadio" required label="性别" :value.sync="userInfo.sex" :disabled="isInsured"></select-radio>
|
||||
<select-radio
|
||||
:radios="sexRadio"
|
||||
required
|
||||
label="性别"
|
||||
:value.sync="userInfo.sex"
|
||||
:disabled="isInsured"
|
||||
v-validate="'required'"
|
||||
name="性别"
|
||||
></select-radio>
|
||||
<van-field
|
||||
:value="userInfo.marriageStatus"
|
||||
readonly
|
||||
@@ -628,7 +636,7 @@ export default {
|
||||
})
|
||||
this.userInfo.name = data.customerName //用户名
|
||||
if (data.dacustomerSex == null) {
|
||||
this.userInfo.sex = ''
|
||||
this.userInfo.sex = null
|
||||
} else {
|
||||
this.userInfo.sex = String(data.customerSex) //性别
|
||||
}
|
||||
@@ -636,7 +644,7 @@ export default {
|
||||
this.userInfo.birthday = data.birthday //出生日期
|
||||
this.userInfo.idType = data.customerIdType //证件类型
|
||||
this.userInfo.idNo = data.customerIdNumber //证件号码
|
||||
this.userInfo.marriageStatus = data.marryStatus === '1' ? '已婚' : '单身'
|
||||
this.userInfo.marriageStatus = data.marryStatus === '1' ? '已婚' : data.marryStatus === '2' ? '单身' : null
|
||||
this.userInfo.marriage = data.marryStatus
|
||||
this.userInfo.village = data.homeAddress
|
||||
this.userInfo.mobile = data.customerPhone
|
||||
|
||||
Reference in New Issue
Block a user