diff --git a/src/views/ebiz/sale/AttachmentManagement.vue b/src/views/ebiz/sale/AttachmentManagement.vue index 3dd0fed10..9b670ee6e 100644 --- a/src/views/ebiz/sale/AttachmentManagement.vue +++ b/src/views/ebiz/sale/AttachmentManagement.vue @@ -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() {