- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
258 lines
11 KiB
Plaintext
258 lines
11 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file="/init_jqGrid.jsp"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<script>
|
|
$(document).ready(function(){
|
|
|
|
$("._table1").scroll(function () {
|
|
$("._table2").scrollLeft($("._table1").scrollLeft());
|
|
});
|
|
$("._table2").scroll(function () {
|
|
$("._table1").scrollLeft($("._table2").scrollLeft());
|
|
});
|
|
|
|
$("input[type=text]").keyup(function(e){
|
|
if(e.keyCode == 13){
|
|
$("#btnSearch").trigger("click");
|
|
}
|
|
});
|
|
|
|
$("#btnSearch").click(function(){
|
|
fn_search();
|
|
});
|
|
|
|
$("#product_code").change(function(){
|
|
fnc_productUPGNEWList(this.value,"","upg_no", "");
|
|
});
|
|
|
|
if("${param.product_code}"!=""){
|
|
|
|
fnc_productUPGNEWList("${param.product_code}","","upg_no", "");
|
|
$("#upg_no").val("${param.upg_no}");
|
|
|
|
}
|
|
fnc_getCodeListAppend("<%=Constants.PART_TYPE_CODE%>","SEARCH_PART_TYPE","${param.SEARCH_PART_TYPE}");
|
|
|
|
fnc_getUserList2("SEARCH_WRITER", "${param.SEARCH_WRITER}");
|
|
|
|
$('.select2').select2();
|
|
|
|
});
|
|
|
|
function fn_orderSpecMngDetailPopUp(objId){
|
|
var hiddenForm = document.hiddenForm;
|
|
var url = "/salesMng/orderSpecMngDetailPopUp.do";
|
|
|
|
var target = "partMngPopUp";
|
|
|
|
window.open(url,target,"width=1500, height=800, menubars=no, scrollbars=yes, resizable=yes");
|
|
|
|
hiddenForm.action = url;
|
|
hiddenForm.OBJID.value = objId;
|
|
hiddenForm.target = target;
|
|
hiddenForm.submit();
|
|
}
|
|
|
|
function fn_search() {
|
|
document.form1.action = "/salesMng/searchOrderSpecMngList.do";
|
|
document.form1.submit();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body class="backcolor">
|
|
<form name="hiddenForm" id="hiddenForm" method="post">
|
|
<input type="hidden" name="OBJID" id="OBJID">
|
|
</form>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="actionType" id="actionType" value="" />
|
|
<input type="hidden" name="OBJID" id="OBJID" value="${param.OBJID}">
|
|
<div class="min_part_enroll">
|
|
<div class="content-box">
|
|
<div class="content-box-s">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>발주특성 관리</span>
|
|
</h2>
|
|
</div>
|
|
<div id="plmSearchZon">
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td><label for="product_code">기종(모델)명</label></td>
|
|
<td>
|
|
<select name="product_code" id="product_code" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.product_code}
|
|
</select>
|
|
</td>
|
|
<td><label for="">품번</label></td>
|
|
<td>
|
|
<input type="text" name="SEARCH_PART_NO" id="SEARCH_PART_NO" style="width:194px;" autocomplete="off" value="${param.SEARCH_PART_NO}">
|
|
</td>
|
|
<td><label for="">품명</label></td>
|
|
<td>
|
|
<input type="text" name="SEARCH_PART_NAME" id="SEARCH_PART_NAME" style="width:150px;" autocomplete="off" value="${param.SEARCH_PART_NAME}">
|
|
</td>
|
|
<td><label for="">재질</label></td>
|
|
<td>
|
|
<input type="text" name="SEARCH_MATERIAL" id="SEARCH_MATERIAL" style="width:150px;" autocomplete="off" value="${param.SEARCH_MATERIAL}">
|
|
</td>
|
|
<td><label for="">규격</label></td>
|
|
<td>
|
|
<input type="text" name="SEARCH_SPEC" id="SEARCH_SPEC" style="width:150px;" autocomplete="off" value="${param.SEARCH_SPEC}">
|
|
</td>
|
|
<td><label for="">최초설계일</label></td>
|
|
<td>
|
|
<input type="text" name="SEARCH_DESIGN_DATE_FROM" id="SEARCH_DESIGN_DATE_FROM" style="width:90px;" autocomplete="off" value="${param.SEARCH_DESIGN_DATE_FROM}">~
|
|
<input type="text" name="SEARCH_DESIGN_DATE_TO" id="SEARCH_DESIGN_DATE_TO" style="width:90px;" autocomplete="off" value="${param.SEARCH_DESIGN_DATE_TO}">
|
|
</td>
|
|
|
|
<td><label for="">부품 유형</label></td>
|
|
<td>
|
|
<select name="SEARCH_PART_TYPE" id="SEARCH_PART_TYPE" style="width:150px;" autocomplete="off"></select>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="contents_page_basic_margin">
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap">
|
|
<!-- <input type="button" value="구매 BOM 등록" class="plm_btns" id="btnReg"> -->
|
|
<input type="button" value="조회" class="plm_btns" id="btnSearch">
|
|
</div>
|
|
</div>
|
|
<div class="ascendig_text">
|
|
<font size="3px">총 ${fn:length(LIST)}건</font>
|
|
</div>
|
|
<div class="in_table_scroll_wrap _table1" style="height:26px;width:99.4%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="30px" />
|
|
<col width="30px" /> <!-- 순 -->
|
|
<col width="250px" /> <!-- 품번 -->
|
|
<col width="250px" /> <!-- 품명 -->
|
|
|
|
<col width="250px" /> <!-- 발주특성(공급업체) -->
|
|
|
|
<col width="30px" /> <!-- 형상 -->
|
|
<col width="70px" /> <!-- 3D -->
|
|
<col width="70px" /> <!-- 2D -->
|
|
<col width="70px" /> <!-- 2D PDF -->
|
|
<col width="30px" /> <!-- Qty -->
|
|
<col width="75px" /> <!-- 최초설계일 -->
|
|
<col width="75px" /> <!-- 설변일자 -->
|
|
<col width="150px" /> <!-- 설변항목 -->
|
|
<col width="250px" /> <!-- SPEC. -->
|
|
<col width="80px" /> <!-- Material -->
|
|
<col width="80px" /> <!-- SUB_Material -->
|
|
<col width="60px" /> <!-- Weight -->
|
|
<col width="60px" /> <!-- Part Type -->
|
|
<col width="250px" /> <!-- 비고 -->
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td><input type="checkbox" id="allCheck" class="checkBox"></td>
|
|
<td>순</td>
|
|
<td>품번</td>
|
|
<td>품명</td>
|
|
|
|
<td>발주특성(공급업체)</td>
|
|
|
|
<td>형상</td>
|
|
<td>3D</td>
|
|
<td>2D</td>
|
|
<td>PDF</td>
|
|
<td>수량</td>
|
|
<td>최초설계일</td>
|
|
<td>설변일자</td>
|
|
<td>설변항목</td>
|
|
<td>규격</td>
|
|
<td>재질</td>
|
|
<td>대체 재질</td>
|
|
<td>중량</td>
|
|
<td>부품 유형</td>
|
|
<td>비고</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="in_table_scroll_wrap _table2" style="height:560px;width:100%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="30px" />
|
|
<col width="30px" /> <!-- 순 -->
|
|
<col width="250px" /> <!-- 품번 -->
|
|
<col width="250px" /> <!-- 품명 -->
|
|
|
|
<col width="250px" /> <!-- 발주특성(공급업체) -->
|
|
|
|
<col width="30px" /> <!-- 형상 -->
|
|
<col width="70px" /> <!-- 3D -->
|
|
<col width="70px" /> <!-- 2D -->
|
|
<col width="70px" /> <!-- 2D PDF -->
|
|
<col width="30px" /> <!-- Qty -->
|
|
<col width="75px" /> <!-- 최초설계일 -->
|
|
<col width="75px" /> <!-- 설변일자 -->
|
|
<col width="150px" /> <!-- 설변항목 -->
|
|
<col width="250px" /> <!-- SPEC. -->
|
|
<col width="80px" /> <!-- Material -->
|
|
<col width="80px" /> <!-- SUB_Material -->
|
|
<col width="60px" /> <!-- Weight -->
|
|
<col width="60px" /> <!-- Part Type -->
|
|
<col width="250px" /> <!-- 비고 -->
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${empty LIST}">
|
|
<tr style="text-align: center;">
|
|
<td align="center" colspan="17">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:forEach var="item" items="${LIST}" varStatus="varStatus">
|
|
<tr>
|
|
<td><input type="checkbox" name="OBJID" value="${item.OBJID}" data-STATUS="${item.STATUS_TITLE}" data-WRITER="${item.WRITER}" data-PART_NO="${item.PART_NO}" data-REVISION="${item.REVISION}"></td>
|
|
<td>${item.RNUM}</td><!-- 순 -->
|
|
<td title="${item.PART_NO}${item.REVISION}" class="align_l" style="text-align: left; padding-left: 5px;"><a href="#" onclick="fn_orderSpecMngDetailPopUp('${item.OBJID}');">${item.PART_NO}${item.REVISION}</a></td><!-- 품번 -->
|
|
<td title="${item.PART_NAME}" class="align_l" style="text-align: left; padding-left: 5px;">${item.PART_NAME}</td><!-- 품명 -->
|
|
|
|
<td title="${item.PARTNER_TITLE}" class="align_l" style="text-align: left; padding-left: 5px;">${item.PARTNER_TITLE}</td><!-- 발주특성<br>(공급업체) -->
|
|
|
|
<td title="" class="align_c">
|
|
<c:if test="${!empty item.SAVED_FILE_NAME and !empty item.REAL_FILE_NAME and !empty item.FILE_PATH}">
|
|
<img src="#" height='85px' width='100%' onclick="fnc_openImagePopUp(this.src)" data-SRC="/common/viewImage.do?realFileName=${item.REAL_FILE_NAME}&savedFileName=${item.SAVED_FILE_NAME}&attDir=${item.FILE_PATH}"/>
|
|
</c:if>
|
|
</td><!-- 형상 -->
|
|
<td><a href="#" class="File file_${item.CU01_CNT eq 0?'empty_':''}icon" data-OBJID="${item.OBJID}" data-docType="3D_CAD" data-docTypeName="3D CAD 첨부파일"></a></td>
|
|
<td><a href="#" class="File file_${item.CU02_CNT eq 0?'empty_':''}icon" data-OBJID="${item.OBJID}" data-docType="2D_DRAWING_CAD" data-docTypeName="2D(Drawing) CAD 첨부파일"></a></td>
|
|
<td><a href="#" class="File file_${item.CU03_CNT eq 0?'empty_':''}icon" data-OBJID="${item.OBJID}" data-docType="2D_PDF_CAD" data-docTypeName="2D(PDF) CAD 첨부파일"></a></td>
|
|
<td title="${item.QTY}" class="align_c">${item.QTY}</td><!-- 수량 -->
|
|
<td title="${item.DESIGN_DATE}" class="align_c">${item.DESIGN_DATE}</td><!-- 최초설계일 -->
|
|
<td title="${item.EO_DATE}" class="align_c">${item.EO_DATE}</td><!-- 설변일자 -->
|
|
<td title="${item.CHANGE_OPTION_NAME}" class="align_c">${item.CHANGE_OPTION_NAME}</td><!-- 설변항목 -->
|
|
<td title="${item.SPEC}" class="align_l" style="text-align: left; padding-left: 5px;">${item.SPEC}</td><!-- SPEC -->
|
|
<td title="${item.MATERIAL}" class="align_c">${item.MATERIAL}</td><!-- 재질 -->
|
|
<td title="${item.SUB_MATERIAL}" class="align_c">${item.SUB_MATERIAL}</td><!-- 재질 -->
|
|
<td title="${item.WEIGHT}" class="align_c">${item.WEIGHT}</td><!-- 중량 -->
|
|
<td title="${item.PART_TYPE_TITLE}" class="align_l">${item.PART_TYPE_TITLE}</td><!-- SIZE -->
|
|
<td title="${item.REMARK}" class="align_l">${item.REMARK}</td><!-- 표면처리 -->
|
|
</tr>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |