summaryrefslogtreecommitdiff
path: root/lib/items-tech/table
diff options
context:
space:
mode:
Diffstat (limited to 'lib/items-tech/table')
-rw-r--r--lib/items-tech/table/import-excel-button.tsx6
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"]