mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 02:06:43 +08:00
建议书预览数据优化
This commit is contained in:
@@ -201,14 +201,28 @@
|
|||||||
<div class="text-left" style="width: 75%">
|
<div class="text-left" style="width: 75%">
|
||||||
<span>{{ moneyItem.contentLabel }}</span>
|
<span>{{ moneyItem.contentLabel }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right" v-if="moneyItem.content == 'currentBonus_M'">
|
<div v-if="specialCode == 'GFRS_M0098'">
|
||||||
<span class="color_3A81F6">{{ moneyItem.value | numFormat2 }}</span
|
<div class="text-right" v-if="moneyItem.contentLabel == '初始费用' || moneyItem.contentLabel == '进入保单账户的价值'">
|
||||||
>{{ moneyItem.content | productRateUnit }}
|
<span class="color_3A81F6">{{ moneyItem.value | numFormat3 }}</span
|
||||||
|
>{{ moneyItem.content | productRateUnit }}
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
|
||||||
|
>{{ moneyItem.content | productRateUnit }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right" v-else>
|
<div v-else>
|
||||||
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
|
<div class="text-right" v-if="moneyItem.content == 'currentBonus_M'">
|
||||||
>{{ moneyItem.content | productRateUnit }}
|
<span class="color_3A81F6">{{ moneyItem.value | numFormat2 }}</span
|
||||||
|
>{{ moneyItem.content | productRateUnit }}
|
||||||
|
</div>
|
||||||
|
<div class="text-right" v-else>
|
||||||
|
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
|
||||||
|
>{{ moneyItem.content | productRateUnit }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center flex justify-content-e align-items-c fs14 check_age">
|
<div class="text-center flex justify-content-e align-items-c fs14 check_age">
|
||||||
@@ -444,7 +458,8 @@ export default {
|
|||||||
time: 5,
|
time: 5,
|
||||||
proposalNo: '',
|
proposalNo: '',
|
||||||
mainRiskName: '',
|
mainRiskName: '',
|
||||||
ispremshow: true // 是否展示保额
|
ispremshow: true, // 是否展示保额
|
||||||
|
specialCode: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
@@ -465,6 +480,13 @@ export default {
|
|||||||
return '-'
|
return '-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
numFormat3(str) {
|
||||||
|
if (str) {
|
||||||
|
return Number(str.replace(/,/g, '')).toFixed(1)
|
||||||
|
} else {
|
||||||
|
return '-'
|
||||||
|
}
|
||||||
|
},
|
||||||
numFormatNo(str) {
|
numFormatNo(str) {
|
||||||
if (str) {
|
if (str) {
|
||||||
return Number(str.replace(/,/g, '')).toFixed(0)
|
return Number(str.replace(/,/g, '')).toFixed(0)
|
||||||
@@ -791,6 +813,7 @@ export default {
|
|||||||
this.pageShowInfo.appntDTO = res.content.orderDTO.appntDTO
|
this.pageShowInfo.appntDTO = res.content.orderDTO.appntDTO
|
||||||
this.pageShowInfo.insuredDTOs = res.content.orderDTO.insuredDTOs
|
this.pageShowInfo.insuredDTOs = res.content.orderDTO.insuredDTOs
|
||||||
this.pageShowInfo.showInsuredDTO = this.pageShowInfo.insuredDTOs[0]
|
this.pageShowInfo.showInsuredDTO = this.pageShowInfo.insuredDTOs[0]
|
||||||
|
this.specialCode = this.pageShowInfo.showInsuredDTO.riskDTOLst[0].mainRiskCode
|
||||||
let mainRiskNameList = []
|
let mainRiskNameList = []
|
||||||
that.pageShowInfo.insuredDTOs.forEach((item) => {
|
that.pageShowInfo.insuredDTOs.forEach((item) => {
|
||||||
item.riskDTOLst.forEach((item01) => {
|
item.riskDTOLst.forEach((item01) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user