diff --git a/src/components/quotes/ItemSearchModal.tsx b/src/components/quotes/ItemSearchModal.tsx
index e2b46bb2..bf853796 100644
--- a/src/components/quotes/ItemSearchModal.tsx
+++ b/src/components/quotes/ItemSearchModal.tsx
@@ -179,9 +179,14 @@ export function ItemSearchModal({
className="p-3 hover:bg-blue-50 cursor-pointer transition-colors"
>
-
+
{item.itemCode}
- {item.itemName}
+ {item.itemName}
+ {item.hasInspectionTemplate && (
+
+ 수입검사
+
+ )}
{item.unit && (
diff --git a/src/lib/api/items.ts b/src/lib/api/items.ts
index 5d775ffa..4aa3830d 100644
--- a/src/lib/api/items.ts
+++ b/src/lib/api/items.ts
@@ -104,6 +104,9 @@ interface ApiItemResponse {
itemName?: string;
itemType?: string;
isActive?: boolean;
+ // 수입검사 양식 연결 여부
+ has_inspection_template?: boolean;
+ hasInspectionTemplate?: boolean;
}
function transformItemFromApi(apiItem: ApiItemResponse): ItemMaster {
@@ -117,6 +120,7 @@ function transformItemFromApi(apiItem: ApiItemResponse): ItemMaster {
unit: apiItem.unit || '',
specification: apiItem.specification || '',
isActive: apiItem.is_active === true || apiItem.is_active === 1 || apiItem.isActive === true,
+ hasInspectionTemplate: apiItem.has_inspection_template === true || apiItem.hasInspectionTemplate === true,
currentRevision: 0,
isFinal: false,
createdAt: '',
diff --git a/src/types/item.ts b/src/types/item.ts
index c8b4e830..b6b5fdda 100644
--- a/src/types/item.ts
+++ b/src/types/item.ts
@@ -132,6 +132,7 @@ export interface ItemMaster {
unit: string; // 단위 (EA, SET, KG, M 등)
specification?: string; // 규격
isActive?: boolean; // 활성/비활성
+ hasInspectionTemplate?: boolean; // 수입검사 양식 연결 여부
// === 분류 ===
category1?: string; // 대분류