refactor: 調整統計基準為明細筆數,並恢復庫存查詢為單一細目顯示模式
This commit is contained in:
@@ -40,7 +40,6 @@ interface InventoryItem {
|
||||
last_inbound: string | null;
|
||||
last_outbound: string | null;
|
||||
statuses: string[];
|
||||
is_grouped?: boolean;
|
||||
location: string | null;
|
||||
}
|
||||
|
||||
@@ -493,10 +492,10 @@ export default function StockQueryIndex({
|
||||
<TableCell>
|
||||
{item.warehouse_name}
|
||||
</TableCell>
|
||||
<TableCell className="text-gray-500 text-sm italic">
|
||||
<TableCell className="text-gray-500 text-sm">
|
||||
{item.batch_number || "—"}
|
||||
</TableCell>
|
||||
<TableCell className="text-sm text-gray-500 italic">
|
||||
<TableCell className="text-sm text-gray-500">
|
||||
{item.location || "—"}
|
||||
</TableCell>
|
||||
<TableCell className={`text-right font-medium ${item.quantity < 0 ? "text-red-600" : ""}`}>
|
||||
|
||||
Reference in New Issue
Block a user