mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 03:36:44 +08:00
空数据处理
This commit is contained in:
28
src/views/ebiz/renewalManage/compontents/item.vue
Normal file
28
src/views/ebiz/renewalManage/compontents/item.vue
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<!-- -->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<template v-if="text && text != 0">
|
||||||
|
<van-cell :title="title" :value="text" />
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<van-cell :title="title" value="—" />
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import Vue from 'vue'
|
||||||
|
import { Cell } from 'vant'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
props: ['title', 'text'],
|
||||||
|
name: 'item',
|
||||||
|
components: {},
|
||||||
|
computed: {},
|
||||||
|
mounted() {},
|
||||||
|
methods: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
@@ -81,10 +81,11 @@
|
|||||||
<!-- 续期信息 -->
|
<!-- 续期信息 -->
|
||||||
<van-collapse-item title="续期交费信息" name="100" class="detail-title pb10">
|
<van-collapse-item title="续期交费信息" name="100" class="detail-title pb10">
|
||||||
<van-cell-group>
|
<van-cell-group>
|
||||||
<van-cell title="交费方式" :value="renewalManage.payMode" />
|
<item title="交费方式" :text="renewalManage.payMode"></item>
|
||||||
<van-cell title="转账银行" :value="renewalManage.bankName" />
|
<item title="转账银行" :text="renewalManage.bankName"></item>
|
||||||
<van-cell title="转账账号" :value="renewalManage.bankAccNo" />
|
<item title="转账账号" :text="renewalManage.bankAccNo"></item>
|
||||||
<van-cell title="下次扣款日" :value="renewalManage.paytoDate" />
|
<item title="下次扣款日" :text="renewalManage.paytoDate"></item>
|
||||||
|
|
||||||
<van-cell title="下期扣款金额(元)" :value="renewalManage.xqprem | moneyFormat" />
|
<van-cell title="下期扣款金额(元)" :value="renewalManage.xqprem | moneyFormat" />
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
@@ -109,6 +110,7 @@ import { getAuthCode, autchCodeCheck } from '@/api/ebiz/sale/sale'
|
|||||||
import { checkPhone } from '@/api/ebiz/customer/customer'
|
import { checkPhone } from '@/api/ebiz/customer/customer'
|
||||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典进行页面展示
|
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典进行页面展示
|
||||||
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
|
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
|
||||||
|
import item from './compontents/item'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -159,6 +161,7 @@ export default {
|
|||||||
this.getPolicyDetail()
|
this.getPolicyDetail()
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
item,
|
||||||
[Collapse.name]: Collapse,
|
[Collapse.name]: Collapse,
|
||||||
[CollapseItem.name]: CollapseItem,
|
[CollapseItem.name]: CollapseItem,
|
||||||
[Cell.name]: Cell,
|
[Cell.name]: Cell,
|
||||||
|
|||||||
Reference in New Issue
Block a user