summaryrefslogtreecommitdiff
path: root/config/rfqHistoryColumnsConfig.ts
blob: f0c72491760f9ef7589b09c468fd2535a4e2adc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import { RfqHistoryRow } from "@/lib/vendors/rfq-history-table/rfq-history-table"

export interface RfqHistoryColumnConfig {
  id: keyof RfqHistoryRow
  label: string
  group?: string
  excelHeader?: string
  type?: string
  size?: number
}

export const rfqHistoryColumnsConfig: RfqHistoryColumnConfig[] = [
  // 개별 컬럼들 (그룹 없음)
  {
    id: "rfqType",
    label: "견적종류",
    excelHeader: "견적종류",
    type: "text",
    size: 100,
  },
  {
    id: "status",
    label: "견적상태",
    excelHeader: "견적상태",
    type: "text",
    size: 100,
  },
  {
    id: "rfqCode",
    label: "견적번호",
    excelHeader: "견적번호",
    type: "text",
    size: 120,
  },
  {
    id: "projectInfo",
    label: "프로젝트",
    excelHeader: "프로젝트",
    type: "text",
    size: 200,
  },
  {
    id: "packageInfo",
    label: "PKG No. (PKG명)",
    excelHeader: "PKG No. (PKG명)",
    type: "text",
    size: 150,
  },
  {
    id: "materialInfo",
    label: "자재그룹 (자재그룹명)",
    excelHeader: "자재그룹 (자재그룹명)",
    type: "text",
    size: 200,
  },

  // 견적정보 그룹만 유지
  {
    id: "currency",
    label: "통화",
    group: "견적정보",
    excelHeader: "통화",
    type: "text",
    size: 80,
  },
  {
    id: "totalAmount",
    label: "총 견적금액",
    group: "견적정보",
    excelHeader: "총 견적금액",
    type: "number",
    size: 120,
  },
  {
    id: "leadTime",
    label: "업체 L/T",
    group: "견적정보",
    excelHeader: "업체 L/T",
    type: "text",
    size: 100,
  },
  {
    id: "paymentTerms",
    label: "지급조건",
    group: "견적정보",
    excelHeader: "지급조건",
    type: "text",
    size: 100,
  },
  {
    id: "incoterms",
    label: "Incoterms",
    group: "견적정보",
    excelHeader: "Incoterms",
    type: "text",
    size: 100,
  },
  {
    id: "shippingLocation",
    label: "선적지",
    group: "견적정보",
    excelHeader: "선적지",
    type: "text",
    size: 100,
  },

  // 개별 컬럼들 (그룹 없음)
  {
    id: "contractInfo",
    label: "PO/계약정보",
    excelHeader: "PO/계약정보",
    type: "text",
    size: 150,
  },
  {
    id: "rfqSendDate",
    label: "견적요청일",
    excelHeader: "견적요청일",
    type: "date",
    size: 120,
  },
  {
    id: "submittedAt",
    label: "견적회신일",
    excelHeader: "견적회신일",
    type: "date",
    size: 120,
  },
  {
    id: "picName",
    label: "견적담당자",
    excelHeader: "견적담당자",
    type: "text",
    size: 120,
  },
]