diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index ff696961f..26afa8b65 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -431,7 +431,8 @@ export default { return { isEnterAddtionRisk: true, //附加险list activeRadio: '1', - activeType: localStorage.getItem('active_type'), + // activeType: localStorage.getItem('active_type'), 现在从订单详情接口取值了 + activeType: '', cvalidateFlag: false, cvalidateStr: '', //活动生效日 chooseProducts: [], @@ -504,7 +505,6 @@ export default { this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) } // this.cvalidateFlag = (this.activeType == 'KMH'||this.activeType == 'SQY') && this.isFrom != 'proposal' - this.cvalidateFlag = this.activeType && this.isFrom != 'proposal' // this.cvalidateStr = this.cvalidateFlag?this.activeType == 'KMH'?'2021-01-01':this.activeType == 'SQY'?'2021-06-01':'':'' //GFRS-2552【需求】关于金掌桂投保流程增设指定生效日按钮的申请 const orderNo = this.$CacheUtils.getLocItem('orderNo') @@ -512,7 +512,9 @@ export default { if (this.isFrom != 'proposal') { //活动生效日期 this.cvalidateStr = detailPromise.orderDTO.orderInfoDTO.cvaliDate + this.activeType = detailPromise.orderDTO.orderInfoDTO.activeType } + this.cvalidateFlag = this.activeType && this.isFrom != 'proposal' //构建提交数据、渲染险种 this.chooseProducts = JSON.parse(localStorage.chooseProducts) diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index e27888adf..142738b4b 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -161,7 +161,7 @@ export default { mounted() { if (localStorage.isFrom == 'sale') { // 清除活动标志 - localStorage.removeItem('active_type') + // localStorage.removeItem('active_type') setTimeout(() => { // eslint-disable-next-line no-undef EWebBridge.webCallAppInJs('webview_left_button', { @@ -536,7 +536,7 @@ export default { this.active_show = false this.active_sqy_show = false // localStorage.setItem('active_type', type=='KMH'?this.active_radio == '1'?'KMH':'':type=='SQY'?this.active_sqy_radio=='1'?'SQY':'':'') - localStorage.setItem('active_type', this.activityList[this.active_sqy_radio].isKmh) + // localStorage.setItem('active_type', this.activityList[this.active_sqy_radio].isKmh) if (res.result == 0) { this.$jump({ flag: 'h5',