mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 04:46:45 +08:00
Compare commits
2 Commits
feature/FC
...
feature/FM
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c8b7a9b67 | ||
|
|
01300a2caa |
@@ -136,7 +136,7 @@
|
||||
:max="dutyItem.maxDutyAmt"
|
||||
:show-plus="false"
|
||||
:show-minus="false"
|
||||
:disabled="item.productCode == 'GFRS_A0012' || (item.productCode == 'GFRS_M0077' && !dutyItem.necess) || (item.productCode == 'GFRS_M0077' && dutyItem.duty == '311507')"
|
||||
:disabled="item.productCode == 'GFRS_M0088' || 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,item.productCode)"
|
||||
@@ -798,7 +798,6 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
console.log(item,'123231321321')
|
||||
let payEndYearVal
|
||||
//初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007,GFRS_A0009,GFRS_A0010去掉后,附加险list就为空--隐藏’附‘icon
|
||||
item.calFactorLst.map((i) => {
|
||||
@@ -871,7 +870,6 @@
|
||||
//初始化数据试算
|
||||
this.getTrial()
|
||||
})
|
||||
console.log(this.trialList, '')
|
||||
// 判断是否 含有 后台配置js验证函数
|
||||
if (localStorage.ruleExpression) {
|
||||
let ruleExpression = JSON.parse(localStorage.ruleExpression)
|
||||
@@ -918,7 +916,7 @@
|
||||
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
|
||||
this.chooseProducts.map((item) => {
|
||||
if (
|
||||
!(item.mainRiskCode === 'GFRS_M0016' ||item.mainRiskCode === 'GFRS_M0070' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005')
|
||||
!(item.mainRiskCode === 'GFRS_M0016' ||item.mainRiskCode === 'GFRS_M0070' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005' || item.productCode === 'GFRS_M0088')
|
||||
) {
|
||||
//其他产品删掉两个字段
|
||||
let calFactorLst = item.calFactorLst
|
||||
@@ -1215,6 +1213,30 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
if (validateRiskCode === 'GFRS_M0088'){
|
||||
if(dutyItem.duty == '411200' || dutyItem.duty == '411206' || dutyItem.duty == '411207'){
|
||||
this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules.forEach((i) => {
|
||||
if(i.duty == '411200' || i.duty == '411206' || i.duty == '411207'){
|
||||
i.necess = dutyItem.necess
|
||||
} else {
|
||||
if(dutyItem.necess){
|
||||
i.necess = !dutyItem.necess
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
if(dutyItem.duty == '411200_GBC' || dutyItem.duty == '411206_GBC' || dutyItem.duty == '411207_GBC'){
|
||||
this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules.forEach((i) => {
|
||||
if(i.duty == '411200_GBC' || i.duty == '411206_GBC' || i.duty == '411207_GBC'){
|
||||
i.necess = dutyItem.necess
|
||||
} else {
|
||||
if(dutyItem.necess){
|
||||
i.necess = !dutyItem.necess
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
this.valiAndSend(dutyItem, productIndex)
|
||||
},
|
||||
valiAndSend(dutyItem, productIndex) {
|
||||
@@ -1289,7 +1311,6 @@
|
||||
const rule = dutdutyGFRS_M0070RulesyRules[duty]
|
||||
const mutiple = rule.mutiple || DUTY_DEFAULT_MIN
|
||||
const min = rule.min || DUTY_DEFAULT_MIN
|
||||
console.log(rule.min,'rule.min')
|
||||
if (!value || value < min || value % mutiple !== 0) {
|
||||
this.$toast(rule.msg)
|
||||
this.nextStepFlag = true
|
||||
@@ -1565,7 +1586,6 @@
|
||||
},
|
||||
trialBeforeRule() {
|
||||
let that = this
|
||||
console.log('走试算前规则')
|
||||
// 针对于国富人寿附加两全保险附加险(GFRS_A0011),缴费期间期间要等于主险的缴费期间
|
||||
let mainRiskInfo = this.getMainRiskInfo()
|
||||
this.chooseProducts.forEach((item) => {
|
||||
@@ -2492,10 +2512,6 @@
|
||||
}
|
||||
else if (productCode == 'GFRS_M0035' || productCode == 'GFRS_M0044'
|
||||
|| productCode == 'GFRS_M0056' || productCode == 'GFRS_M0057' || productCode == 'GFRS_M0060') {
|
||||
console.log('defalutValue==', defalutValue)
|
||||
console.log("currentEle['amt']==", currentEle['amt'])
|
||||
console.log('riskFactor.rules', riskFactor.rules)
|
||||
console.log('this.saleInsuredPersonInfo.insuredAge ', this.saleInsuredPersonInfo.insuredAge)
|
||||
//被保险人年龄如果在50-65区间
|
||||
if (this.saleInsuredPersonInfo.insuredAge >= 56 && this.saleInsuredPersonInfo.insuredAge <= 60) {
|
||||
//使用rules规则里的第二条控制保额份数
|
||||
@@ -2769,9 +2785,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
// let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
|
||||
// defalutValue = value
|
||||
console.log('进来几次')
|
||||
this.mult = Math.ceil(Number(defalutValue) / Number(riskFactor.defaultValue))
|
||||
},
|
||||
//下一步
|
||||
@@ -2925,8 +2938,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// console.log(riskItem)
|
||||
riskItem = Object.assign(riskItem, this.trialInfos[index])
|
||||
riskDTOLst.push(riskItem)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user