From 5d6a19a8c121901ea3c1b97106bf41569677fd80 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Thu, 14 May 2020 11:21:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=BD=BF=E7=94=A8=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E9=80=A0=E6=88=90=E7=9A=84=E6=8A=95=E8=A2=AB=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E4=BA=BA=E6=97=B6=EF=BC=8C=E6=98=BE=E7=8E=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/NotifyingMessage.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/ebiz/sale/NotifyingMessage.vue b/src/views/ebiz/sale/NotifyingMessage.vue index 2ba8734e7..759a96fb3 100644 --- a/src/views/ebiz/sale/NotifyingMessage.vue +++ b/src/views/ebiz/sale/NotifyingMessage.vue @@ -200,11 +200,13 @@ export default { if (insuredImpartDTO.impartItemDTOS) { this.impartDTOS.push({ impartItemDTOS: insuredImpartDTO.impartItemDTOS, impartType: insuredImpartDTO.impartType }) } - if (insuredPersionFinanceImpartDTO.impartItemDTOS) { - this.impartDTOS.push({ impartItemDTOS: insuredPersionFinanceImpartDTO.impartItemDTOS, impartType: insuredPersionFinanceImpartDTO.impartType }) - } - if (insuredPersionImpartDTO.impartItemDTOS) { - this.impartDTOS.push({ impartItemDTOS: insuredPersionImpartDTO.impartItemDTOS, impartType: insuredPersionImpartDTO.impartType }) + if(this.relationToAppnt != '1'){ + if (insuredPersionFinanceImpartDTO.impartItemDTOS) { + this.impartDTOS.push({ impartItemDTOS: insuredPersionFinanceImpartDTO.impartItemDTOS, impartType: insuredPersionFinanceImpartDTO.impartType }) + } + if (insuredPersionImpartDTO.impartItemDTOS) { + this.impartDTOS.push({ impartItemDTOS: insuredPersionImpartDTO.impartItemDTOS, impartType: insuredPersionImpartDTO.impartType }) + } } this.impartDTOS.map(v => { v.impartItemDTOS.map(i => { @@ -569,7 +571,7 @@ export default { orderDTO: { orderInfoDTO: { orderNo: window.localStorage.getItem('orderNo'), - productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode + productCode: JSON.parse(localStorage.trialList)[0].productCode }, // 投保人 @@ -606,7 +608,7 @@ export default { orderDTO: { orderInfoDTO: { orderNo: window.localStorage.getItem('orderNo'), - productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode + productCode: JSON.parse(localStorage.trialList)[0].productCode }, // 投保人 @@ -640,7 +642,7 @@ export default { orderDTO: { orderInfoDTO: { orderNo: window.localStorage.getItem('orderNo'), - productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode + productCode: JSON.parse(localStorage.trialList)[0].productCode }, // 投保人