提交更新提示语言

This commit is contained in:
皮伟
2019-12-06 19:48:58 +08:00
parent 44c30b061b
commit 3394e5822f
3 changed files with 11 additions and 10 deletions

View File

@@ -710,18 +710,18 @@ export default {
console.log(value) console.log(value)
this.mult = value this.mult = value
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex] let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
// if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) { if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
// Dialog.alert({ Dialog.alert({
// message: `输入必须为${Number(currentEle.limit) * currentEle.moneyUnit}的整数倍` message: localStorage.hint
// }).then(() => { }).then(() => {
// currentEle.defaultValue = currentEle.rules[productIndex].defaultValue currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
// this.nextStepFlag = true this.nextStepFlag = true
// }) })
// } else { } else {
this.mainRiskInfluenceAddRisk() this.mainRiskInfluenceAddRisk()
currentEle['amt'] = Number(currentEle.defaultValue) * Number(currentEle.moneyUnit) currentEle['amt'] = Number(currentEle.defaultValue) * Number(currentEle.moneyUnit)
this.getTrial() this.getTrial()
// } }
}, },
//下一步 //下一步
async nextStep() { async nextStep() {

View File

@@ -97,6 +97,7 @@ export default {
let resultData = await calculatePremium({ productCodes: [riskProductCode], platform: 'app', type: '1' }) let resultData = await calculatePremium({ productCodes: [riskProductCode], platform: 'app', type: '1' })
if (resultData.result == 0) { if (resultData.result == 0) {
resultData = resultData.trialDTOS[0] resultData = resultData.trialDTOS[0]
localStorage.hint = resultData.hint
if (resultData.productTrialInfoDTO.dutyGroup != null) { if (resultData.productTrialInfoDTO.dutyGroup != null) {
resultData.productTrialInfoDTO.dutyGroup.map(item => { resultData.productTrialInfoDTO.dutyGroup.map(item => {
if (item.dutyName == '意外身故/伤残保险金') { if (item.dutyName == '意外身故/伤残保险金') {

View File

@@ -293,7 +293,7 @@ export default {
} else { } else {
//在app端 //在app端
params.proposalInfoDTO.proposalNo = localStorage.orderNo params.proposalInfoDTO.proposalNo = localStorage.orderNo
this.mainRiskCodes = JSON.parse(localStorage.mainRiskCodes) this.mainRiskCodes = JSON.parse(o.mainRiskCodes)
getDemo(params).then(res => { getDemo(params).then(res => {
this.formatLocal(res) this.formatLocal(res)
}) })