[BO] 임가현황 - 은행자동이체내역 작업 중 (1)

This commit is contained in:
kangsunlee
2025-07-01 17:57:39 +09:00
parent 073ef5406f
commit 9cb33c4ba1
38 changed files with 1054 additions and 4 deletions

View File

@@ -467,7 +467,15 @@ const formatNumberWithComma = (value) => {
const limitMaxLength = (el) => {
const maxLength = parseInt(el.getAttribute('maxlength'), 10);
el.value = el.value.replace(/\D/g, '').slice(0, maxLength);
let $el = $(el);
if ($el.val().length > maxLength) {
$el.val(el.val().slice(0, $el.attr('maxlength')));
}
if ($el.attr('inputmode') === 'numeric') {
$el.val($el.val().replace('.', ''));
}
}
/**