summaryrefslogtreecommitdiff
path: root/config/techVendorItemsColumnsConfig.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-05-23 05:26:26 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-05-23 05:26:26 +0000
commit0547ab2fe1701d84753d0e078bba718a79b07a0c (patch)
tree56e46cfa2e93a43ceaed0a8467ae21e61e9b0ddc /config/techVendorItemsColumnsConfig.ts
parent37c618b94902603701e1fe3df7f76d238285f066 (diff)
(최겸)기술영업 벤더 개발 초안(index 스키마 미포함 상태)
Diffstat (limited to 'config/techVendorItemsColumnsConfig.ts')
-rw-r--r--config/techVendorItemsColumnsConfig.ts154
1 files changed, 154 insertions, 0 deletions
diff --git a/config/techVendorItemsColumnsConfig.ts b/config/techVendorItemsColumnsConfig.ts
new file mode 100644
index 00000000..725fed2c
--- /dev/null
+++ b/config/techVendorItemsColumnsConfig.ts
@@ -0,0 +1,154 @@
+// 공통 컬럼 설정
+export const techVendorItemsColumnsConfig = [
+ {
+ id: "itemCode",
+ label: "아이템 코드",
+ excelHeader: "아이템 코드",
+ type: "string",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+// {
+// id: "itemName",
+// label: "아이템명",
+// excelHeader: "아이템명",
+// type: "string",
+// minWidth: 200,
+// defaultWidth: 250,
+// },
+];
+
+// 조선 타입 컬럼 설정
+export const shipbuildingColumnsConfig = [
+ ...techVendorItemsColumnsConfig,
+ {
+ id: "workType",
+ label: "공종",
+ excelHeader: "공종",
+ type: "string",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "shipTypes",
+ label: "선종",
+ excelHeader: "선종",
+ type: "string",
+ minWidth: 150,
+ defaultWidth: 200,
+ },
+ {
+ id: "itemList",
+ label: "아이템 리스트",
+ excelHeader: "아이템 리스트",
+ type: "string",
+ minWidth: 200,
+ defaultWidth: 300,
+ },
+ {
+ id: "createdAt",
+ label: "생성일",
+ excelHeader: "생성일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "updatedAt",
+ label: "수정일",
+ excelHeader: "수정일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+];
+
+// 해양 TOP 타입 컬럼 설정
+export const offshoreTopColumnsConfig = [
+ ...techVendorItemsColumnsConfig,
+ {
+ id: "workType",
+ label: "공종",
+ excelHeader: "공종",
+ type: "string",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "itemList",
+ label: "아이템 리스트",
+ excelHeader: "아이템 리스트",
+ type: "string",
+ minWidth: 200,
+ defaultWidth: 300,
+ },
+ {
+ id: "subItemList",
+ label: "서브아이템 리스트",
+ excelHeader: "서브아이템 리스트",
+ type: "string",
+ minWidth: 200,
+ defaultWidth: 300,
+ },
+ {
+ id: "createdAt",
+ label: "생성일",
+ excelHeader: "생성일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "updatedAt",
+ label: "수정일",
+ excelHeader: "수정일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+];
+
+// 해양 HULL 타입 컬럼 설정
+export const offshoreHullColumnsConfig = [
+ ...techVendorItemsColumnsConfig,
+ {
+ id: "workType",
+ label: "공종",
+ excelHeader: "공종",
+ type: "string",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "itemList",
+ label: "아이템 리스트",
+ excelHeader: "아이템 리스트",
+ type: "string",
+ minWidth: 200,
+ defaultWidth: 300,
+ },
+ {
+ id: "subItemList",
+ label: "서브아이템 리스트",
+ excelHeader: "서브아이템 리스트",
+ type: "string",
+ minWidth: 200,
+ defaultWidth: 300,
+ },
+ {
+ id: "createdAt",
+ label: "생성일",
+ excelHeader: "생성일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+ {
+ id: "updatedAt",
+ label: "수정일",
+ excelHeader: "수정일",
+ type: "date",
+ minWidth: 120,
+ defaultWidth: 150,
+ },
+];