summaryrefslogtreecommitdiff
path: root/lib/pq/pq-review-table-new/vendors-table.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-08-11 09:00:38 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-08-11 09:00:38 +0000
commiteb654f88214095f71be142b989e620fd28db3f69 (patch)
treeaaad3074de4a6422a880b35f9e577d489b0a6c91 /lib/pq/pq-review-table-new/vendors-table.tsx
parenta383fd2a30f60360ebc0c1b897b3d43cbae178fa (diff)
(최겸) 기술영업 변경사항 반영, PQ/실사 변경사항 반영
Diffstat (limited to 'lib/pq/pq-review-table-new/vendors-table.tsx')
-rw-r--r--lib/pq/pq-review-table-new/vendors-table.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/pq/pq-review-table-new/vendors-table.tsx b/lib/pq/pq-review-table-new/vendors-table.tsx
index c2712611..191c8bfa 100644
--- a/lib/pq/pq-review-table-new/vendors-table.tsx
+++ b/lib/pq/pq-review-table-new/vendors-table.tsx
@@ -192,7 +192,7 @@ export function PQSubmissionsTable({ promises, className }: PQSubmissionsTablePr
setSelectedSiteVisitRequestId(rowAction.row.siteVisitRequestId || null)
setIsVendorInfoViewDialogOpen(true)
setRowAction(null)
- } else if (rowAction?.type === "edit-investigation") {
+ } else if (rowAction?.type === "update") {
// 실사 정보 수정 다이얼로그 열기
setSelectedInvestigationForEdit(rowAction.row)
setIsEditInvestigationDialogOpen(true)
@@ -432,9 +432,8 @@ export function PQSubmissionsTable({ promises, className }: PQSubmissionsTablePr
onSubmit={handleSiteVisitRequest}
investigation={{
id: selectedInvestigation.investigation?.id || 0,
- evaluationType: selectedInvestigation.investigation?.evaluationType as "PRODUCT_INSPECTION" | "SITE_VISIT_EVAL",
- investigationMethod: selectedInvestigation.investigation?.investigationMethod,
- investigationAddress: selectedInvestigation.investigation?.investigationAddress,
+ investigationMethod: selectedInvestigation.investigation?.investigationMethod || "",
+ investigationAddress: selectedInvestigation.investigation?.investigationAddress || "",
vendorName: selectedInvestigation.vendorName,
vendorCode: selectedInvestigation.vendorCode,
projectName: selectedInvestigation.projectName || undefined,