mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 13:36:45 +08:00
Merge branch 'hotfix/【20210115】试算接口豁免险保费置空处理' into dev
This commit is contained in:
@@ -651,7 +651,9 @@ export default {
|
|||||||
const orderNo = localStorage.getItem('orderNo')
|
const orderNo = localStorage.getItem('orderNo')
|
||||||
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
|
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
|
||||||
this.chooseProducts.map(item => {
|
this.chooseProducts.map(item => {
|
||||||
if (!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005')) {
|
if (
|
||||||
|
!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005')
|
||||||
|
) {
|
||||||
//其他产品删掉两个字段
|
//其他产品删掉两个字段
|
||||||
let calFactorLst = item.calFactorLst
|
let calFactorLst = item.calFactorLst
|
||||||
for (let i = calFactorLst.length - 1; i >= 0; i--) {
|
for (let i = calFactorLst.length - 1; i >= 0; i--) {
|
||||||
@@ -958,8 +960,10 @@ export default {
|
|||||||
|
|
||||||
// 保额只能为5000 10000 15000 200000
|
// 保额只能为5000 10000 15000 200000
|
||||||
if (currentEle.duty == '320404') {
|
if (currentEle.duty == '320404') {
|
||||||
if (this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['mainRisk']
|
if (
|
||||||
|| this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['otmainRisk']) {
|
this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['mainRisk'] ||
|
||||||
|
this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['otmainRisk']
|
||||||
|
) {
|
||||||
if (!(value == '0.5' || value == '1')) {
|
if (!(value == '0.5' || value == '1')) {
|
||||||
this.$toast(dutyGFRS_A0008Rules[currentEle.duty].msg_2)
|
this.$toast(dutyGFRS_A0008Rules[currentEle.duty].msg_2)
|
||||||
this.nextStepFlag = true
|
this.nextStepFlag = true
|
||||||
@@ -1366,10 +1370,7 @@ export default {
|
|||||||
: Number(factor.displayAmount) * Number(factor.moneyUnit)
|
: Number(factor.displayAmount) * Number(factor.moneyUnit)
|
||||||
} else {
|
} else {
|
||||||
if (item.isRemit == 0) {
|
if (item.isRemit == 0) {
|
||||||
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
|
trialInfo['amt'] = null
|
||||||
if (item.productCode === 'GFRS_A0001' || item.productCode === 'GFRS_A0007') {
|
|
||||||
trialInfo['amt'] = factor.defaultValue
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
|
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user