修正庫存報表分頁參數衝突導致明細顯示為空的問題
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user