From 930ee1a20bf01bba2ddfcff93ca6580ef3b18a1f Mon Sep 17 00:00:00 2001 From: hjjeong Date: Wed, 26 Nov 2025 14:49:14 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=97=85=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95=20=EB=93=B1...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/contractMgmt/orderMgmtList.jsp | 4 +- .../salesmgmt/salesMgmt/revenueMgmtList.jsp | 19 ++- .../salesmgmt/salesMgmt/salesMgmtList.jsp | 35 ++-- .../ProductionPlanningController.java | 9 +- src/com/pms/mapper/productionplanning.xml | 160 ++++++++++++++++++ 5 files changed, 197 insertions(+), 30 deletions(-) diff --git a/WebContent/WEB-INF/view/contractMgmt/orderMgmtList.jsp b/WebContent/WEB-INF/view/contractMgmt/orderMgmtList.jsp index 570d8c2..21283c2 100644 --- a/WebContent/WEB-INF/view/contractMgmt/orderMgmtList.jsp +++ b/WebContent/WEB-INF/view/contractMgmt/orderMgmtList.jsp @@ -253,13 +253,13 @@ function fn_search(){ _tabulGrid.on("renderComplete", function(){ fn_calculateTotalFromGrid(); // 그리드 렌더링 완료 후 높이 계산 - fnc_calculateContentHeight("gridDiv", 20); + fnc_calculateContentHeight("gridDiv", 30); }); } // 윈도우 리사이즈 이벤트 (한 번만 등록) $(window).off("resize.gridHeight").on("resize.gridHeight", function() { - fnc_calculateContentHeight("gridDiv", 20); + fnc_calculateContentHeight("gridDiv", 30); }); } diff --git a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp index d21a971..80a1be2 100644 --- a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp +++ b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp @@ -33,11 +33,14 @@ $(document).ready(function(){ _fnc_datepick(); - // 그리드 높이 동적 계산 (Total 합계 영역 + 여유 공간 80px) - fnc_calculateContentHeight("gridDiv", 80); - $(window).resize(function() { - fnc_calculateContentHeight("gridDiv", 80); - }); + // DOM 렌더링 완료 후 그리드 높이 계산 + setTimeout(function() { + fnc_calculateContentHeight("gridDiv", 10); + }, 100); + + $(window).resize(function() { + fnc_calculateContentHeight("gridDiv", 10); + }); // select2가 로드되었을 때만 초기화 if(typeof $.fn !== 'undefined' && typeof $.fn.select2 === 'function') { @@ -200,7 +203,7 @@ var columns = [ //{headerHozAlign : 'center', hozAlign : 'center', width : '120', title : '매출마감', field : 'SALES_STATUS'}, {headerHozAlign : 'center', hozAlign : 'center', width : '120', title : '매출마감', field : 'SALES_DEADLINE_DATE'}, {headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '발주일', field : 'ORDER_DATE'}, - {headerHozAlign : 'center', hozAlign : 'center', width : '120', title : '발주번호', field : 'PO_NO'}, + {headerHozAlign : 'center', hozAlign : 'left', width : '120', title : '발주번호', field : 'PO_NO'}, {headerHozAlign : 'center', hozAlign : 'left', width : '150', title : '고객사', field : 'CUSTOMER'}, {headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '제품구분', field : 'PRODUCT_TYPE'}, {headerHozAlign : 'center', hozAlign : 'left', width : '180', title : '품명', field : 'PRODUCT_NAME'}, @@ -228,8 +231,8 @@ var columns = [ {headerHozAlign : 'center', hozAlign : 'right', width : '100', title : '환율', field : 'SALES_EXCHANGE_RATE', formatter: "money", formatterParams: {thousand: ",", symbolAfter: "", precision: 2} }, - {headerHozAlign : 'center', hozAlign : 'center', width : '120', title : 'S/N', field : 'SERIAL_NO'}, - {headerHozAlign : 'center', hozAlign : 'center', width : '120', title : '품번', field : 'PRODUCT_NO'} + {headerHozAlign : 'center', hozAlign : 'left', width : '120', title : 'S/N', field : 'SERIAL_NO'}, + {headerHozAlign : 'center', hozAlign : 'left', width : '120', title : '품번', field : 'PRODUCT_NO'} // 주석처리된 컬럼들 (필요없는 항목) // {headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '접수일', field : 'RECEIPT_DATE'}, // {headerHozAlign : 'center', hozAlign : 'center', width : '80', title : '유/무상', field : 'PAYMENT_TYPE'}, diff --git a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/salesMgmtList.jsp b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/salesMgmtList.jsp index 061fca3..5e374de 100644 --- a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/salesMgmtList.jsp +++ b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/salesMgmtList.jsp @@ -12,6 +12,14 @@ <%=Constants.SYSTEM_NAME%> +