修正庫存報表分頁參數衝突導致明細顯示為空的問題

This commit is contained in:
2026-02-10 16:07:31 +08:00
parent 8b950f6529
commit 593ce94734
15 changed files with 1210 additions and 30 deletions

View File

@@ -63,7 +63,7 @@ const statusConfig: Record<string, { label: string; className: string }> = {
export default function Dashboard({ stats, abnormalItems }: Props) {
const cards = [
{
label: "庫存品項數",
label: "庫存明細數",
value: stats.totalItems,
icon: <Package className="h-6 w-6" />,
color: "text-primary-main",
@@ -218,8 +218,8 @@ export default function Dashboard({ stats, abnormalItems }: Props) {
</TableCell>
<TableCell
className={`text-right font-medium ${item.quantity < 0
? "text-red-600"
: ""
? "text-red-600"
: ""
}`}
>
{item.quantity}