diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/vendorColumnsConfig.ts | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/config/vendorColumnsConfig.ts b/config/vendorColumnsConfig.ts index 8595b0b2..dbf25c2c 100644 --- a/config/vendorColumnsConfig.ts +++ b/config/vendorColumnsConfig.ts @@ -4,11 +4,11 @@ import { VendorWithTypeAndMaterials } from "@/db/schema/vendors"; * 테이블/엑셀에 보여줄 컬럼 한 칸을 어떻게 렌더링할지 결정하는 설정 */ export interface VendorColumnConfig { - /** + /** * "조인 결과" 객체(VendorWithTypeAndMaterials)의 어느 필드를 표시할지 * 또는 계산된 필드명 (예: vendorClassification) */ - id: keyof VendorWithTypeAndMaterials | "vendorClassification"; + id: keyof VendorWithTypeAndMaterials | "vendorClassification" | "vendorCode"; /** 화면·엑셀에서 보여줄 컬럼명 */ label: string; @@ -67,6 +67,15 @@ export const vendorColumnsConfig: VendorColumnConfig[] = [ }, { + id: "vendorCode", + label: "업체코드", + excelHeader: "업체코드", + type: "string", + width: 140, + minWidth: 120, + }, + + { id: "country", label: "국가", excelHeader: "국가", |
