Files
wace_plm/WebContent/WEB-INF/view/productDevMng/eoApplyDemandFormPopUp.jsp
chpark da06c4684c Initial commit: WACE PLM with database initialization features
- 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
2025-08-29 15:46:08 +09:00

131 lines
3.5 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.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(){
$("#btnSave").click(function(){
fn_save();
});
$("#btnClose").click(function(){
self.close(0);
});
//단계 change
$("#step1").change(function(){
fnc_setStep2($(this).val(), "${info.ILJI_APPLY_POINT_STEP2}");
});
//단계1 change trigger
$("#step1").trigger("change");
fnc_datepick();
});
</script>
<script>
function fn_save(){
if(fn_validate()){
if(confirm("저장하시겠습니까?")){
$.ajax({
url:"/productDev/saveEOApplyPointInfo.do",
type:"POST",
data:$("#form1").serialize(),
dataType:"json",
success:function(data){
Swal.fire(data.msg);
if(data.result == "true"){
opener.fn_search();
self.close(0);
}
},
error: function(jqxhr, status, error){
}
});
}
}
}
//정합성체크
function fn_validate(){
if($("#step1").val() == null || $("#step1").val() == ""){
Swal.fire("상위단계를 선택해 주시기 바랍니다.");
$("#step1").focus();
return false;
}
if($("#step2").val() == null || $("#step2").val() == ""){
Swal.fire("하위단계를 선택해 주시기 바랍니다.");
$("#step2").focus();
return false;
}
if($("#iljiApplyPointDate").val() == null || $("#iljiApplyPointDate").val() == ""){
Swal.fire("적용일을 입력해 주시기 바랍니다.");
$("#iljiApplyPointDate").focus();
return false;
}
return true;
}
</script>
</head>
<body>
<form name="form1" id="form1" action="" method="post">
<input type="hidden" name="objId" id="objId" value="${info.OBJID}" />
<input type="hidden" name="targetObjId" id="targetObjId" value="${empty info.TARGET_OBJID?param.targetObjId:info.TARGET_OBJID}" />
<div style="min-width:">
<div class="plm_menu_name">
<h2>
<span>EO 적용현황</span>
</h2>
</div>
<div id="businessPopupFormWrap">
<div class="form_popup_title">&nbsp;&nbsp;&nbsp;HMC 적용요구시점 입력</div>
<table class="pmsPopupForm">
<colgroup>
<col width="25%"/>
<col width="*"/>
</colgroup>
<tr>
<td class="input_title" rowspan="3">
<label for="">(주)진양코퍼레이션<br>&nbsp;&nbsp;&nbsp;적용시점</label>
</td>
<td>
<select name="step1" id="step1">
<option value="">선택</option>
<option value="design" ${info.ILJI_APPLY_POINT_STEP1 eq 'design'?'selected':''}>설계</option>
<option value="develop" ${info.ILJI_APPLY_POINT_STEP1 eq 'develop'?'selected':''}>개발</option>
<option value="production" ${info.ILJI_APPLY_POINT_STEP1 eq 'production'?'selected':''}>양산</option>
</select>
</td>
</tr>
<tr>
<td>
<select name="step2" id="step2">
<option value="">선택</option>
</select>
</td>
</tr>
<tr>
<td>
<input type="text" name="iljiApplyPointDate" id="iljiApplyPointDate" value="${info.ILJI_APPLY_POINT_DATE}">
</td>
</tr>
</table>
<div class="btn_wrap">
<div class="plm_btn_wrap_center">
<input type="button" value="저장" id="btnSave" class="plm_btns">
<input type="button" value="닫기" id="btnClose" class="plm_btns">
</div>
</div>
</div>
</div>
</form>
</body>
</html>