diff options
Diffstat (limited to 'lib/items-tech/table/ship/item-excel-template.tsx')
| -rw-r--r-- | lib/items-tech/table/ship/item-excel-template.tsx | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/lib/items-tech/table/ship/item-excel-template.tsx b/lib/items-tech/table/ship/item-excel-template.tsx index 127a1dea..f6b20b6d 100644 --- a/lib/items-tech/table/ship/item-excel-template.tsx +++ b/lib/items-tech/table/ship/item-excel-template.tsx @@ -18,9 +18,8 @@ export async function exportItemTemplate() { // 컬럼 헤더 정의 및 스타일 적용 worksheet.columns = [ { header: '아이템 코드', key: 'itemCode', width: 15 }, - { header: '아이템 명', key: 'itemName', width: 30 }, { header: '기능(공종)', key: 'workType', width: 15 }, - { header: '설명', key: 'description', width: 50 }, + { header: '아이템 리스트', key: 'itemList', width: 30 }, ...SHIP_TYPES.map(type => ({ header: type, key: type, @@ -52,25 +51,33 @@ export async function exportItemTemplate() { const sampleData = [ { itemCode: 'BG0001', - itemName: '샘플 아이템 1', workType: '기장', - description: '이것은 샘플 아이템 1의 설명입니다.', + itemList: '아이템 리스트 내용', 'A-MAX': 'O', 'S-MAX': 'O', 'LNGC': 'O', - 'VLCC': 'X', - 'CONT': 'X' + 'VLCC': ' ', + 'CONT': ' ' }, { itemCode: 'BG0002', - itemName: '샘플 아이템 2', workType: '전장', - description: '이것은 샘플 아이템 2의 설명입니다.', + itemList: '아이템 리스트 내용 2', 'A-MAX': 'O', - 'S-MAX': 'X', + 'S-MAX': ' ', 'LNGC': 'O', 'VLCC': 'O', - 'CONT': 'X' + 'CONT': ' ' + }, + { + itemCode: 'BG0003', + workType: '선실', + itemList: '선종 없는 아이템', + 'A-MAX': ' ', + 'S-MAX': ' ', + 'LNGC': ' ', + 'VLCC': ' ', + 'CONT': ' ' } ]; |
