mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 06:36:44 +08:00
Compare commits
6 Commits
feature/FC
...
release/【2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10074276e4 | ||
|
|
a46eb907b9 | ||
|
|
d1176f2fc6 | ||
|
|
e0fc4ff5c5 | ||
|
|
22c55c15ec | ||
|
|
46543d690c |
@@ -3813,10 +3813,6 @@ export default {
|
||||
{
|
||||
code: "supplementarySpecificDiseaseInsurance",
|
||||
label: "元"
|
||||
},
|
||||
{
|
||||
code: "deductible",
|
||||
label: "免赔额"
|
||||
}
|
||||
],
|
||||
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,
|
||||
|
||||
@@ -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-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
||||
|
||||
Reference in New Issue
Block a user