기관관리 번호포맷 버그 수정
eapim-admin CI / build (push) Has been cancelled

This commit is contained in:
eastargh
2026-10-02 10:26:21 +09:00
parent da3fc0f39a
commit f61ada8247
2 changed files with 39 additions and 12 deletions
+3
View File
@@ -228,13 +228,16 @@
}
// 사업자등록번호 포맷팅
function formatCompanyRegNo(value) {
if (!value) return '';
return value.replace(/(\d{3})(\d{2})(\d{5})/, "$1-$2-$3");
}
// 법인등록번호 포맷팅
function formatCorpRegNo(value) {
if (!value) return '';
return value.replace(/(\d{6})(\d{7})/, "$1-$2");
}
function removeHyphen(text) {
if (!text) return '';
return text.replace(/-/g, '');
}
// 전화번호 포맷팅 (일반전화, 휴대폰, 대표번호 등)