From 73b99fa5ecf37f14d1afb3b5462a85c918bb728e Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Tue, 7 Nov 2023 10:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B5=E5=B7=9E=E5=9C=B0=E5=8C=BA=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=8F=8C=E5=BD=95=E6=8E=A5=E5=8F=A3=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E9=80=BB=E8=BE=91=E6=94=BE=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/SelectedProduct.vue | 46 +++++++++++------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index b8561be52..de01c0edb 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -775,29 +775,29 @@ }) } else { let showFlag = false - // if (this.manageComCode == '52') { - // this.chooseProducts.map(item => { - // if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) { - // showFlag = true - // return true - // } - // }) - // if(!showFlag){ - // let doubleRecordRes = await getDoubleRecordProductLst({}) - // if(doubleRecordRes.result == 0){ - // if(doubleRecordRes.content && doubleRecordRes.content.length != 0){ - // doubleRecordRes.content.forEach(items=>{ - // this.chooseProducts.map(item => { - // if (item.riskCode == items ) { - // showFlag = true - // return true - // } - // }) - // }) - // } - // } - // } - // } + if (this.manageComCode == '52') { + this.chooseProducts.map(item => { + if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) { + showFlag = true + return true + } + }) + if(!showFlag){ + let doubleRecordRes = await getDoubleRecordProductLst({}) + if(doubleRecordRes.result == 0){ + if(doubleRecordRes.content && doubleRecordRes.content.length != 0){ + doubleRecordRes.content.forEach(items=>{ + this.chooseProducts.map(item => { + if (item.riskCode == items ) { + showFlag = true + return true + } + }) + }) + } + } + } + } if (showFlag) { this.thisdoubledialogshow = true } else {