fix : 修复费用分摊详情渲染数据问题
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user