From 862e04dc9c3e817b44a10431221fe9e135d9bd95 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 화, 30 11월 2021 12:45:32 +0900 Subject: [PATCH] 사용자 정의 필드 날짜관련 수정 --- src/main/webapp/scripts/app/customField/customFieldAdd.controller.js | 49 ------------------------------------------------- 1 files changed, 0 insertions(+), 49 deletions(-) diff --git a/src/main/webapp/scripts/app/customField/customFieldAdd.controller.js b/src/main/webapp/scripts/app/customField/customFieldAdd.controller.js index 37838b8..018b3c8 100644 --- a/src/main/webapp/scripts/app/customField/customFieldAdd.controller.js +++ b/src/main/webapp/scripts/app/customField/customFieldAdd.controller.js @@ -93,55 +93,6 @@ } } - // function chkPhoneType(type) { - // var input = $scope.vm.form.tel - // - // //focus out�씤 寃쎌슦 - // //input type�쓣 text濡� 諛붽씀怨� '-'異붽� - // if(type == 'blur'){ - // $scope.vm.form.tel; - // var phone = chkItemPhone(input); - // } - // - // //focus�씤 寃쎌슦 - // //input type�쓣 number濡� 諛붽씀怨� '-' �젣嫄� - // if(type == 'focus'){ - // var phone = input.replace( /-/gi, ''); - // $scope.vm.form.tel('type', 'number'); - // } - // - // $scope.vm.form.tel(phone); - // } - // - // function chkItemPhone(temp) { - // var number = temp.replace(/[^0-9]/g, ""); - // var phone = ""; - // - // if (number.length < 9) { - // return number; - // } else if (number.length < 10) { - // phone += number.substr(0, 2); - // phone += "-"; - // phone += number.substr(2, 3); - // phone += "-"; - // phone += number.substr(5); - // } else if (number.length < 11) { - // phone += number.substr(0, 3); - // phone += "-"; - // phone += number.substr(3, 3); - // phone += "-"; - // phone += number.substr(6); - // } else { - // phone += number.substr(0, 3); - // phone += "-"; - // phone += number.substr(3, 4); - // phone += "-"; - // phone += number.substr(7); - // } - // - // return phone; - // } - // �뤌 泥댄겕 function formCheck(formInvalid) { if (formInvalid) { -- Gitblit v1.8.0