diff --git a/src/components/material/ReceivingManagement/ReceivingDetail.tsx b/src/components/material/ReceivingManagement/ReceivingDetail.tsx index e8f51812..4d749970 100644 --- a/src/components/material/ReceivingManagement/ReceivingDetail.tsx +++ b/src/components/material/ReceivingManagement/ReceivingDetail.tsx @@ -791,6 +791,7 @@ export function ReceivingDetail({ id, mode = 'view' }: Props) { itemCode: item.code, itemName: item.name, specification: item.specification || '', + unit: item.unit || prev.unit || 'EA', })); }} itemType="RM,SM,CS" diff --git a/src/components/quotes/ItemSearchModal.tsx b/src/components/quotes/ItemSearchModal.tsx index f18d17f4..237ffcf4 100644 --- a/src/components/quotes/ItemSearchModal.tsx +++ b/src/components/quotes/ItemSearchModal.tsx @@ -18,7 +18,7 @@ import type { ItemMaster, ItemType } from '@/types/item'; interface ItemSearchModalProps { open: boolean; onOpenChange: (open: boolean) => void; - onSelectItem: (item: { code: string; name: string; specification?: string }) => void; + onSelectItem: (item: { code: string; name: string; specification?: string; unit?: string }) => void; tabLabel?: string; /** 품목 유형 필터 (예: 'RM', 'SF', 'FG') */ itemType?: string; @@ -59,6 +59,7 @@ export function ItemSearchModal({ code: item.itemCode, name: item.itemName, specification: item.specification || undefined, + unit: item.unit || undefined, }); }, [onSelectItem]);