diff options
| author | joonhoekim <26rote@gmail.com> | 2025-09-09 03:19:41 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-09-09 03:19:41 +0000 |
| commit | e06913008f124ce8e7389fbdc1e57206ce9bbb2b (patch) | |
| tree | 010292c2cd6116065d70893055deba230899d4ca /config/vendorColumnsConfig.ts | |
| parent | 61fd1ff7162390f9ec2480da74840e58bb0b6ebd (diff) | |
(김준회) 협력업체관리 업체분류, 정규업체등록현황 부 수정, 파일다운로드 오류 수정, 업데이트 시트 수정
Diffstat (limited to 'config/vendorColumnsConfig.ts')
| -rw-r--r-- | config/vendorColumnsConfig.ts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/config/vendorColumnsConfig.ts b/config/vendorColumnsConfig.ts index 35a4abd3..8595b0b2 100644 --- a/config/vendorColumnsConfig.ts +++ b/config/vendorColumnsConfig.ts @@ -5,9 +5,10 @@ import { VendorWithTypeAndMaterials } from "@/db/schema/vendors"; */ export interface VendorColumnConfig { /** - * "조인 결과" 객체(VendorWithTypeAndMaterials)의 어느 필드를 표시할지 + * "조인 결과" 객체(VendorWithTypeAndMaterials)의 어느 필드를 표시할지 + * 또는 계산된 필드명 (예: vendorClassification) */ - id: keyof VendorWithTypeAndMaterials; + id: keyof VendorWithTypeAndMaterials | "vendorClassification"; /** 화면·엑셀에서 보여줄 컬럼명 */ label: string; @@ -47,6 +48,15 @@ export const vendorColumnsConfig: VendorColumnConfig[] = [ }, { + id: "vendorClassification", + label: "업체분류", + excelHeader: "업체분류", + type: "string", + width: 120, + minWidth: 100, + }, + + { id: "vendorName", label: "업체명", excelHeader: "업체명", |
