From db66c340987fbe3d999c6c80ae9f7a9512fd9bb4 Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Wed, 10 May 2023 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9B=BD=E5=AF=8C=E4=BA=BA=E5=AF=BF?= =?UTF-8?q?=E3=80=91=E8=AF=95=E7=AE=97=E9=A1=B5=E9=9D=A2=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E4=B8=AD=E8=A2=AB=E4=BF=9D?= =?UTF-8?q?=E4=BA=BA=E8=81=8C=E4=B8=9A=E4=BF=A1=E6=81=AF=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEjobLevel=E5=AD=97=E6=AE=B5=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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