diff --git a/WebContent/WEB-INF/view/quality/ecrList.jsp b/WebContent/WEB-INF/view/quality/ecrList.jsp index e1bdc82..fdc5ae0 100644 --- a/WebContent/WEB-INF/view/quality/ecrList.jsp +++ b/WebContent/WEB-INF/view/quality/ecrList.jsp @@ -18,10 +18,17 @@ String menuName = CommonUtils.getMenuName(menuObjId, "ECR 관리"); @@ -179,50 +240,69 @@ function fn_openAttachFilePopUp(objId){
-
-
- - - ~ - -
-
- - -
-
- - -
-
- - -
-
- - - ~ - -
-
- - -
-
- - -
-
- - -
-
- - - ~ - -
-
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ ~ + + + + + + + + + + ~ + + + +
+ + + + + ~ + +
<%@include file= "/WEB-INF/view/common/common_gridArea.jsp" %> diff --git a/WebContent/WEB-INF/view/quality/ecrRegistFormPopUp.jsp b/WebContent/WEB-INF/view/quality/ecrRegistFormPopUp.jsp index 4af7f3c..cd7cfa4 100644 --- a/WebContent/WEB-INF/view/quality/ecrRegistFormPopUp.jsp +++ b/WebContent/WEB-INF/view/quality/ecrRegistFormPopUp.jsp @@ -3,21 +3,61 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ page import="com.pms.common.utils.*"%> <%@ page import="java.util.*" %> -<%@include file= "/init.jsp" %> +<%@include file= "/init_new.jsp" %> <% String menuObjId = request.getParameter("menuObjId"); String menuName = CommonUtils.getMenuName(menuObjId, "ECR 등록"); +String actionType = CommonUtils.checkNull(request.getParameter("actionType")); + +// OBJID가 없으면 신규 생성 (첨부파일 연결용) +String objId = CommonUtils.checkNull(request.getAttribute("info") != null ? ((Map)request.getAttribute("info")).get("objid") : ""); +boolean isNew = objId.isEmpty() || "new".equals(actionType); +if(objId.isEmpty()){ + objId = String.valueOf(CommonUtils.createObjId()); +} %> <%=Constants.SYSTEM_NAME%> +
-