| @@ -24,7 +24,7 @@ const CreateItemWrapper: React.FC<Props> & SubComponents = async ({ id }) => { | |||||
| if (id) { | if (id) { | ||||
| result = await fetchItem(id); | result = await fetchItem(id); | ||||
| const item = result.item; | const item = result.item; | ||||
| qcChecks = result.qcChecks; | |||||
| qcChecks = result.qcChecks ?? []; | |||||
| const activeRows = qcChecks.filter((it) => it.isActive).map((i) => i.id); | const activeRows = qcChecks.filter((it) => it.isActive).map((i) => i.id); | ||||
| // Normalize LocationCode field (handle case sensitivity from MySQL) | // Normalize LocationCode field (handle case sensitivity from MySQL) | ||||
| @@ -77,7 +77,7 @@ | |||||
| "User": "用戶", | "User": "用戶", | ||||
| "user": "用戶", | "user": "用戶", | ||||
| "User Group": "用戶群組", | "User Group": "用戶群組", | ||||
| "Items": "物料", | |||||
| "Items": "物品", | |||||
| "BOM Weighting Score List": "物料清單權重得分", | "BOM Weighting Score List": "物料清單權重得分", | ||||
| "Material Weighting": "物料清單加權", | "Material Weighting": "物料清單加權", | ||||
| "Material Score": "物料清單得分", | "Material Score": "物料清單得分", | ||||
| @@ -175,7 +175,7 @@ | |||||
| "Inventory": "庫存", | "Inventory": "庫存", | ||||
| "scheduling": "排程", | "scheduling": "排程", | ||||
| "settings": "設定", | "settings": "設定", | ||||
| "items": "物料", | |||||
| "items": "物品", | |||||
| "edit":"編輯", | "edit":"編輯", | ||||
| "bag": "包裝袋", | "bag": "包裝袋", | ||||
| "Bag Usage": "包裝袋使用記錄", | "Bag Usage": "包裝袋使用記錄", | ||||
| @@ -3,7 +3,7 @@ | |||||
| "FG & Material Demand Forecast Detail": "FG 及材料需求預測詳情", | "FG & Material Demand Forecast Detail": "FG 及材料需求預測詳情", | ||||
| "Release": "發佈", | "Release": "發佈", | ||||
| "Actions": "操作", | "Actions": "操作", | ||||
| "Product": "產品", | |||||
| "Product": "物品", | |||||
| "Details": "詳情", | "Details": "詳情", | ||||
| "View BoM": "查看 BoM", | "View BoM": "查看 BoM", | ||||
| "description": "描述", | "description": "描述", | ||||