mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 05:56:47 +08:00
[FIX]万能险bug修复
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<van-icon name="delete" size="22" @click="deleteRisk(index)" class="green" />
|
<van-icon name="delete" size="22" @click="deleteRisk(index)" class="green" />
|
||||||
</div>
|
</div>
|
||||||
<!-- 险种条件-->
|
<!-- 险种条件-->
|
||||||
<div v-if="(item.isRemit == 1 && isTrial === '') || (item.isRemit == 1 && (isTrial !== '' && item.isMainRisk == 1))">
|
<div v-if="(item.isRemit == 1 && isTrial === '') || (item.isRemit == 1 && isTrial !== '' && item.isMainRisk == 1)">
|
||||||
<div v-for="(riskFactor, riskFactorIndex) in item.calFactorLst" :key="riskFactorIndex">
|
<div v-for="(riskFactor, riskFactorIndex) in item.calFactorLst" :key="riskFactorIndex">
|
||||||
<div class="flex justify-content-s pv10 border-bottom" v-if="riskFactor.type == 1">
|
<div class="flex justify-content-s pv10 border-bottom" v-if="riskFactor.type == 1">
|
||||||
<div class="flex align-items-c">
|
<div class="flex align-items-c">
|
||||||
@@ -317,6 +317,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
//判断this.chooseProducts是否含有productTrialYearDTO
|
||||||
|
// this.chooseProducts.forEach((item,index) => {
|
||||||
|
|
||||||
|
// })
|
||||||
|
|
||||||
// this.influenceAddRiskCodes
|
// this.influenceAddRiskCodes
|
||||||
|
|
||||||
if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) {
|
if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) {
|
||||||
@@ -840,7 +845,10 @@ export default {
|
|||||||
console.log(defalutValue, productIndex, calFactorIndex, min, max)
|
console.log(defalutValue, productIndex, calFactorIndex, min, max)
|
||||||
console.log(this.saleInsuredPersonInfo.age)
|
console.log(this.saleInsuredPersonInfo.age)
|
||||||
console.log(riskFactor)
|
console.log(riskFactor)
|
||||||
let currentEle = localStorage.isTrial !== '' && this.chooseProducts[productIndex].isMainRisk == '0' ? this.chooseProducts[productIndex].productTrialYearDTOS[calFactorIndex] : this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
let currentEle =
|
||||||
|
localStorage.isTrial !== '' && this.chooseProducts[productIndex].isMainRisk == '0'
|
||||||
|
? this.chooseProducts[productIndex].productTrialYearDTOS[calFactorIndex]
|
||||||
|
: this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
||||||
//改动原因:孝心保产品有对年龄的特殊要求
|
//改动原因:孝心保产品有对年龄的特殊要求
|
||||||
//添加判断,是否是孝心保产品
|
//添加判断,是否是孝心保产品
|
||||||
if (localStorage.trialList != '' && JSON.parse(localStorage.trialList)[0].productCode == 'GFRS_M0014') {
|
if (localStorage.trialList != '' && JSON.parse(localStorage.trialList)[0].productCode == 'GFRS_M0014') {
|
||||||
|
|||||||
Reference in New Issue
Block a user