mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 12:26:44 +08:00
提交更新提示语言
This commit is contained in:
@@ -710,18 +710,18 @@ export default {
|
||||
console.log(value)
|
||||
this.mult = value
|
||||
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
||||
// if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
// Dialog.alert({
|
||||
// message: `输入必须为${Number(currentEle.limit) * currentEle.moneyUnit}的整数倍`
|
||||
// }).then(() => {
|
||||
// currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
|
||||
// this.nextStepFlag = true
|
||||
// })
|
||||
// } else {
|
||||
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
Dialog.alert({
|
||||
message: localStorage.hint
|
||||
}).then(() => {
|
||||
currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
|
||||
this.nextStepFlag = true
|
||||
})
|
||||
} else {
|
||||
this.mainRiskInfluenceAddRisk()
|
||||
currentEle['amt'] = Number(currentEle.defaultValue) * Number(currentEle.moneyUnit)
|
||||
this.getTrial()
|
||||
// }
|
||||
}
|
||||
},
|
||||
//下一步
|
||||
async nextStep() {
|
||||
|
||||
@@ -97,6 +97,7 @@ export default {
|
||||
let resultData = await calculatePremium({ productCodes: [riskProductCode], platform: 'app', type: '1' })
|
||||
if (resultData.result == 0) {
|
||||
resultData = resultData.trialDTOS[0]
|
||||
localStorage.hint = resultData.hint
|
||||
if (resultData.productTrialInfoDTO.dutyGroup != null) {
|
||||
resultData.productTrialInfoDTO.dutyGroup.map(item => {
|
||||
if (item.dutyName == '意外身故/伤残保险金') {
|
||||
|
||||
@@ -293,7 +293,7 @@ export default {
|
||||
} else {
|
||||
//在app端
|
||||
params.proposalInfoDTO.proposalNo = localStorage.orderNo
|
||||
this.mainRiskCodes = JSON.parse(localStorage.mainRiskCodes)
|
||||
this.mainRiskCodes = JSON.parse(o.mainRiskCodes)
|
||||
getDemo(params).then(res => {
|
||||
this.formatLocal(res)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user