diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-03 02:50:02 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-03 02:50:02 +0000 |
| commit | 766f95945a7ca0fdb258d6a83229593e4fcccfa6 (patch) | |
| tree | 3374364b5a90b2704d7ebd18ab404bf6e8fe69e2 /lib/items-tech/table/import-excel-button.tsx | |
| parent | e4b2bef735e6aab6a5ecae9a017c5c618a6d3a4b (diff) | |
(최겸) 기술영업 RFQ 견적 프로젝트별 생성 기능 추가
Diffstat (limited to 'lib/items-tech/table/import-excel-button.tsx')
| -rw-r--r-- | lib/items-tech/table/import-excel-button.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/items-tech/table/import-excel-button.tsx b/lib/items-tech/table/import-excel-button.tsx index 3281823c..02736664 100644 --- a/lib/items-tech/table/import-excel-button.tsx +++ b/lib/items-tech/table/import-excel-button.tsx @@ -102,7 +102,7 @@ export function ImportItemButton({ itemType, onSuccess }: ImportItemButtonProps) worksheet.eachRow((row, rowNumber) => { const values = row.values as (string | null)[]; - if (!headerRow && values.some(v => v === "아이템 코드" || v === "itemCode" || v === "item_code")) { + if (!headerRow && values.some(v => v === "자재 그룹" || v === "itemCode" || v === "item_code")) { headerRowIndex = rowNumber; headerRow = row; headerValues = [...values]; @@ -122,10 +122,10 @@ export function ImportItemButton({ itemType, onSuccess }: ImportItemButtonProps) }); // 필수 헤더 확인 (타입별 구분) - const requiredHeaders: string[] = ["아이템 코드", "기능(공종)"]; + const requiredHeaders: string[] = ["자재 그룹", "기능(공종)"]; const alternativeHeaders = { - "아이템 코드": ["itemCode", "item_code"], + "자재 그룹": ["itemCode", "item_code"], "기능(공종)": ["workType"], "자재명": ["itemList"], "자재명(상세)": ["subItemList"] |
