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
|
import { Item } from "@/db/schema/items"
export interface ItemColumnConfig {
id: keyof Item
label: string
group?: string
excelHeader?: string
type?: string
sortable?: boolean
filterable?: boolean
width?: number
}
export const itemsColumnsConfig: ItemColumnConfig[] = [
// {
// id: "itemLevel",
// label: "레벨",
// excelHeader: "레벨",
// type: "number",
// sortable: true,
// filterable: true,
// width: 80,
// },
{
id: "ProjectNo",
label: "Project No",
excelHeader: "Project No",
type: "text",
sortable: true,
filterable: true,
width: 150,
},
{
id: "itemCode",
label: "PKG Code(PK)",
excelHeader: "PKG Code(PK)",
type: "text",
sortable: true,
filterable: true,
width: 150,
},
{
id: "description",
label: "PKG Code Decription",
excelHeader: "PKG Code Decription",
type: "text",
sortable: true,
filterable: true,
width: 300,
},
{
id: "packageCode",
label: "PKG Code",
excelHeader: "PKG Code",
type: "text",
sortable: true,
filterable: true,
width: 150,
},
{
id: "itemName",
label: "패키지 이름",
excelHeader: "패키지 이름",
type: "text",
sortable: true,
filterable: true,
width: 250,
},
{
id: "smCode",
label: "SM Code",
excelHeader: "SM Code",
type: "text",
sortable: true,
filterable: true,
width: 150,
},
// {
// id: "baseUnitOfMeasure",
// label: "기본단위",
// excelHeader: "기본단위",
// type: "text",
// sortable: true,
// filterable: true,
// width: 100,
// },
{
id: "updatedAt",
label: "마지막 변경일",
excelHeader: "마지막 변경일",
type: "date",
sortable: true,
filterable: true,
width: 130,
},
]
|