显示校验

This commit is contained in:
邓晓坤
2019-10-14 17:24:39 +08:00
parent eea9a81e8f
commit bb15f8a28a

View File

@@ -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() {