diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 1efc1610d..32e97ce43 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -607,6 +607,21 @@ export default { //GFRS-2552【需求】关于金掌桂投保流程增设指定生效日按钮的申请 const orderNo = this.$CacheUtils.getLocItem('orderNo') let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo }) + + let collect = (data,code) => { + data.forEach(item => { + if (item.code == code) { + this.saleInsuredPersonInfo.healthGrade = item.healthGrade + this.saleInsuredPersonInfo.lifeGrade = item.lifeGrade + } else { + if (item.subs && item.subs.length != 0) { + collect(item.subs,code) + } + } + }) + } + collect(occupationList,detailPromise.orderDTO.insuredDTOs[0].occupationCode) + if (this.isFrom != 'proposal') { //活动生效日期 this.cvalidateStr = detailPromise.orderDTO.orderInfoDTO.cvaliDate