diff --git a/WebContent/jsp/onl/apim/portaluser/portalUserManDetail.jsp b/WebContent/jsp/onl/apim/portaluser/portalUserManDetail.jsp index 207e1f5..7fc06fc 100644 --- a/WebContent/jsp/onl/apim/portaluser/portalUserManDetail.jsp +++ b/WebContent/jsp/onl/apim/portaluser/portalUserManDetail.jsp @@ -122,6 +122,14 @@ .setObj($("select[name=approvalStatus]")) .setData(json.approvalStatusRows).setFormat(nameOptionFormat).rendering(); + // 신규 등록일 경우 기본값 설정 + if (!isDetail) { + $("#userStatus").val("READY"); + $("#approvalStatus").val("COMPLETED"); + $("#accountLockYn").val("N"); + $("#roleCode").val("ROLE_USER").trigger('change'); + } + let key = "${param.id}"; if (key != "" && key !== "null") { detail(key); @@ -363,10 +371,6 @@ } else { $("#title").append(" 등록") $("#btn_modify").html('save <%= localeMessage.getString("button.register") %>'); - $("#userStatus").val("READY"); - $("#approvalStatus").val("COMPLETED"); - $("#accountLockYn").val("N"); - $("#roleCode").val("ROLE_USER").trigger('change'); updateButtonStates(STATUS.READY, false); } @@ -645,8 +649,8 @@ <%= getRequiredLabel(localeMessage.getString("portalUser.mobileNumber")) %> -
-
+
+
- - - - - - + - + + - +