166 lines
5.0 KiB
Plaintext
166 lines
5.0 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>
|
|
</head>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$("#btnClose").click(function(){
|
|
self.close();
|
|
});
|
|
|
|
//취소
|
|
$("#btnCancel").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?objId="+objId;
|
|
document.form1.action ="/devInfoMng/devMaster/devMasterApplyEODetailPopUp.do"+params;
|
|
document.form1.submit();
|
|
});
|
|
});
|
|
</script>
|
|
<script>
|
|
//해당 Part의 적용 EO 정보를 저장한다.
|
|
function fn_savePartApplyEOInfo(){
|
|
$.ajax({
|
|
url:"/devInfoMng/devMaster/saveDevMasterConnectedPartApplyEOInfo.do",
|
|
type:"POST",
|
|
data:$("#form1").serialize(),
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
if(data.result){
|
|
Swal.fire("저장하였습니다.");
|
|
opener.location.reload();
|
|
self.close();
|
|
}else{
|
|
Swal.fire("오류가 발생하였습니다.");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="objId" value="${applyInfoMap.OBJID}">
|
|
<input type="hidden" name="targetObjId" value="${param.targetObjId}">
|
|
<section class="">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>개발마스터</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<div class="form_popup_title"> 등록 정보입력</div>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="40%">
|
|
<col width="15%">
|
|
<col width="45%">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title" colspan="2">
|
|
<label for="">적용EO</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="eoNo" style="width:93%" value="${applyInfoMap.EO_NO}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="3" class="input_title">
|
|
<label for="">가소요 등록요청 size</label>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="">두께</label>
|
|
</td>
|
|
<td colspan="">
|
|
<input type="text" name="requestSizeThickness" value="${applyInfoMap.EXPECT_REQUEST_SIZE_THICKNESS}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">가로</label>
|
|
</td>
|
|
<td colspan="">
|
|
<input type="text" name="requestSizeHorizontal" value="${applyInfoMap.EXPECT_REQUEST_SIZE_HORIZONTAL}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">세로</label>
|
|
</td>
|
|
<td colspan="">
|
|
<input type="text" name="requestSizeVertical" value="${applyInfoMap.EXPECT_REQUEST_SIZE_VERTICAL}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="3" class="input_title">
|
|
<label for="">실작업 size</label>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="" >두께</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="realSizeThickness" value="${applyInfoMap.REAL_WORK_SIZE_THICKNESS}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">가로</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="realSizeHorizontal" value="${applyInfoMap.REAL_WORK_SIZE_HORIZONTAL}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">세로</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="realSizeVertical" value="${applyInfoMap.REAL_WORK_SIZE_VERTICAL}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="2">
|
|
<label for="">NET중량(g)(데이터 중량)</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="netWeight" value="${applyInfoMap.NET_WEIGHT}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="2">
|
|
<label for="">원자재관리팀 확인유무</label>
|
|
</td>
|
|
<td>
|
|
<select name="chargeDeptConfirm">
|
|
<option value="unknown" ${'UNKNOWN' eq applyInfoMap.CHARGE_DEPT_CONFIRM?'selected':''}>미확인</option>
|
|
<option value="confirm" ${'CONFIRM' eq applyInfoMap.CHARGE_DEPT_CONFIRM?'selected':''}>확인완료</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="저장" id="btnSave" class="plm_btns" onclick="fn_savePartApplyEOInfo();">
|
|
<c:choose>
|
|
<c:when test="${param.actionType eq 'regist'}">
|
|
</c:when>
|
|
<c:otherwise>
|
|
<input type="button" id="btnCancel" value="취소" class="plm_btns" data-OBJID="${applyInfoMap.OBJID}">
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html> |