diff --git a/WebContent/WEB-INF/view/partMng/openBomReportExcelImportPopUp.jsp b/WebContent/WEB-INF/view/partMng/openBomReportExcelImportPopUp.jsp index 9e9f448..47bfa7c 100644 --- a/WebContent/WEB-INF/view/partMng/openBomReportExcelImportPopUp.jsp +++ b/WebContent/WEB-INF/view/partMng/openBomReportExcelImportPopUp.jsp @@ -2,6 +2,23 @@ <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ page import="com.pms.common.utils.*"%> <%@ page import="java.util.*"%> +<% + // URL 파라미터 가져오기 (request.getParameter는 자동으로 URL 디코딩됨) + String bomPartNo = request.getParameter("BOM_PART_NO"); + String bomPartName = request.getParameter("BOM_PART_NAME"); + String bomVersion = request.getParameter("BOM_VERSION"); + + // 디버깅: 콘솔에 출력 + System.out.println("=== BOM 파라미터 디버깅 ==="); + System.out.println("bomPartNo: " + bomPartNo); + System.out.println("bomPartName: " + bomPartName); + System.out.println("bomVersion: " + bomVersion); + + // null 체크 + if(bomPartNo == null) bomPartNo = ""; + if(bomPartName == null) bomPartName = ""; + if(bomVersion == null) bomVersion = ""; +%> <%@include file="/init_jqGrid.jsp"%> @@ -302,9 +319,13 @@ $(document).ready(function(){ } } } - ,{name:"SUPPLIER",index:"SUPPLIER", width: 120, align:"center", hidden: false, sortable:false, editable:true + ,{name:"SUPPLY_CODE",index:"SUPPLY_CODE", width: 120, align:"center", hidden: false, sortable:false, editable:true + ,edittype :"select" + ,formatter :"select" ,editoptions:{ - dataInit : function(e){ + value: sup_code + ,dataInit : function(e){ + e.style.width = "92%"; e.style.fontSize = 13; } } @@ -934,15 +955,15 @@ function fn_save(){