diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-02 18:02:11 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-02 18:02:11 +0900 |
| commit | 624cfcf4edb106e6cf0b041d9437ceaa94b6a46d (patch) | |
| tree | c8b81d4969c994aa8f15aea308c24de1f972ce96 /components/ship-vendor-document/user-vendor-document-table-container.tsx | |
| parent | ed412083c785fc1fed7a2490f84f72a665c846be (diff) | |
(디버깅) 돌체 디버깅 - serialNo, 변경사항 카운트
Diffstat (limited to 'components/ship-vendor-document/user-vendor-document-table-container.tsx')
| -rw-r--r-- | components/ship-vendor-document/user-vendor-document-table-container.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/ship-vendor-document/user-vendor-document-table-container.tsx b/components/ship-vendor-document/user-vendor-document-table-container.tsx index 775dac47..0c3390d1 100644 --- a/components/ship-vendor-document/user-vendor-document-table-container.tsx +++ b/components/ship-vendor-document/user-vendor-document-table-container.tsx @@ -967,6 +967,7 @@ function SubTables() { reviewerId: null, reviewerName: null, reviewComments: null, + serialNo: uploadResult.data.serialNo || null, // ✅ serialNo 추가 createdAt: new Date(), updatedAt: new Date(), stageName: uploadResult.data.stage, @@ -997,11 +998,12 @@ function SubTables() { ) if (targetStage) { - // 기존 revision과 중복 체크 (같은 revision, usage, usageType) + // 기존 revision과 중복 체크 (같은 revision, usage, usageType, serialNo) const isDuplicate = targetStage.revisions.some(rev => rev.revision === newRevision.revision && rev.usage === newRevision.usage && - rev.usageType === newRevision.usageType + rev.usageType === newRevision.usageType && + rev.serialNo === newRevision.serialNo ) if (!isDuplicate) { |
