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