summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-09-23 14:23:03 +0900
committerjoonhoekim <26rote@gmail.com>2025-09-23 14:23:03 +0900
commit4eca28c080c5afcbe71afbe53d5fdb0859cc28c9 (patch)
tree326ceccac4931f22ac05ad10046dfb34f6eed98d /config
parentbd758e6611850d6c7c865cf1d5dbfd3ef6946bee (diff)
(김준회) 협력업체관리모듈: 업체코드 컬럼 처리
Diffstat (limited to 'config')
-rw-r--r--config/vendorColumnsConfig.ts13
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: "국가",