diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index d2bc56dc9..b8180c8a4 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -2004,7 +2004,15 @@ //试算 async getTrial() { let that = this - let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode + let productCode = '' + let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts')) + if(thisproductInfo && thisproductInfo.length != 0) { + thisproductInfo.forEach(item => { + if(item.productCode == 'GFRS_M0083') { + productCode = item.productCode + } + }) + } if(productCode == 'GFRS_M0083'){ if(!that.policyNo){ that.chooseProducts.forEach(item=>{