From 4eca28c080c5afcbe71afbe53d5fdb0859cc28c9 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Tue, 23 Sep 2025 14:23:03 +0900 Subject: (김준회) 협력업체관리모듈: 업체코드 컬럼 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/vendorColumnsConfig.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config/vendorColumnsConfig.ts') 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; @@ -66,6 +66,15 @@ export const vendorColumnsConfig: VendorColumnConfig[] = [ maxWidth: 300, }, + { + id: "vendorCode", + label: "업체코드", + excelHeader: "업체코드", + type: "string", + width: 140, + minWidth: 120, + }, + { id: "country", label: "국가", -- cgit v1.2.3