feat:退换各自食堂统计

This commit is contained in:
dzc committed 2025-06-18 11:46:45 +08:00
1 parent 665395611f
commit 8a29349633
1 file changed
+18
+18
View File
@@ -48,6 +48,22 @@
displayPrice(row.walletReducePrice) }}</div>
</template>
</el-table-column>
<!-- start 批量退换食堂 start -->
<el-table-column prop="walletReturnCanteenCount" label="批量退还各自食堂次数" align="center"
min-width="170">
<template #default="{ row }">
<div :class="{ 'color-success': row.walletReturnCanteenCount != 0 }">{{
row.walletReturnCanteenCount }}次</div>
</template>
</el-table-column>
<el-table-column prop="walletReturnCanteenPrice" label="批量退还各自食堂金额" align="center"
min-width="170">
<template #default="{ row }">
<div :class="{ 'color-success': row.walletReturnCanteenPrice != 0 }">{{
displayPrice(row.walletReturnCanteenPrice) }}</div>
</template>
</el-table-column>
<!-- end 批量退换食堂 end -->
<el-table-column prop="walletReduceCount" label="批量扣减次数" align="center" min-width="110">
<template #default="{ row }">
<div :class="{ 'color-success': row.walletReduceCount != 0 }">{{ row.walletReduceCount
@@ -171,6 +187,8 @@ const getSummaries = (param: any) => {
"walletOnceReduceCount",
"orderProfitPrice",
"orderProfitCont",
"walletReturnCanteenCount",
"walletReturnCanteenPrice"
]
const totalRow = Array.from({ length: columns.length })
columns.forEach((i: any, index: number) => {