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