优化建议书的保费计算

This commit is contained in:
xuxingjun
2024-12-19 13:43:21 +08:00
parent 8ed05e2e1a
commit a6685c2360

View File

@@ -835,6 +835,10 @@ export default {
if (item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') {
this.disabledShow = true
}
if(item.hasPredictTransferPrem == '1') {
this.disabledShow = false
}
if ((item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') && this.isFrom == 'proposal') {
item.calFactorLst.forEach((i) => {
if (i.code == 'inputPrem') {
@@ -2156,11 +2160,13 @@ export default {
async getTrial() {
let that = this
let productCode = ''
let hasPredictTransferPrem = ''
let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts'))
if (thisproductInfo && thisproductInfo.length != 0) {
thisproductInfo.forEach((item) => {
if (item.productCode == 'GFRS_M0083' || item.productCode == 'GFRS_M0098' || item.productCode == 'GFRS_M0085') {
productCode = item.productCode
hasPredictTransferPrem = item.hasPredictTransferPrem
}
})
}
@@ -2189,6 +2195,9 @@ export default {
}
}
}
if(hasPredictTransferPrem == '1') {
this.disabledShow = false
}
this.nextStepFlag = true
this.$toast.clear()
this.$toast.loading({