diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 05c490c9b..0a3935bf6 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -63,16 +63,16 @@ @click="toSelect(index, riskFactorIndex, riskFactor.columns)" /> - +
{{ riskFactor.name }}
- {{ dutyItem.dutyName }}({{ dutyItem.suffix }}) + {{ dutyItem.dutyName }}({{ dutyItem.suffix }}) {{ dutyItem.dutyName }}
{ - if (v.productCode == 'GFRS_M0024') { + if (v.productCode == 'GFRS_M0024' || v.productCode == 'GFRS_M0040') { delete riskDTOLst[i].duty } }) diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue index b360bf315..4e929d977 100644 --- a/src/views/ebiz/common/MainRiskList.vue +++ b/src/views/ebiz/common/MainRiskList.vue @@ -48,18 +48,18 @@ export default { getOrderDetail({ orderNo: localStorage.orderNo }).then( res => { if (res.result == 0) { - //------------------------专为桂企写死--begin---------------// + //------------------------专为桂/惠企写死--begin---------------// if (res.orderDTO.insuredDTOs[0] && res.orderDTO.insuredDTOs[0].riskDTOLst) { this.flag = this.specilFlag = res.orderDTO.insuredDTOs[0].riskDTOLst.some(v => { - return v.riskCode == 'GFRS_M0024' + return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040' }) if (this.flag) { this.specilFlag = '1' } - } else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0024') { + } else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0024' || res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0040') { this.specilFlag = '1' } - // ------------------------专为桂企写死--end---------------// + // ------------------------专为桂/惠企写死--end---------------// // 处理活动产品 this.activeFlag = res.orderDTO.orderInfoDTO.activeType } @@ -123,7 +123,7 @@ export default { //------------------------专为桂企写死--begin---------------// if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') { this.result = this.list.find(v => { - return v.riskProductCode == 'GFRS_M0024' + return v.riskProductCode == 'GFRS_M0024' || v.riskProductCode == 'GFRS_M0040' }) } // ------------------------专为桂企写死--end---------------// diff --git a/src/views/ebiz/product/ProductDetail.vue b/src/views/ebiz/product/ProductDetail.vue index d1c3184ac..4c9f66231 100644 --- a/src/views/ebiz/product/ProductDetail.vue +++ b/src/views/ebiz/product/ProductDetail.vue @@ -102,7 +102,7 @@ export default { localStorage.chooseProductCodes = '' //置空所选险种 let path = `/sale/insuredInfo` let flagPermission = true - if (this.$route.params.productDetailCode == 'GFRSPRO_M0024') { + if (this.$route.params.productDetailCode == 'GFRSPRO_M0024' || this.$route.params.productDetailCode == 'GFRSPRO_M0040') { flagPermission = await riskRules.getProductSellPermissionList('GFRS_M0024', this) let specilFlag = '1' path = `${path}?specilFlag=${specilFlag}` diff --git a/src/views/ebiz/proposal/List.vue b/src/views/ebiz/proposal/List.vue index 91215e820..f7df44e46 100644 --- a/src/views/ebiz/proposal/List.vue +++ b/src/views/ebiz/proposal/List.vue @@ -282,7 +282,7 @@ export default { } } let flag = item.insuredDTOs[0].riskDTOLst.some(v => { - return v.riskCode == 'GFRS_M0024' + return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040' }) if (flag && (await riskRules.getProductSellPermissionList('GFRS_M0024', this))) { return this.$toast('抱歉,您没有该产品的销售权限!') diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index 626064ecf..b0fb03379 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -650,7 +650,7 @@ export default { return Toast.fail('暂不支持组合产品转投保') } } - if (this.mainRiskCodes[0] == 'GFRS_M0024') { + if (this.mainRiskCodes[0] == 'GFRS_M0024' || this.mainRiskCodes[0] == 'GFRS_M0040') { let specilFlag = '1' path = `${path}&specilFlag=${specilFlag}` let flagPermission = await riskRules.getProductSellPermissionList(this.mainRiskCodes[0], this) diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index e94dfe551..26670f0f2 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -572,12 +572,14 @@ export default { //------------------------专为桂企写死--begin---------------// if (res.orderDTO.insuredDTOs[0] && res.orderDTO.insuredDTOs[0].riskDTOLst) { this.specilFlag = res.orderDTO.insuredDTOs[0].riskDTOLst.some(v => { - return v.riskCode == 'GFRS_M0024' + return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040' }) ? '1' : '0' } else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0024') { this.specilFlag = '1' + } else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0040') { + this.specilFlag = '1' } // ------------------------专为桂企写死--end---------------// } @@ -706,6 +708,7 @@ export default { break case '9': this.productCodes.length = 0 + // 已丢弃 this.productCodes.push('GFRS_M0024') getCompany({ productCodes: this.productCodes }).then(res => { if (res.result == 0) { @@ -1253,7 +1256,8 @@ export default { console.log('params :>> ', params) //------------------------专为桂企写死--begin---------------// if (this.specilFlag == '1') { - params.orderDTO.orderInfoDTO.productCode = 'GFRS_M0024' + params.orderDTO.orderInfoDTO.productCode = 'GFRS_M0040' + //params.orderDTO.orderInfoDTO.productCode = 'GFRS_M0024' } // ------------------------专为桂企写死--end---------------// let resultData = await saveOrUpdateOrderInfo(params)