From 65a68325658401dd8a90ea900c1542c17c63d7ce Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 27 Oct 2025 09:49:34 +0900 Subject: (김준회) swp-upload 다이얼로그로 결과 알림, vendorCode 자동 선택 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ship-vendor-document/revision-validation.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/ship-vendor-document/revision-validation.tsx') diff --git a/components/ship-vendor-document/revision-validation.tsx b/components/ship-vendor-document/revision-validation.tsx index 96067400..27e25eba 100644 --- a/components/ship-vendor-document/revision-validation.tsx +++ b/components/ship-vendor-document/revision-validation.tsx @@ -203,9 +203,9 @@ export const formatB3RevisionInput = (value: string): string => { const numPart = upperValue.slice(1).replace(/\D/g, '') if (numPart) { const num = parseInt(numPart, 10) - // 1-99 범위 체크 - if (num >= 1 && num <= 99) { - // 01-09는 0을 붙이고, 10-99는 그대로 + // 0-99 범위 체크 (R00 허용) + if (num >= 0 && num <= 99) { + // 00-09는 0을 붙이고, 10-99는 그대로 return `R${num.toString().padStart(2, '0')}` } } -- cgit v1.2.3