Merge branch 'hotfix/【20210115】试算接口豁免险保费置空处理' into dev

This commit is contained in:
mengxiaolong
2021-01-15 16:17:37 +08:00

View File

@@ -651,7 +651,9 @@ export default {
const orderNo = localStorage.getItem('orderNo')
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
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
for (let i = calFactorLst.length - 1; i >= 0; i--) {
@@ -958,8 +960,10 @@ export default {
// 保额只能为5000 10000 15000 200000
if (currentEle.duty == '320404') {
if (this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['mainRisk']
|| this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['otmainRisk']) {
if (
this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['mainRisk'] ||
this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['otmainRisk']
) {
if (!(value == '0.5' || value == '1')) {
this.$toast(dutyGFRS_A0008Rules[currentEle.duty].msg_2)
this.nextStepFlag = true
@@ -1366,10 +1370,7 @@ export default {
: Number(factor.displayAmount) * Number(factor.moneyUnit)
} else {
if (item.isRemit == 0) {
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
if (item.productCode === 'GFRS_A0001' || item.productCode === 'GFRS_A0007') {
trialInfo['amt'] = factor.defaultValue
}
trialInfo['amt'] = null
} else {
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
}