summaryrefslogtreecommitdiff
path: root/lib/items-tech/table/ship/item-excel-template.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-05-20 09:01:22 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-05-20 09:01:22 +0000
commit45f4c426c98d86a251644a4858740bec989edf83 (patch)
treeb0a3f1ce6ac3e4493ee53c93ef33841c8eb34cfb /lib/items-tech/table/ship/item-excel-template.tsx
parent11f13979825d28180956fc27600176bfc47457e1 (diff)
(최겸) 기술영업 아이템리스트 수정 및 개발 0520
Diffstat (limited to 'lib/items-tech/table/ship/item-excel-template.tsx')
-rw-r--r--lib/items-tech/table/ship/item-excel-template.tsx27
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': ' '
}
];