summaryrefslogtreecommitdiff
path: root/lib/vendor-regular-registrations
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-08 10:29:19 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-08 10:29:19 +0000
commitf93493f68c9f368e10f1c3379f1c1384068e3b14 (patch)
treea9dada58741750fa7ca6e04b210443ad99a6bccc /lib/vendor-regular-registrations
parente832a508e1b3c531fb3e1b9761e18e1b55e3d76a (diff)
(대표님, 최겸) rfqLast, bidding, prequote
Diffstat (limited to 'lib/vendor-regular-registrations')
-rw-r--r--lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
index 8d21df24..6a067d68 100644
--- a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
+++ b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
@@ -172,7 +172,7 @@ export function getColumns(): ColumnDef<VendorRegularRegistration>[] {
// 기본계약 현황 계산
const totalContracts = registration.basicContracts?.length || 0
- const completedContracts = registration.basicContracts?.filter(c => c.status === "COMPLETED").length || 0
+ const completedContracts = registration.basicContracts?.filter(c => c.status === "VENDOR_SIGNED").length || 0
const incompleteContracts = totalContracts - completedContracts
// 안전적격성 평가 현황
@@ -184,7 +184,7 @@ export function getColumns(): ColumnDef<VendorRegularRegistration>[] {
// 전체 미완료 항목 계산
const totalIncomplete =
(incompleteDocs > 0 ? 1 : 0) +
- (incompleteContracts > 0 ? 1 : 0) +
+ incompleteContracts +
(!safetyCompleted ? 1 : 0) +
(!additionalInfoCompleted ? 1 : 0)