From 46487946f68fb8847d8975b210978d3060529531 Mon Sep 17 00:00:00 2001 From: hjjeong Date: Tue, 9 Dec 2025 14:17:36 +0900 Subject: [PATCH] =?UTF-8?q?=ED=92=88=EC=A7=88=EA=B4=80=EB=A6=AC=5FECR?= =?UTF-8?q?=EA=B4=80=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/view/quality/ecrList.jsp | 216 +++++--- .../view/quality/ecrRegistFormPopUp.jsp | 234 ++++++-- .../view/quality/ecrResultFormPopUp.jsp | 507 +++++++++++++++--- src/com/pms/controller/QualityController.java | 75 ++- src/com/pms/mapper/quality.xml | 103 +++- src/com/pms/service/QualityService.java | 108 +++- 6 files changed, 1013 insertions(+), 230 deletions(-) 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%> +
-