mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
.中介渠道,交费方式为一次交清,主险删除附
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
<van-tag type="primary" v-if="item.isMainRisk == 0" class="mr5 green" plain>主险</van-tag>
|
||||
<van-tag type="primary" v-else class="mr5 green" plain>附加险</van-tag>
|
||||
<span class="ml5 center fs13 flex1">{{ item.riskName }}</span>
|
||||
<van-tag type="primary" v-if="item.isMainRisk == 0 && item.hasAddtionRisk" plain @click="selectAddtionRisk" class="green mr8">附</van-tag>
|
||||
<van-tag type="primary" v-if="item.isMainRisk == 0 && item.hasAddtionRisk && isEnterAddtionRisk" plain @click="selectAddtionRisk" class="green mr8"
|
||||
>附</van-tag
|
||||
>
|
||||
<van-icon name="search" size="20" v-if="item.documentDTOS && item.documentDTOS.length > 0" @click="seeDocument(index)" class="green mr5" />
|
||||
<van-icon name="delete" size="22" @click="deleteRisk(index)" class="green" />
|
||||
</div>
|
||||
@@ -270,9 +272,11 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="flex justify-content-s pv10 border-bottom prem">
|
||||
<!-- trialType 0-保额算保费,1-保费算保额 -->
|
||||
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
|
||||
<span
|
||||
style="font-weight:bold"
|
||||
v-if="(trialList.length > 0 && trialList[index].trialType == 0) || (trialList.length > 0 && trialList[index].trialType == 2) || isTrial === '0'"
|
||||
v-if="(trialList.length > 0 && trialList[index].trialType == 0) || (trialList.length > 0 && trialList[index].trialType == 2)"
|
||||
>
|
||||
首期保费(元):
|
||||
</span>
|
||||
@@ -385,6 +389,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isEnterAddtionRisk: true, //附加险list
|
||||
activeRadio: '1',
|
||||
activeType: localStorage.getItem('active_type'),
|
||||
chooseProducts: [],
|
||||
@@ -468,6 +473,14 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
//初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
|
||||
item.calFactorLst.map(i => {
|
||||
if (i.code == 'payEndYear') {
|
||||
if (i.payEndYear == '1000' && i.payEndYearFlag == 'Y') {
|
||||
this.isEnterAddtionRiskListFunc()
|
||||
}
|
||||
}
|
||||
})
|
||||
// if (item.productCode == 'GFRS_A0003') {
|
||||
// //该附加险的责任保额=主险的保费
|
||||
// item.calFactorLst.map(v => {
|
||||
@@ -778,6 +791,12 @@ export default {
|
||||
})
|
||||
this.defalutAmt = 1
|
||||
}
|
||||
//中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
|
||||
if (currentEle.code == 'payEndYear' && value.value == '1000') {
|
||||
this.isEnterAddtionRiskListFunc()
|
||||
} else {
|
||||
this.isEnterAddtionRisk = true
|
||||
}
|
||||
|
||||
if (currentEle.showContent != value.text) {
|
||||
//通用规则校验
|
||||
@@ -1026,6 +1045,21 @@ export default {
|
||||
return false
|
||||
}
|
||||
},
|
||||
//中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
|
||||
isEnterAddtionRiskListFunc() {
|
||||
let addtionRiskLst = JSON.parse(localStorage.addtionRiskLst)
|
||||
let list = []
|
||||
addtionRiskLst.forEach((item, index) => {
|
||||
if (item.productCode != 'GFRS_A0007' && item.productCode != 'GFRS_A0009') {
|
||||
list.push(item)
|
||||
}
|
||||
})
|
||||
if (list.length) {
|
||||
this.isEnterAddtionRisk = true
|
||||
} else {
|
||||
this.isEnterAddtionRisk = false
|
||||
}
|
||||
},
|
||||
getPayEndYearOrInsuYear(flag, currentFactor) {
|
||||
let returnVal
|
||||
currentFactor.forEach(item => {
|
||||
@@ -1815,7 +1849,7 @@ export default {
|
||||
orderType: 'RISK_ORDER',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: localStorage.orderNo
|
||||
orderNo: this.$CacheUtils.getLocItem(orderNo)
|
||||
},
|
||||
// appntDTO: {},
|
||||
insuredDTOs: [insuredDTOItem]
|
||||
|
||||
Reference in New Issue
Block a user