mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-14 10:06:44 +08:00
【IMP】修改保费试算问题
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
:show-plus="false"
|
:show-plus="false"
|
||||||
:show-minus="false"
|
:show-minus="false"
|
||||||
class="ml30"
|
class="ml30"
|
||||||
@change="stepperChange(item.calFactorLst[riskFactorIndex].defaultValue, index, riskFactorIndex)"
|
@change="stepperChange(item.calFactorLst[riskFactorIndex].defaultValue, index, riskFactorIndex, (riskFactor.minAmt || riskFactor.minPrem), (riskFactor.maxAmt || riskFactor.maxPrem) )"
|
||||||
input-width="100"
|
input-width="100"
|
||||||
:integer="false"
|
:integer="false"
|
||||||
/>
|
/>
|
||||||
@@ -727,26 +727,29 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//保额份数变化
|
//保额份数变化
|
||||||
stepperChange(defalutValue, productIndex, calFactorIndex ) {
|
stepperChange(defalutValue, productIndex, calFactorIndex, min, max ) {
|
||||||
// debugger
|
// debugger
|
||||||
|
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
||||||
|
if (Number(this.defalutAmt) < Number(min) || Number(this.defalutAmt) > Number(max)) {
|
||||||
|
this.$toast(localStorage.hint)
|
||||||
|
this.nextStepFlag = true
|
||||||
|
} else {
|
||||||
|
if ((Number(this.defalutAmt) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||||
|
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
|
||||||
|
this.$toast(localStorage.hint)
|
||||||
|
this.nextStepFlag = true
|
||||||
|
} else {
|
||||||
|
this.mainRiskInfluenceAddRisk()
|
||||||
|
currentEle['amt'] = Number(this.defalutAmt) * Number(currentEle.moneyUnit)
|
||||||
|
this.getTrial()
|
||||||
|
}
|
||||||
|
}
|
||||||
// let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
|
// let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
|
||||||
// currentEle.defaultValue = value
|
// currentEle.defaultValue = value
|
||||||
console.log('进来几次')
|
console.log('进来几次')
|
||||||
this.mult = Number(this.defalutAmt) / Number(defalutValue)
|
this.mult = Number(this.defalutAmt) / Number(defalutValue)
|
||||||
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
|
||||||
if ((Number(this.defalutAmt) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
|
||||||
Dialog.alert({
|
|
||||||
message: localStorage.hint
|
|
||||||
}).then(() => {
|
|
||||||
// debugger
|
|
||||||
this.defalutAmt = currentEle.rules[productIndex].displayAmount
|
|
||||||
// this.nextStepFlag = true
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.mainRiskInfluenceAddRisk()
|
|
||||||
currentEle['amt'] = Number(this.defalutAmt) * Number(currentEle.moneyUnit)
|
|
||||||
this.getTrial()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//下一步
|
//下一步
|
||||||
async nextStep() {
|
async nextStep() {
|
||||||
|
|||||||
Reference in New Issue
Block a user