fix(Inventory): 修復庫存列表批號欄位與新增庫存頁面儲位欄位遺失問題,並還原批號輸入佈局

This commit is contained in:
2026-02-06 17:35:50 +08:00
parent e018b75783
commit f22df90e01
8 changed files with 48 additions and 8 deletions

View File

@@ -47,6 +47,7 @@ export interface WarehouseInventory {
safetyStock: number | null;
status?: '正常' | '低於'; // 後端可能回傳的狀態
batchNumber: string; // 批號 (Mock for now)
location?: string; // 儲位/貨道
expiryDate: string;
lastInboundDate: string | null;
lastOutboundDate: string | null;
@@ -177,6 +178,7 @@ export interface InboundItem {
batchMode?: 'existing' | 'new' | 'none'; // 批號模式
inventoryId?: string; // 選擇現有批號時的 ID
batchNumber?: string;
location?: string; // 儲位/貨道
originCountry?: string; // 新增產地
expiryDate?: string;
}