mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
中介渠道鑫管家B款产品试算页面逻辑处理以及建议书利益演算隐藏保额
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
:show-plus="false"
|
:show-plus="false"
|
||||||
:show-minus="false"
|
:show-minus="false"
|
||||||
class="ml30"
|
class="ml30"
|
||||||
:disabled="item.productCode == 'GFRS_M0083' && isFrom != 'proposal'"
|
:disabled="(item.productCode == 'GFRS_M0083' || item.productCode == 'GFRS_M0085') && isFrom != 'proposal'"
|
||||||
@change="
|
@change="
|
||||||
stepperChange(
|
stepperChange(
|
||||||
item.calFactorLst[riskFactorIndex].displayAmount,
|
item.calFactorLst[riskFactorIndex].displayAmount,
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
placeholder="请录入保单号或者投保单号,如果关联多个保单,请用\隔开"
|
placeholder="请录入保单号或者投保单号,如果关联多个保单,请用\隔开"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex justify-content-s pv10 border-bottom prem" v-if="item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083'">
|
<div class="flex justify-content-s pv10 border-bottom prem" v-if="item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083' && item.productCode != 'GFRS_M0085'">
|
||||||
<!-- trialType 0-保额算保费,1-保费算保额 -->
|
<!-- trialType 0-保额算保费,1-保费算保额 -->
|
||||||
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
|
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
|
||||||
<span
|
<span
|
||||||
@@ -789,7 +789,7 @@
|
|||||||
this.isEnterAddtionRiskListFunc()
|
this.isEnterAddtionRiskListFunc()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.mainRiskCode == 'GFRS_M0083' && this.isFrom == 'proposal') {
|
if ((item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0085') && this.isFrom == 'proposal') {
|
||||||
item.calFactorLst.forEach((i) => {
|
item.calFactorLst.forEach((i) => {
|
||||||
if (i.code == "inputPrem") {
|
if (i.code == "inputPrem") {
|
||||||
i.minPrem = 0.01
|
i.minPrem = 0.01
|
||||||
@@ -2019,13 +2019,13 @@
|
|||||||
let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts'))
|
let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts'))
|
||||||
if(thisproductInfo && thisproductInfo.length != 0) {
|
if(thisproductInfo && thisproductInfo.length != 0) {
|
||||||
thisproductInfo.forEach(item => {
|
thisproductInfo.forEach(item => {
|
||||||
if(item.productCode == 'GFRS_M0083') {
|
if(item.productCode == 'GFRS_M0083' || item.productCode == 'GFRS_M0085') {
|
||||||
productCode = item.productCode
|
productCode = item.productCode
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(this.isFrom != 'proposal'){
|
if(this.isFrom != 'proposal'){
|
||||||
if(productCode == 'GFRS_M0083'){
|
if(productCode == 'GFRS_M0083' || productCode == 'GFRS_M0085'){
|
||||||
if(!that.policyNo){
|
if(!that.policyNo){
|
||||||
that.chooseProducts.forEach(item=>{
|
that.chooseProducts.forEach(item=>{
|
||||||
item.calFactorLst.forEach(ii=>{
|
item.calFactorLst.forEach(ii=>{
|
||||||
@@ -2699,7 +2699,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (productCode == 'GFRS_M0083') {
|
else if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0085') {
|
||||||
if(this.isFrom != 'proposal'){
|
if(this.isFrom != 'proposal'){
|
||||||
if(!this.policyNo && defalutValue < 5) {
|
if(!this.policyNo && defalutValue < 5) {
|
||||||
this.$toast('单独投保,保费为大于等于50000元')
|
this.$toast('单独投保,保费为大于等于50000元')
|
||||||
|
|||||||
@@ -51,14 +51,14 @@
|
|||||||
<div class="fs12 div_4">
|
<div class="fs12 div_4">
|
||||||
<div class="risk_head flex text-center line-height table fs12 bg_DBEFFE">
|
<div class="risk_head flex text-center line-height table fs12 bg_DBEFFE">
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">投保险种</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">投保险种</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border" v-if="mainRiskCodes[0] != 'GFRS_M0080' && mainRiskCodes[0] != 'GFRS_M0083'">保额(元)</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border" v-if="ispremshow">保额(元)</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">保险期间</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">保险期间</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">交费期间</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">交费期间</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">首年保费(元)</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">首年保费(元)</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="risk_body flex text-center table bg_f7fbff" v-for="(riskItem, index) in pageShowInfo.showInsuredDTO.riskDTOLst" :key="index">
|
<div class="risk_body flex text-center table bg_f7fbff" v-for="(riskItem, index) in pageShowInfo.showInsuredDTO.riskDTOLst" :key="index">
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">{{ riskItem.riskName }}</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">{{ riskItem.riskName }}</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border" v-if="mainRiskCodes[0] != 'GFRS_M0080' && mainRiskCodes[0] != 'GFRS_M0083'">{{ riskItem.amt ? riskItem.amt : '--' }}</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border" v-if="ispremshow">{{ riskItem.amt ? riskItem.amt : '--' }}</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.insureName }}</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.insureName }}</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.payName }}</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.payName }}</div>
|
||||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.showPrem ? riskItem.showPrem : '--' }}</div>
|
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.showPrem ? riskItem.showPrem : '--' }}</div>
|
||||||
@@ -386,7 +386,8 @@ export default {
|
|||||||
mainRiskCodes: [],
|
mainRiskCodes: [],
|
||||||
time: 5,
|
time: 5,
|
||||||
proposalNo:'',
|
proposalNo:'',
|
||||||
mainRiskName: ''
|
mainRiskName: '',
|
||||||
|
ispremshow: true, // 是否展示保额
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
@@ -729,6 +730,9 @@ export default {
|
|||||||
that.pageShowInfo.insuredDTOs.forEach(item => {
|
that.pageShowInfo.insuredDTOs.forEach(item => {
|
||||||
item.riskDTOLst.forEach(item01 => {
|
item.riskDTOLst.forEach(item01 => {
|
||||||
if (item01.isMainRisk == '0') {
|
if (item01.isMainRisk == '0') {
|
||||||
|
if(item01.mainRiskCode == 'GFRS_M0080' || item01.mainRiskCode == 'GFRS_M0083' || item01.mainRiskCode == 'GFRS_M0085') {
|
||||||
|
that.ispremshow = false
|
||||||
|
}
|
||||||
mainRiskNameList.push(item01.riskName)
|
mainRiskNameList.push(item01.riskName)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user