From 307735df62cb839d80f71693d57250208b338732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 23 Jan 2026 17:55:20 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20=EB=8C=80=EC=8B=9C=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20=EA=B0=80=EC=A7=80=EA=B8=89=EA=B8=88=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EB=B0=8F=20undefined?= =?UTF-8?q?=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "미정정" → "미설정"으로 텍스트 수정 - pending_count undefined 시 0으로 기본값 처리 --- .../modalConfigs/cardManagementConfigTransformers.ts | 4 ++-- .../modalConfigs/cardManagementConfigs.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/business/CEODashboard/modalConfigs/cardManagementConfigTransformers.ts b/src/components/business/CEODashboard/modalConfigs/cardManagementConfigTransformers.ts index 37f95caa..a380864b 100644 --- a/src/components/business/CEODashboard/modalConfigs/cardManagementConfigTransformers.ts +++ b/src/components/business/CEODashboard/modalConfigs/cardManagementConfigTransformers.ts @@ -217,7 +217,7 @@ export function transformCm2ModalConfig( summaryCards: [ { label: '가지급금', value: formatKoreanCurrency(summary.total_outstanding) }, { label: '인정이자 4.6%', value: summary.recognized_interest, unit: '원' }, - { label: '미정정', value: `${summary.pending_count}건` }, + { label: '미설정', value: `${summary.pending_count ?? 0}건` }, ], table: { title: '가지급금 관련 내역', @@ -227,7 +227,7 @@ export function transformCm2ModalConfig( { key: 'target', label: '대상', align: 'center' }, { key: 'category', label: '구분', align: 'center' }, { key: 'amount', label: '금액', align: 'right', format: 'currency' }, - { key: 'status', label: '상태', align: 'center', highlightValue: '미정정' }, + { key: 'status', label: '상태', align: 'center', highlightValue: '미설정' }, { key: 'content', label: '내용', align: 'left' }, ], data: tableData, diff --git a/src/components/business/CEODashboard/modalConfigs/cardManagementConfigs.ts b/src/components/business/CEODashboard/modalConfigs/cardManagementConfigs.ts index c0704a78..86331fe0 100644 --- a/src/components/business/CEODashboard/modalConfigs/cardManagementConfigs.ts +++ b/src/components/business/CEODashboard/modalConfigs/cardManagementConfigs.ts @@ -175,7 +175,7 @@ export function getCardManagementModalConfig(cardId: string): DetailModalConfig summaryCards: [ { label: '가지급금', value: '4.5억원' }, { label: '인정이자 4.6%', value: 6000000, unit: '원' }, - { label: '미정정', value: '10건' }, + { label: '미설정', value: '10건' }, ], table: { title: '가지급금 관련 내역', @@ -185,15 +185,15 @@ export function getCardManagementModalConfig(cardId: string): DetailModalConfig { key: 'target', label: '대상', align: 'center' }, { key: 'category', label: '구분', align: 'center' }, { key: 'amount', label: '금액', align: 'right', format: 'currency' }, - { key: 'status', label: '상태', align: 'center', highlightValue: '미정정' }, + { key: 'status', label: '상태', align: 'center', highlightValue: '미설정' }, { key: 'content', label: '내용', align: 'left' }, ], data: [ - { date: '2025-12-12 12:12', target: '홍길동', category: '카드명', amount: 1000000, status: '미정정', content: '미정정' }, + { date: '2025-12-12 12:12', target: '홍길동', category: '카드명', amount: 1000000, status: '미설정', content: '미설정' }, { date: '2025-12-12 12:12', target: '홍길동', category: '카드명', amount: 1000000, status: '접비(미정리)', content: '접대비 불인정' }, - { date: '2025-12-12 12:12', target: '홍길동', category: '계좌명', amount: 1000000, status: '미정정', content: '접대비 불인정' }, - { date: '2025-12-12 12:12', target: '홍길동', category: '계좌명', amount: 1000000, status: '미정정', content: '미정정' }, - { date: '2025-12-12 12:12', target: '홍길동', category: '-', amount: 1000000, status: '미정정', content: '미정정' }, + { date: '2025-12-12 12:12', target: '홍길동', category: '계좌명', amount: 1000000, status: '미설정', content: '접대비 불인정' }, + { date: '2025-12-12 12:12', target: '홍길동', category: '계좌명', amount: 1000000, status: '미설정', content: '미설정' }, + { date: '2025-12-12 12:12', target: '홍길동', category: '-', amount: 1000000, status: '미설정', content: '미설정' }, { date: '2025-12-12 12:12', target: '홍길동', category: '카드명', amount: 1000000, status: '접대비', content: '접대비 불인정' }, { date: '2025-12-12 12:12', target: '홍길동', category: '카드명', amount: 1000000, status: '-', content: '복리후생비, 주말/심야 카드 사용' }, ],