Compare commits

...

10 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
1bcb9ed7ac 国富人寿鑫管家B款终身寿险(万能型)产品利益演示页面动态利率按钮调整 2023-11-28 15:27:37 +08:00
liu.xiaofeng@ebiz-digits.com
396410535c 建议书保费试算页面鑫管家B款终身寿险(万能型)改动保额不调用试算接口 2023-11-26 23:46:12 +08:00
liu.xiaofeng@ebiz-digits.com
ea52bab5e7 自动获取试算接口信息并隐藏保费试算页面显示的保额字段 计划书利益演算页面隐藏保额相关字段 2023-11-26 18:35:02 +08:00
liu.xiaofeng@ebiz-digits.com
936db926f2 投保那显示的字段里,也修改一下:单独投保保费为5万元
如果输入关联保单,自动跳为100元
不给更改
2023-11-25 17:43:47 +08:00
liu.xiaofeng@ebiz-digits.com
a148025a53 鑫管家B款终身寿险(万能型)清空关联的保单时 重置保费默认值1 2023-11-21 16:33:32 +08:00
liu.xiaofeng@ebiz-digits.com
ee7fba89fc 鑫管家B款终身寿险(万能型)清空关联的保单时 重置保费默认值 2023-11-21 16:20:21 +08:00
liu.xiaofeng@ebiz-digits.com
cfccf3f534 单独投保,保费为大于等于50000元 2023-11-20 18:02:13 +08:00
liu.xiaofeng@ebiz-digits.com
d0a2e90ea9 单独投保,保费为大于等于50000元 2023-11-20 17:26:38 +08:00
liu.xiaofeng@ebiz-digits.com
c163d7c415 单独投保,保费为大于等于50000元 2023-11-20 17:22:19 +08:00
liu.xiaofeng@ebiz-digits.com
6baeaec9b1 国富人寿鑫管家B款终身寿险(万能型)增加抄录 2023-11-14 17:28:05 +08:00
4 changed files with 85 additions and 12 deletions

View File

@@ -37,6 +37,7 @@
:show-plus="false"
:show-minus="false"
class="ml30"
:disabled="item.productCode == 'GFRS_M0083' && isFrom != 'proposal'"
@change="
stepperChange(
item.calFactorLst[riskFactorIndex].displayAmount,
@@ -319,7 +320,7 @@
placeholder="请录入保单号或者投保单号,如果关联多个保单,请用\隔开"
/>
</div>
<div class="flex justify-content-s pv10 border-bottom prem" v-if="item.productCode != 'GFRS_M0080'">
<div class="flex justify-content-s pv10 border-bottom prem" v-if="item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083'">
<!-- trialType 0-保额算保费1-保费算保额 -->
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
<span
@@ -788,6 +789,16 @@
this.isEnterAddtionRiskListFunc()
}
}
if (item.mainRiskCode == 'GFRS_M0083' && this.isFrom == 'proposal') {
item.calFactorLst.forEach((i) => {
if (i.code == "inputPrem") {
i.minPrem = 0.01
i.displayAmount = 0.01
i.defaultValue = 0.01
}
})
}
console.log(item,'123231321321')
let payEndYearVal
//初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007GFRS_A0009GFRS_A0010去掉后附加险list就为空--隐藏icon
item.calFactorLst.map((i) => {
@@ -2004,6 +2015,38 @@
//试算
async getTrial() {
let that = this
let productCode = ''
let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts'))
if(thisproductInfo && thisproductInfo.length != 0) {
thisproductInfo.forEach(item => {
if(item.productCode == 'GFRS_M0083') {
productCode = item.productCode
}
})
}
if(this.isFrom != 'proposal'){
if(productCode == 'GFRS_M0083'){
if(!that.policyNo){
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 5
ii.displayAmount = 5
}
})
})
} else {
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 0.01
ii.displayAmount = 0.01
}
})
})
}
}
}
this.nextStepFlag = true
this.$toast.clear()
this.$toast.loading({
@@ -2656,6 +2699,22 @@
}
}
}
else if (productCode == 'GFRS_M0083') {
if(this.isFrom != 'proposal'){
if(!this.policyNo && defalutValue < 5) {
this.$toast('单独投保保费为大于等于50000元')
currentEle['minPrem'] = 5
} else if(this.policyNo && defalutValue < 0.01) {
this.$toast('与其他主险关联投保时保费要求保费大于等于100元')
currentEle['minPrem'] = 0.01
}
} else {
if(defalutValue < 0.01){
currentEle['minPrem'] = 0.01
this.$toast('保费最小100元')
}
}
}
else if (this.isTrial === '0' && this.chooseProducts[productIndex].isMainRisk == '0') {
if (Number(defalutValue) < Number(min)) {
if (riskFactor.yearWay == "一次性交清") {

View File

@@ -51,14 +51,14 @@
<div class="fs12 div_4">
<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 table_border" v-if="mainRiskCodes[0] != 'GFRS_M0080'">保额(</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">保险期间</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 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 table_border" v-if="mainRiskCodes[0] != 'GFRS_M0080'">{{ riskItem.amt ? riskItem.amt : '--' }}</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">{{ 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.showPrem ? riskItem.showPrem : '--' }}</div>

View File

@@ -150,16 +150,30 @@ export function relevanceByInsure(insured, insuredLabelResult, insuredResult, in
let defaulValue = 'M' //档位默认值
let radios = []
if(currentInsuredInfo.L){
radios.push({
label: '低档' + currentInsuredInfo.L,
value: 'L'
})
if(risk.mainRiskCode == 'GFRS_M0083') {
radios.push({
label: '保证' + currentInsuredInfo.L,
value: 'L'
})
} else {
radios.push({
label: '低档' + currentInsuredInfo.L,
value: 'L'
})
}
}
if(currentInsuredInfo.M){
radios.push({
label: '中档' + currentInsuredInfo.M,
value: 'M'
})
if(risk.mainRiskCode == 'GFRS_M0083') {
radios.push({
label: '演示' + currentInsuredInfo.M,
value: 'M'
})
} else {
radios.push({
label: '中档' + currentInsuredInfo.M,
value: 'M'
})
}
}
if(currentInsuredInfo.H){
radios.push({

View File

@@ -1087,7 +1087,7 @@
that.signVal = window.localStorage.getItem('sign-val')
// 判断是不是万能险
let comment = window.localStorage.getItem('productCode')
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015' || comment == 'GFRS_M0017' || comment == 'GFRS_M0075' || comment == 'GFRS_M0080') {
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015' || comment == 'GFRS_M0017' || comment == 'GFRS_M0075' || comment == 'GFRS_M0080' || comment == 'GFRS_M0083') {
this.isComment = true
}
// 获取投保人信息