diff options
Diffstat (limited to 'components/ship-vendor-document/revision-validation.tsx')
| -rw-r--r-- | components/ship-vendor-document/revision-validation.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
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')}` } } |
