main
Jing Li 2024-05-15 13:28:12 +08:00
parent 650c60b9f7
commit 4ae7fbfe8f
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class StoreStatisticController extends AdminController
amis()->TableColumn('store.title', '门店'),
amis()->TableColumn('sales', '收入')->sortable(),
amis()->TableColumn('expenditure', '支出')->sortable(),
amis()->TableColumn('new_customers', '累计人数')->sortable(),
])
)
);
@ -122,6 +123,7 @@ class StoreStatisticController extends AdminController
'门店' => Arr::get($row, 'store.title'),
'收入' => $row['sales'],
'支出' => $row['expenditure'],
'new_customers' => $row['new_customers'],
];
});
} catch (\Throwable $e) {