From ad7e60c5d5a090160c6b9be63c02a75a6c369b91 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 07 1월 2022 14:10:15 +0900 Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa --- src/main/webapp/scripts/app/companyField/companyFieldAdd.controller.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/scripts/app/companyField/companyFieldAdd.controller.js b/src/main/webapp/scripts/app/companyField/companyFieldAdd.controller.js index 7db0a29..8da6eeb 100644 --- a/src/main/webapp/scripts/app/companyField/companyFieldAdd.controller.js +++ b/src/main/webapp/scripts/app/companyField/companyFieldAdd.controller.js @@ -21,9 +21,10 @@ $scope.vm = { form : { name : "", //�뾽泥대챸 + ispId : "", ispName : "", - hostingId : "", hostingName : "", + hostingId : "", manager : "", //�떞�떦�옄 tel : "", //�쟾�솕踰덊샇 email : "", //�씠硫붿씪 @@ -71,6 +72,8 @@ $scope.vm.form.hostingId = result[0].id; }); + + // �뤌 �쟾�넚 function formSubmit(condition) { $rootScope.spinner = true; @@ -79,14 +82,14 @@ name : $rootScope.preventXss($scope.vm.form.name), // �뾽泥대챸 ispId : (function () { // ISP �븘�씠�뵒 var ispId = -1; - if ($scope.vm.form.issueIspFields.length > 0) { + if ($scope.vm.form.issueIspFields != null) { ispId = $scope.vm.form.ispId; } return ispId; })(), hostingId : (function () { // Hosting �븘�씠�뵒 var hostingId = -1; - if ($scope.vm.form.issueHostingFields.length > 0) { + if ($scope.vm.form.issueHostingFields != null) { hostingId = $scope.vm.form.hostingId; } return hostingId; @@ -121,9 +124,7 @@ $uibModalInstance.dismiss('cancel'); $(document).unbind("keydown"); // �떒異뺥궎 �씠踰ㅽ듃 �젣嫄� } - } - ]); } ); \ No newline at end of file -- Gitblit v1.8.0