GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版)_1 签名页提示语修改、建议书社保状态修改 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-03-16 10:36:26 +08:00
parent e3f93e3001
commit c73212c477
3 changed files with 17 additions and 7 deletions

View File

@@ -443,7 +443,7 @@ export default {
//特殊处理 GFRS_M0016 GFRS_A0004 GFRS_A0005 赔付比例处理
async dogetLimitAndGetRate() {
const orderNo = localStorage.getItem('orderNo')
let detailPromise = this.isFrom === 'proposal' ? new Promise(r => r(localStorage.getItem('proposalMedical'))) : await getOrderDetail({ 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_A0005')) {
//其他产品删掉两个字段
@@ -459,9 +459,9 @@ export default {
if (item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004') {
let isMedical = null
if (this.isFrom === 'proposal') {
isMedical = detailPromise === '1'
isMedical = detailPromise == '1'
} else {
isMedical = detailPromise.orderDTO.insuredDTOs[0].medical === '0'
isMedical = detailPromise.orderDTO.insuredDTOs[0].medical == '0'
}
//根据社保写死两个字段 赔付比例和免赔额
item.calFactorLst.map(i => {