mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 06:36:44 +08:00
Compare commits
10 Commits
release/【2
...
feature/FC
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bcb9ed7ac | ||
|
|
396410535c | ||
|
|
ea52bab5e7 | ||
|
|
936db926f2 | ||
|
|
a148025a53 | ||
|
|
ee7fba89fc | ||
|
|
cfccf3f534 | ||
|
|
d0a2e90ea9 | ||
|
|
c163d7c415 | ||
|
|
6baeaec9b1 |
@@ -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_A0007,GFRS_A0009,GFRS_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 == "一次性交清") {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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
|
||||
}
|
||||
// 获取投保人信息
|
||||
|
||||
Reference in New Issue
Block a user