fix : 修复费用分摊详情渲染数据问题

This commit is contained in:
2024-06-06 01:15:12 +08:00
parent 1c204b39df
commit ec4c61d758
6 changed files with 64 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div v-loading="loading">
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig" :data="detailList.formData">
<fvTable v-if="showTable" ref="tableIns" :tableConfig="tableConfig" :data="detailList">
<template #empty>
<el-empty description="暂无数据"/>
</template>
@@ -102,6 +102,10 @@ const props = defineProps({
loading: {
type: Boolean,
default: false
},
showTable: {
type: Boolean,
default: true
}
})
const search = (val) => {
@@ -111,6 +115,9 @@ const search = (val) => {
watch(() => props.loading, (val) => {
props.loading=val
})
watch(() => props.showTable, (val) => {
props.showTable=val
})
</script>
<style scoped>