refactor:优化视图明细导出,导出excel中不需要合计

This commit is contained in:
wangjiahao 2021-07-30 10:23:26 +08:00
parent b06ba1d5ae
commit d641d71753
2 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<label-normal v-if="chart.type.includes('text')" :chart="chart" class="table-class" />
</de-aside-container>
<de-main-container>
<table-normal :chart="chartTable" class="table-class" />
<table-normal :chart="chartTable" :show-summary="false" class="table-class" />
</de-main-container>
</de-container>
</template>

View File

@ -12,7 +12,7 @@
:row-style="getRowStyle"
class="table-class"
:class="chart.id"
show-summary
:show-summary="showSummary"
:summary-method="summaryMethod"
>
<ux-table-column
@ -48,6 +48,11 @@ export default {
default: function() {
return {}
}
},
showSummary: {
type: Boolean,
required: false,
default: true
}
},
data() {