[BO] 임산물현황 작업 중

This commit is contained in:
kangsunlee
2025-06-25 15:06:37 +09:00
parent a57a3e1f3e
commit 0fabd4b920
3 changed files with 139 additions and 92 deletions

View File

@@ -465,4 +465,8 @@ const formatNumberWithComma = (value) => {
return Number(value).toLocaleString();
}
const limitMaxLength = (el) => {
const maxLength = parseInt(el.getAttribute('maxlength'), 10);
el.value = el.value.replace(/\D/g, '').slice(0, maxLength);
}