mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 15:06:45 +08:00
显示校验
This commit is contained in:
@@ -980,17 +980,14 @@ export default {
|
|||||||
// 3.受益人与被保人关系为其他
|
// 3.受益人与被保人关系为其他
|
||||||
if (window.localStorage.getItem('fromAddBeneficiaryInfo') && window.localStorage.getItem('trialList').prem >= '200000') {
|
if (window.localStorage.getItem('fromAddBeneficiaryInfo') && window.localStorage.getItem('trialList').prem >= '200000') {
|
||||||
let beneficiaryInfoList = JSON.parse(window.localStorage.getItem('beneficiaryInfo'))
|
let beneficiaryInfoList = JSON.parse(window.localStorage.getItem('beneficiaryInfo'))
|
||||||
for (let index = 0; index < beneficiaryInfoList.length; index++) {
|
beneficiaryInfoList.map(item => {
|
||||||
// const element = beneficiaryInfoList[index]
|
if (item.relationToInsured == '5') {
|
||||||
if (beneficiaryInfoList[index].relationToInsured == '5') {
|
|
||||||
return true
|
return true
|
||||||
} else {
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
// return true
|
return false
|
||||||
} else {
|
} else {
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
listenChange() {
|
listenChange() {
|
||||||
|
|||||||
Reference in New Issue
Block a user