story#7189,认证页radio回显处理

This commit is contained in:
2025-09-10 09:20:41 +08:00
parent 620e6b5ad4
commit fda0139a06
2 changed files with 29 additions and 91 deletions

View File

@ -16,8 +16,8 @@
<div class="natureWrap">
<span class="title"><span class="star">*</span>业务性质</span>
<van-radio-group @change="radioChange" v-model="form.businessNature" class="flexWrap">
<van-radio name="1">全国跑圈业务</van-radio>
<van-radio name="2">固定区域救援业务</van-radio>
<van-radio :name="1">全国跑圈业务</van-radio>
<van-radio :name="2">固定区域救援业务</van-radio>
</van-radio-group>
</div>
<div class="natureWrap regionWrap" v-if="form.businessNature == 2" >
@ -225,6 +225,7 @@
verifyType: 3
})
leftCopy(this.form, {...res?.data?.vehicleInfoData})
console.log("this.form",this.form)
this.form.carrierLiabilityInsurancePhoto=this.form.carrierLiabilityInsurancePhoto ? res?.data?.vehicleInfoData?.carrierLiabilityInsurancePhoto?.split(',') : []
if(this.form.businessNature==2){
this.region=res?.data?.vehicleInfoData?.region
@ -297,11 +298,11 @@
}, 100)
},
carrierHandler(data) { // 承运人责任险照片
console.log("data",data)
this.form.carrierLiabilityInsurancePhoto = data
},
insureHandle(val){
this.form.hasInsurancePhoto=val
console.log(' this.form.hasInsurancePhoto', this.form.hasInsurancePhoto)
},
vehicleFrontInit() {
this.form.licensePlateNumber = ''