From 86e3a93486b0997e6f537b4a89d7732b895a7258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 22 Mar 2026 10:27:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[=EC=9E=90=EC=9E=AC=ED=88=AC=EC=9E=85]?= =?UTF-8?q?=20=EA=B0=95=EC=A0=9C=EC=9E=85=EA=B3=A0=20=ED=86=A0=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=EC=97=90=20RM=E2=86=92PT=20=EB=A7=A4=EC=B9=AD=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/production/WorkerScreen/MaterialInputModal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/production/WorkerScreen/MaterialInputModal.tsx b/src/components/production/WorkerScreen/MaterialInputModal.tsx index e2a15e26..942dfa4d 100644 --- a/src/components/production/WorkerScreen/MaterialInputModal.tsx +++ b/src/components/production/WorkerScreen/MaterialInputModal.tsx @@ -353,7 +353,9 @@ export function MaterialInputModal({ setIsForceCreating(true); const result = await forceCreateReceiving(itemId, 100); if (result.success && result.data) { - toast.success(`${result.data.item_code} 입고 생성 완료 (LOT: ${result.data.lot_no}, ${result.data.qty}EA)`); + const rm = (result.data as Record).rm_item_code; + const label = rm ? `원자재 ${rm} → 재공품 ${result.data.item_code}` : result.data.item_code; + toast.success(`${label} 입고 완료 (LOT: ${result.data.lot_no}, ${result.data.qty}EA)`); handleStockSearch(itemCode); loadMaterials(); } else {