Compare commits

...

6 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
10074276e4 一年期产品责任总保额不想加 2023-09-27 10:02:56 +08:00
liu.xiaofeng@ebiz-digits.com
a46eb907b9 一年期产品基本责任与可选责任保额联动功能编写 2023-09-27 10:02:51 +08:00
liu.xiaofeng@ebiz-digits.com
d1176f2fc6 feature【GFRS-3784】放开一年期产品责任输入保额的输入框 2023-09-27 10:02:47 +08:00
liu.xiaofeng@ebiz-digits.com
e0fc4ff5c5 feature【GFRS-3784】一年期产品设置基础责任不可取消勾选代码逻辑 2023-09-27 10:02:42 +08:00
liu.xiaofeng@ebiz-digits.com
22c55c15ec 【GFRS-3784】一年期产品的责任根据被保人信息动态设置是否可选代码逻辑 2023-09-27 10:00:15 +08:00
liu.xiaofeng@ebiz-digits.com
46543d690c 【GFRS-3784】利益展示页面展示的字段增加单位”元“相关字段的映射 2023-09-27 09:21:20 +08:00
2 changed files with 44 additions and 17 deletions

View File

@@ -3813,10 +3813,6 @@ export default {
{
code: "supplementarySpecificDiseaseInsurance",
label: "元"
},
{
code: "deductible",
label: "免赔额"
}
],
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,

View File

@@ -109,7 +109,6 @@
item.productCode == 'GFRS_M0051' ||
item.productCode == 'GFRS_M0054' ||
item.productCode == 'GFRS_M0073' ||
item.productCode == 'GFRS_M0077' ||
item.productCode == 'GFRS_M0057'
)
"
@@ -128,7 +127,6 @@
item.productCode == 'GFRS_M0051' ||
item.productCode == 'GFRS_M0054' ||
item.productCode == 'GFRS_M0073' ||
item.productCode == 'GFRS_M0077' ||
item.productCode == 'GFRS_M0057'
)
"
@@ -137,10 +135,10 @@
:max="dutyItem.maxDutyAmt"
:show-plus="false"
:show-minus="false"
:disabled="item.productCode == 'GFRS_A0012'"
:disabled="item.productCode == 'GFRS_A0012' || (item.productCode == 'GFRS_M0077' && !dutyItem.necess) || (item.productCode == 'GFRS_M0077' && dutyItem.duty == '311507')"
class="ml10 mr10"
@focus="focusStep"
@blur="blurStep(dutyItem, index)"
@blur="blurStep(dutyItem, index,item.productCode)"
@change="
dutyStepperChange(
item.calFactorLst[riskFactorIndex].rules[dutyItemIndex].defaultDutyAmt,
@@ -1189,6 +1187,23 @@ export default {
})
}
}
if (validateRiskCode === 'GFRS_M0077'){
if(dutyItem.duty == '311507' && dutyItem.necess){
this.chooseProducts.forEach(item => {
item.calFactorLst.map((i) => {
if (i.code == 'dutyGroup') {
if(i.rules && i.rules.length != 0) {
i.rules.forEach(ii=>{
if(ii.duty != '311507' && ii.necess){
dutyItem.defaultDutyAmt = ii.defaultDutyAmt
}
})
}
}
})
})
}
}
this.valiAndSend(dutyItem, productIndex)
},
valiAndSend(dutyItem, productIndex) {
@@ -1218,15 +1233,31 @@ export default {
focusStep() {
this.nextStepFlag = true
},
blurStep(dutyItem, productIndex) {
blurStep(dutyItem, productIndex, productCode) {
this.nextStepFlag = false
//失去焦点时做验证
if (dutyItem.necess) {
//勾选时才做验证
this.valiAndSend(dutyItem, productIndex)
}
},
//失去焦点时做验证
if (dutyItem.necess) {
//勾选时才做验证
this.valiAndSend(dutyItem, productIndex)
}
if(productCode == 'GFRS_M0077'){
this.chooseProducts.forEach(item => {
if (item.mainRiskCode == 'GFRS_M0077') {
item.calFactorLst.map((i) => {
if (i.code == 'dutyGroup') {
if(i.rules && i.rules.length != 0) {
i.rules.forEach(ii=>{
if(ii.duty == '311507' && ii.necess){
ii.defaultDutyAmt = dutyItem.defaultDutyAmt
}
})
}
}
})
}
})
}
},
//险种GFRS_M0016\GFRS_M0070的责任的验证规则
valiDuty(value, duty) {
if (this.mainRiskCode === 'GFRS_M0016') {
@@ -2821,7 +2852,7 @@ export default {
this.trialInfos[index].amt = this.trialList[index].amt
}
// GFRS_A0009,GFRS_A0010 这两款时,责任保额不相加
if(item.productCode == 'GFRS_A0009' || item.productCode == 'GFRS_A0010' || item.productCode == 'GFRS_A0013'|| item.productCode == 'GFRS_A0014'){
if(item.productCode == 'GFRS_A0009' || item.productCode == 'GFRS_A0010' || item.productCode == 'GFRS_A0013'|| item.productCode == 'GFRS_A0014' || item.productCode == 'GFRS_M0077'){
this.trialInfos[index].amt = this.trialList[index].duty[0].amt
}
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费