mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 16:56:43 +08:00
受益人必填校验
This commit is contained in:
@@ -204,6 +204,9 @@
|
||||
<span>受益人附件</span>
|
||||
</div>
|
||||
<div class="m20 bg-white">
|
||||
<van-cell-group>
|
||||
<van-field required label="受益人附件上传" disabled />
|
||||
</van-cell-group>
|
||||
<div @click="test('fileListtypebeneficiary', saleInsuredPersonInfo.idType)" class="flex">
|
||||
<van-uploader
|
||||
name="fileListtypebeneficiary"
|
||||
@@ -1004,7 +1007,8 @@ export default {
|
||||
fileListBankInsured,
|
||||
fileLIstImgInsured,
|
||||
saleInsuredPersonInfoOther,
|
||||
saleInsuredInfoOther
|
||||
saleInsuredInfoOther,
|
||||
fileListtypebeneficiary
|
||||
} = this
|
||||
console.log(this)
|
||||
return {
|
||||
@@ -1019,12 +1023,14 @@ export default {
|
||||
fileLIstImgInsured,
|
||||
fileLIstImg,
|
||||
saleInsuredPersonInfoOther,
|
||||
saleInsuredInfoOther
|
||||
saleInsuredInfoOther,
|
||||
fileListtypebeneficiary
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
listenChange(val) {
|
||||
console.log(this.typebeneficiary, 'typebeneficiary')
|
||||
let that = this
|
||||
if (
|
||||
(val.fileListIdFront.length != '0' &&
|
||||
@@ -1127,7 +1133,11 @@ export default {
|
||||
) {
|
||||
that.isDisabled = false
|
||||
} else {
|
||||
that.isDisabled = true
|
||||
if ((that.typebeneficiary && val.fileListtypebeneficiary.length != '0') || (!that.typebeneficiary && val.fileListtypebeneficiary.length == '0')) {
|
||||
that.isDisabled = true
|
||||
} else {
|
||||
that.isDisabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user