1533 lines
52 KiB
Plaintext
1533 lines
52 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>
|
|
|
|
<c:set var="objid" value="${partInfoMap.OBJID}" />
|
|
<c:set var="drawingNoObjId" value="${partInfoMap.DRAWING_NO_OBJID}" />
|
|
<c:set var="status" value="${partInfoMap.STATUS}" />
|
|
<c:set var="userId" value="${empty partInfoMap.userId?userId:''}" />
|
|
<c:set var="writer" value="${partInfoMap.WRITER}" />
|
|
<c:set var="mngItemCnt" value="${empty partInfoMap.PART_MNG_ITEM_CNT?0:partInfoMap.PART_MNG_ITEM_CNT}" />
|
|
<c:set var="mngItemType" value="${partInfoMap.MNG_ITEM_TYPE}" />
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
$(document).ready(function(){
|
|
var retrieve = "${param.retrieve}";
|
|
if(retrieve != ''){
|
|
$('#btn_modify').remove();
|
|
}
|
|
|
|
changeDrawArea("${empty partInfoMap.DRAWING_TYPE ? '' : partInfoMap.DRAWING_TYPE}");
|
|
|
|
shapeAreaDraw();
|
|
cad2DAreaDraw();
|
|
cad2DPDFAreaDraw();
|
|
cad3DAreaDraw();
|
|
mngItemAreaDraw();
|
|
ecdAreaDraw();
|
|
|
|
mold2DAreaDraw();
|
|
mold2DPDFAreaDraw();
|
|
mold3DAreaDraw();
|
|
|
|
convertCad2DAreaDraw();
|
|
convertCad3DAreaDraw();
|
|
|
|
$("#btn_modify_isLast").hide();
|
|
$("#btn_revision").hide();
|
|
$("#btn_saveRevision").hide();
|
|
|
|
if("complete" == "${status}"){
|
|
$("#btn_modify").hide();
|
|
|
|
if("0" != "${partInfoMap.DUPLICATE_PART_CNT}"){
|
|
$("#btn_modify_isLast").show();
|
|
}
|
|
if("1" =="${partInfoMap.IS_LAST}"){
|
|
$("#btn_revision").show();
|
|
}
|
|
}
|
|
|
|
if("${param.partNo}" != "" || "view" == "${param.actionType}" || "${userId}" != "${writer}"){
|
|
$("#btn_modify").hide();
|
|
$("#btn_revision").hide();
|
|
$("#btn_modify_isLast").hide();
|
|
}
|
|
|
|
changeMngItemArea("${empty partInfoMap.MNG_ITEM_TYPE_ORG ? '' : partInfoMap.MNG_ITEM_TYPE_ORG}");
|
|
|
|
if("${userId}" == "plm_admin" && "complete" == "${status}"){
|
|
$("#btn_modify").show();
|
|
$("#btn_revision").show();
|
|
}
|
|
|
|
if(0 == "${mngItemCnt}" && "Y" == "${mngItemType}"){
|
|
openMngItemConfirmPopUp();
|
|
}
|
|
|
|
//Swal.fire("mngItemCnt : ${mngItemCnt}, mngItemType : ${mngItemType}, drawingNoObjId : ${drawingNoObjId}, DRAWING_TYPE : ${partInfoMap.DRAWING_TYPE}");
|
|
|
|
if(((0 != "${mngItemCnt}" && "Y" == "${mngItemType}") || "N" == "${mngItemType}") && ("" != "${drawingNoObjId}" && "draw" != "${partInfoMap.DRAWING_TYPE}")){
|
|
fn_changeDrawingNoRefInfo();
|
|
}
|
|
});
|
|
});
|
|
|
|
//도면번호가 있는 경우 우측에 도면번호에 해당하는 Part의 정보를 보여준다.
|
|
function fn_changeDrawingNoRefInfo(){
|
|
window.resizeTo(window.outerWidth*2,(window.innerHeight)+35);
|
|
|
|
$(".partPopupFormWrapLeft").css("float","left");
|
|
$(".partPopupFormWrapLeft").css("width","700px");
|
|
$(".partPopupFormWrapRight").css("float","right");
|
|
$(".partPopupFormWrapRight").css("width","700px");
|
|
|
|
}
|
|
|
|
//관리항목 있을 경우 관리항목에
|
|
//해당하는 파일 확인하도록 하는 팝업
|
|
function openMngItemConfirmPopUp(){
|
|
$("#mngItemConfirmArea").load("/part/openMngItemReceptListPopUp.do").data("ojbid","${objid}").dialog({
|
|
modal:true,
|
|
width:'600',
|
|
height:'400',
|
|
position: {my: 'top', at: 'top+100'},
|
|
draggable:false,
|
|
resizable: false
|
|
});
|
|
$('div.ui-dialog-titlebar').remove();
|
|
}
|
|
|
|
function layerClose(){
|
|
var mngItemReceptLength = $("#mngItemReceptLength").val();
|
|
if(mngItemReceptLength > 0){
|
|
if(confirm("관리항목 파일을 확인하지 않으면 파트 상세 화면을 열람 할 수 없습니다. 창을 닫으시겠습니까?")){
|
|
self.close();
|
|
}
|
|
}else{
|
|
$("#mngItemConfirmArea").dialog('close');
|
|
}
|
|
}
|
|
|
|
//도면 구분에 따른 영역의 활성화
|
|
function changeDrawArea(type){
|
|
if("draw" == type){
|
|
$("#cadArea").show();
|
|
$("#cad2DPDF").show();
|
|
$("#cad3D").show();
|
|
|
|
$("#moldArea").show();
|
|
$("#mold2DPDF").show();
|
|
$("#mold3D").show();
|
|
|
|
cad2DAreaDraw();
|
|
cad2DPDFAreaDraw();
|
|
cad3DAreaDraw();
|
|
|
|
mold2DAreaDraw();
|
|
mold2DPDFAreaDraw();
|
|
mold3DAreaDraw();
|
|
|
|
convertCad2DAreaDraw();
|
|
convertCad3DAreaDraw();
|
|
|
|
}else{
|
|
$("#cadArea").hide();
|
|
$("#cad2DPDF").hide();
|
|
$("#cad3D").hide();
|
|
|
|
$("#moldArea").hide();
|
|
$("#mold2DPDF").hide();
|
|
$("#mold3D").hide();
|
|
|
|
$("#convertCad2D").hide();
|
|
$(".convertCad2D").hide();
|
|
$("#convertCad3D").hide();
|
|
$(".convertCad3D").hide();
|
|
}
|
|
}
|
|
|
|
//관리항목 선택 및 기존 관리항목 선택여부에 따라 첨부파일 영역을 보여준다.
|
|
function changeMngItemArea(type){
|
|
if("management" == type){
|
|
$("#mngItem").show();
|
|
mngItemAreaDraw();
|
|
}else{
|
|
$("#mngItem").hide();
|
|
mngItemAreaDraw();
|
|
}
|
|
}
|
|
|
|
//형상 영역을 display 한다.
|
|
function shapeAreaDraw(){
|
|
fn_fileCallback("shape","${SHAPE}",'');
|
|
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartShape","${SHAPE}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//ECD 영역을 display 한다.
|
|
function ecdAreaDraw(){
|
|
fn_fileCallback("ecd","${ECD}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartECD","${ECD}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//관리항목 영역을 display 한다.
|
|
function mngItemAreaDraw(){
|
|
fn_fileCallback("mngItem","${MNG_ITEM}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartMngItem","${MNG_ITEM}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part 2D 영역을 display 한다.
|
|
function cad2DAreaDraw(){
|
|
fn_fileCallback("cad2D","${PART_2D}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartCad2D","${PART_2D}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part 2D PDF 영역을 display 한다.
|
|
function cad2DPDFAreaDraw(){
|
|
fn_fileCallback("cad2DPDF","${PART_2D_PDF}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartCad2DPDF","${PART_2D_PDF}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part 3D 영역을 display 한다.
|
|
function cad3DAreaDraw(){
|
|
fn_fileCallback("cad3D","${PART_3D}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartCad3D","${PART_3D}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part Mold 2D 영역을 display 한다.
|
|
function mold2DAreaDraw(){
|
|
fn_fileCallback("mold2D","PART_MOLD_2D",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartMold2D","PART_MOLD_2D","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part Mold 2D PDF 영역을 display 한다.
|
|
function mold2DPDFAreaDraw(){
|
|
fn_fileCallback("mold2DPDF","PART_MOLD_2D_PDF",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartMold2DPDF","PART_MOLD_2D_PDF","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
//Part Mold 3D 영역을 display 한다.
|
|
function mold3DAreaDraw(){
|
|
fn_fileCallback("mold3D","PART_MOLD_3D",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartMold3D","PART_MOLD_3D","${drawingNoObjId}");
|
|
}
|
|
}
|
|
|
|
|
|
/* //Part 2D 변환파일 영역을 display 한다.
|
|
function convertCad2DAreaDraw(){
|
|
fn_fileCallback("convertCad2D","${PART_CONVERT_2D}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartConvertCad2D","${PART_CONVERT_2D}","${drawingNoObjId}");
|
|
}
|
|
}
|
|
//Part 3D 영역을 display 한다.
|
|
function convertCad3DAreaDraw(){
|
|
fn_fileCallback("convertCad3D","${PART_CONVERT_3D}",'');
|
|
if("" != "${drawingNoObjId}"){
|
|
fn_fileCallback("dPartConvertCad3D","${PART_CONVERT_3D}","${drawingNoObjId}");
|
|
}
|
|
} */
|
|
|
|
function openImagePopUp(url){
|
|
var img=new Image();
|
|
img.src=url;
|
|
var img_width=img.width;
|
|
var img_height=img.height;
|
|
var win_width=img.width+25;
|
|
var height=img.height+30;
|
|
|
|
window.open(url,"partListShapeImgPopUp","width="+img_width+",height="+height+", menubars=no, scrollbars=yes, resizable=yes'");
|
|
}
|
|
|
|
//첨부파일 목록을 가져온다.
|
|
function fn_fileCallback(areaId,fileType,objId){
|
|
var targetObjid = objId;
|
|
|
|
if(targetObjid == null || targetObjid == ""){
|
|
targetObjid = "${objid}";
|
|
}
|
|
|
|
$.ajax({
|
|
url:"/common/getFileList.do",
|
|
type:"POST",
|
|
data:{"targetObjId":targetObjid, "docType":fileType},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
|
|
if(0 < data.length){
|
|
//첨부파일 목록 영역 show
|
|
$("#"+areaId+"AttachFileList").show();
|
|
$("#"+areaId+"DefaultRow").hide();
|
|
$("#"+areaId+"FileArea").empty();
|
|
$.each(data, function(i){
|
|
|
|
var appendText = "";
|
|
if("shape" == areaId || "dPartShape" == areaId){
|
|
var path = data[i].FILE_PATH;
|
|
var fileName = data[i].SAVED_FILE_NAME;
|
|
var srcLocation = encodeURI("/common/viewImage.do?realFileName="+data[i].REAL_FILE_NAME+"&savedFileName="+data[i].SAVED_FILE_NAME+"&attDir="+data[i].FILE_PATH);
|
|
|
|
appendText+= "<tr>";
|
|
appendText+= " <td>";
|
|
appendText+= " <img src='"+srcLocation+"' height='60' width='60' onclick=\"openImagePopUp(this.src)\" style='cursor:pointer;' />";
|
|
appendText+= " </td>";
|
|
appendText+= "</tr>";
|
|
}else{
|
|
appendText+= "<tr>";
|
|
appendText+= " <td><a href='javascript:fnc_downloadFile(\""+data[i].OBJID+"\")'>"+data[i].REAL_FILE_NAME+"</a></td>";
|
|
appendText+= "</tr>";
|
|
}
|
|
|
|
$("#"+areaId+"FileArea").append(appendText);
|
|
});
|
|
|
|
}else{
|
|
$("#"+areaId+"DefaultRow").show();
|
|
$("#"+areaId+"FileArea").empty();
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
Swal.fire(jqxhr.statusText + ", " + status + ", " + error);
|
|
Swal.fire(jqxhr.status);
|
|
Swal.fire(jqxhr.responseText);
|
|
}
|
|
});
|
|
}
|
|
|
|
function openPartFormPopup(){
|
|
if(confirm("수정하시겠습니까?")){
|
|
var form = document.form1;
|
|
var url = "/part/partFormPopup.do";
|
|
form.action = url;
|
|
form.actionType.value = "modify";
|
|
form.submit();
|
|
}
|
|
}
|
|
|
|
//동일 파트번호가 존재하는 경우 사용자가 IS_LAST를 지정 할 수 있도록 한다.
|
|
function changePartIsLastPopUp(){
|
|
if(confirm("해당 품번의 최종 Revision을 설정하시겠습니까?")){
|
|
var form = document.form1;
|
|
window.open("","changePartIsLast","width=900 height=390 menubar=no status=no");
|
|
form.action = "/part/changePartIsLastPopUp.do";
|
|
form.target = "changePartIsLast";
|
|
form.submit();
|
|
}
|
|
}
|
|
|
|
//연결된 SPEC의 상세 내용
|
|
function openSpecDataPopUp(objid){
|
|
|
|
var hiddenForm = document.hiddenForm;
|
|
var url = "/specData/specDataFormPopup.do";
|
|
var target = ""
|
|
var actionType = "";
|
|
if("" != objid){
|
|
url = "/specData/specDataDetailViewPopup.do";
|
|
target = objid;
|
|
}else{
|
|
actionType = "regist";
|
|
target = "specDataPopUp";
|
|
}
|
|
window.open("",target,"width=900 height=780 menubar=no status=no");
|
|
hiddenForm.objid.value = objid;
|
|
hiddenForm.target = target;
|
|
hiddenForm.action = url;
|
|
hiddenForm.submit();
|
|
}
|
|
|
|
//연결된 EO의 상세 내용
|
|
function openEOPopup(objId,actionType){
|
|
var hiddenForm = document.hiddenForm;
|
|
window.open("","detailEOInfo","width=1500,height=700");
|
|
|
|
hiddenForm.target = "detailEOInfo";
|
|
hiddenForm.objId.value = objId;
|
|
hiddenForm.actionType.value = actionType;
|
|
hiddenForm.action = "/eo/eoDetailViewPopup.do";
|
|
hiddenForm.submit();
|
|
}
|
|
|
|
//Part를 Revision 한다.(개발중)
|
|
function partRevision(){
|
|
|
|
$("#btn_revision").hide();
|
|
|
|
if($("#revCount").val() != "0"){
|
|
Swal.fire("이미 Revision Part가 생성되어 있습니다.\nPart 등록 메뉴를 통해 확인하시기 바랍니다.");
|
|
$("#btn_revision").show();
|
|
return false;
|
|
}else{
|
|
if(confirm("해당 파트를 Revision 하시겠습니까?")){
|
|
var form = document.form1;
|
|
form.actionType.value = "revision";
|
|
form.action = "/part/createRevisionPart.do";
|
|
form.submit();
|
|
}else{
|
|
$("#btn_revision").show();
|
|
}
|
|
}
|
|
}
|
|
|
|
//연결당시의 파트를 보여줄 것인지 아니면 파트에 해당하는 최신 내용을 보여줄것인지 확인 필요
|
|
//개발중
|
|
function openPartInDetailPopup(objid){
|
|
var hiddenForm = document.hiddenForm;
|
|
var url = "/part/partDetailViewPopup.do";
|
|
var target = objid;
|
|
|
|
if(objid != "" || objid != null){
|
|
window.open(url,target,"width=700, height=930");
|
|
|
|
hiddenForm.action = url;
|
|
hiddenForm.actionType.value = actionType;
|
|
hiddenForm.objid.value = objid;
|
|
hiddenForm.target = target;
|
|
hiddenForm.submit();
|
|
}
|
|
}
|
|
|
|
function fn_btn_close(){
|
|
var actionType = "${param.actionType}";
|
|
//Swal.fire("actionType : "+actionType);
|
|
if(actionType != ""){
|
|
if("view" != actionType){
|
|
opener.location.reload();
|
|
}
|
|
}
|
|
self.close();
|
|
}
|
|
|
|
//파트에 해당하는 관리항목 목록을 가져온다.
|
|
function getMngItemReceptList(){
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/part/getMngItemReceptList.do",
|
|
data:{ "objid" : "${objid}"},
|
|
dataType:"JSON",
|
|
async:false,
|
|
error: function(jqxhr, status, error){
|
|
Swal.fire(jqxhr.statusText + ", " + status + ", " + error);
|
|
Swal.fire(jqxhr.status);
|
|
Swal.fire(jqxhr.responseText);
|
|
},
|
|
success: function(result){
|
|
if(null != result){
|
|
if(result.length > 0 ){
|
|
$("#mngItemReceptLength").val(result.length);
|
|
$("#defaultMngItemReceptListRow").hide();
|
|
$("#mngItemReceptList").empty();
|
|
for(var i=0;i<result.length;i++){
|
|
var appendText = "";
|
|
appendText+= "<tr>";
|
|
appendText+= " <td>"+(i+1)+"</td>";
|
|
appendText+= " <td>"+fnc_checkNull(result[i].DOC_TYPE_NAME)+"</td>";
|
|
appendText+= " <td><a href='javascript:fnc_downloadFile(\""+result[i].OBJID+"\")'>"+result[i].REAL_FILE_NAME+"</a></td>";
|
|
appendText+= " <td>"+fnc_checkNull(result[i].RECEPT_STATUS)+"</td>";
|
|
appendText+= "</tr>";
|
|
$("#mngItemReceptList").append(appendText);
|
|
}
|
|
}else{
|
|
$("#mngItemReceptLength").val(0);
|
|
$("#defaultMngItemReceptListRow").show();
|
|
$("#mngItemReceptList").empty();
|
|
}
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
//파일 다운로드 시 DB에 확인 이력 입력
|
|
function checkPartMngFile(status){
|
|
if(status != "" || status != null){
|
|
if(confirm("해당 관리항목을 확인처리 하시겠습니까?")){
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/part/checkPartMngFile.do",
|
|
data:{ "partObjId" : "${objid}","status":status},
|
|
dataType:"JSON",
|
|
async:false,
|
|
error: function(jqxhr, status, error){
|
|
Swal.fire(jqxhr.statusText + ", " + status + ", " + error);
|
|
Swal.fire(jqxhr.status);
|
|
Swal.fire(jqxhr.responseText);
|
|
},
|
|
success: function(result){
|
|
if(null != result){
|
|
Swal.fire(result.message);
|
|
$("#btn_confirm").hide();
|
|
$("#mngItemReceptLength").val(0);
|
|
window.location.reload();
|
|
}
|
|
}
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|
|
//Revision 클릭 시 해당 파트의 모든 Revision을 보여준다.
|
|
function fn_openPartListPop(partNo){
|
|
window.open("","openPartListPop","width=1600 height=560 menubar=no status=no");
|
|
|
|
var form = document.hiddenForm;
|
|
form.action = "/part/openRevisionPartPopUp.do";
|
|
form.partNo.value = partNo;
|
|
form.target = "openPartListPop";
|
|
form.status.value = "all";
|
|
form.submit();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="backcolor_light_blue">
|
|
<form name="hiddenForm" id="hiddenForm" method="post">
|
|
<input type="hidden" name="objId">
|
|
<input type="hidden" name="objid">
|
|
<input type="hidden" name="actionType" value="${param.actionType}">
|
|
<input type="hidden" name="partNo">
|
|
<input type="hidden" name="status">
|
|
</form>
|
|
<form name="form1" action="" method="post">
|
|
<input type="hidden" name="objid" id="objid" value="${objid}">
|
|
<input type="hidden" name="actionType" id="actionType">
|
|
<input type="hidden" name="revCount" id="revCount" value="${partInfoMap.REV_CNT}">
|
|
<section class="part_popup_min_width">
|
|
<!-- Part의 관리항목 목록을 보여줄 영역. -->
|
|
<div id="mngItemConfirmArea"></div>
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>Part상세</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap" class="partPopupFormWrapLeft">
|
|
<div class="form_popup_title"> Part 상세 정보</div>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%" />
|
|
<col width="38%" />
|
|
<col width="*" />
|
|
<col width="13%" />
|
|
<col width="18%" />
|
|
<col width="19%" />
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title"><label for="">품번</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom">${partInfoMap.PART_NO}</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">ERP자재코드</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
<c:if test="${empty partInfoMap.RH_PART_NO}">-</c:if>
|
|
<c:if test="${!empty partInfoMap.RH_PART_NO}">
|
|
<%-- <a href="#" onclick="openPartInDetailPopup('${partInfoMap.RH_PART_OBJID}');">${partInfoMap.RH_PART_NO}</a> --%>${partInfoMap.RH_PART_NO}
|
|
</c:if>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">품명</label></td>
|
|
<td class="tr_data_border_bottom" colspan="5">
|
|
${partInfoMap.PART_NAME}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">고객사</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
${partInfoMap.OEM_NAME} ${empty partInfoMap.OEM_CODE?'':'('}${partInfoMap.OEM_CODE}${empty partInfoMap.OEM_CODE?'':')'}
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">차종</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${partInfoMap.CAR_CODE}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">제품군</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
${partInfoMap.PRODUCT_GROUP_NAME}</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">제품</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${partInfoMap.PRODUCT_NAME}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">ECO.No</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<%-- <a href="#" onclick="openEOPopup('${partInfoMap.EO_OBJID}','view')">${partInfoMap.EO_NO}</a> --%>
|
|
${partInfoMap.EO_NO}
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">ECO.Date</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${partInfoMap.EO_ISSUE_DATE}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">Rev</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<%-- <a href="#" onclick="fn_openPartListPop('${partInfoMap.PART_NO}')">${partInfoMap.REV}</a> --%>${partInfoMap.REV}
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">사양</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${empty partInfoMap.PART_OPTION_NAME ? '':partInfoMap.PART_OPTION_NAME}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_20px input_title"><label for="">출도구분</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<input type="radio" name="drawReleaseType" value="dev" ${'dev' eq partInfoMap.DRAWING_RELEASE_TYPE ? 'checked':''} disabled /><span>개발</span>
|
|
<input type="radio" name="drawReleaseType" value="product" ${'product' eq partInfoMap.DRAWING_RELEASE_TYPE ? 'checked':''} disabled /><span>양산</span>
|
|
</td>
|
|
<td></td>
|
|
<td class="checkboxName_10px input_title"><label for="">부품구분</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
<input type="radio" name="partType" value="unique" ${'unique' eq partInfoMap.PART_TYPE ? 'checked':''} disabled /><span>Unique part</span>
|
|
<input type="radio" name="partType" value="standard" ${'standard' eq partInfoMap.PART_TYPE ? 'checked':''} disabled /><span>표준 품</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_20px input_title"><label for="">도면구분</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<input type="radio" name="drawType" value="draw" ${'draw' eq partInfoMap.DRAWING_TYPE ? 'checked':''} disabled /><span>D</span>
|
|
<input type="radio" name="drawType" value="shownOn" ${'shownOn' eq partInfoMap.DRAWING_TYPE ? 'checked':''} disabled /><span>S</span>
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">도면번호</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
<a href="#" onclick="openPartInDetailPopup('${drawingNoPartInfoMap.DRAWING_NO_OBJID}');">${empty drawingNoPartInfoMap.DRAWING_NO ? '':drawingNoPartInfoMap.DRAWING_NO}</a>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">재질</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
${empty partInfoMap.MATERIAL_NAME ? '':partInfoMap.MATERIAL_NAME}
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">원소재사이즈</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${empty partInfoMap.THICKNESS ? '':partInfoMap.THICKNESS}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<%-- <td class="input_title"><label for="">도금</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
${empty partInfoMap.MATERIAL_TYPE_NAME ? '':partInfoMap.MATERIAL_TYPE_NAME}
|
|
</td>
|
|
<td></td> --%>
|
|
|
|
<td class="input_title"><label for="">도금</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${partInfoMap.PLATED}
|
|
</td>
|
|
<td class="input_title"><label for="">도장</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${partInfoMap.STAMP}
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td class="input_title"><label for="">중량(제품)</label></td>
|
|
<td class="tr_data_border_bottom">${partInfoMap.WEIGHT}</td>
|
|
<td></td>
|
|
<td class="input_title" rowspan="2"><label for="">형상</label></td>
|
|
<td colspan="2" rowspan="2" id="img_position_re" class="tr_data_border_bottom">
|
|
<div id="shapeAttachFileList">
|
|
<table id="shapeFileAreaTable" class="spec_data_in_table">
|
|
<tbody id="shapeFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title"><label for="">중량(스프루)</label></td>
|
|
<td class="tr_data_border_bottom">${partInfoMap.SPRUE}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="checkboxName input_title"><label for="">SPEC No.</label></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div class="plm_table_wrap">
|
|
<div style="overflow-y:scroll;">
|
|
<table class="plm_table" style="width:100%;">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td colspan=''>문서번호</td>
|
|
<td colspan=''>SPEC No.</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="plm_scroll_table" style="width:100%; height:47px;">
|
|
<table id="specAppendArea"class="plm_table">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${empty connectedSPECList}">
|
|
<tr class="align_c">
|
|
<td colspan="2">연결된 SPEC이 없습니다.</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table id="specAppendAreaTable" class="plm_table">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<tbody>
|
|
<c:forEach var="item" items="${connectedSPECList}"
|
|
varStatus="varStatus">
|
|
<tr>
|
|
<td>
|
|
<a href='#' onclick="openSpecDataPopUp('${item.SUB_OBJID}')">${item.SPEC_NO}</a>
|
|
</td>
|
|
<td>${item.DOC_NAME}</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_60px input_title"><label for="">기변항목</label></td>
|
|
<td colspan="5">
|
|
<input type="checkbox" name="changeItem" value="changeGeometry" ${empty connectChangeItemInfo.changeGeometry ? '' : connectChangeItemInfo.changeGeometry} disabled /> <span class="span_margin">형상변경</span>
|
|
<input type="checkbox" name="changeItem" value="materialThickChange" ${empty connectChangeItemInfo.materialThickChange ? '' : connectChangeItemInfo.materialThickChange} disabled /> <span>재질/두께변경</span>
|
|
<input type="checkbox" name="changeItem" value="cycleChange" ${empty connectChangeItemInfo.cycleChange ? '' : connectChangeItemInfo.cycleChange} disabled /> <span>주기변경</span>
|
|
<input type="checkbox" name="changeItem" value="constructChange" ${empty connectChangeItemInfo.constructChange ? '' : connectChangeItemInfo.constructChange} disabled /> <span>구성변경</span>
|
|
<input type="checkbox" name="changeItem" value="weldingSpot" ${empty connectChangeItemInfo.weldingSpot ? '' : connectChangeItemInfo.weldingSpot} disabled /> <span class="span_margin_1">용접점</span>
|
|
<input type="checkbox" name="changeItem" value="structurGlue" ${empty connectChangeItemInfo.structurGlue ? '' : connectChangeItemInfo.structurGlue} disabled /> <span class="span_margin_2">구조용접착제</span>
|
|
<input type="checkbox" name="changeItem" value="first" ${empty connectChangeItemInfo.first ? '' : connectChangeItemInfo.first} disabled /> <span class="span_margin_3">초도</span>
|
|
<input type="checkbox" name="changeItem" value="etc" ${empty connectChangeItemInfo.etc ? '' : connectChangeItemInfo.etc} disabled /> <span>기타</span>
|
|
<input type="checkbox" name="changeItem" value="none" ${empty connectChangeItemInfo.none ? '' : connectChangeItemInfo.none} disabled /> <span>해당 無</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">설계적용시점</label></td>
|
|
<td colspan="2">
|
|
<select name="applyPointType" id="applyPointType" class="min" disabled>
|
|
<c:choose>
|
|
<c:when test="${empty applyPointList}">
|
|
<option value="">선택</option>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<option value="">선택</option>
|
|
<c:forEach var="item" items="${applyPointList}"
|
|
varStatus="varStatus">
|
|
<option value="${item.OBJID}"
|
|
${item.OBJID eq partInfoMap.APPLY_POINT_OBJID ? 'selected':''}>${item.APPLY_POINT_NAME}</option>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</select>
|
|
</td>
|
|
<td class="input_title"><label for="">ECD</label></td>
|
|
<td colspan="2" class="tr_data_border_bottom">
|
|
<div id="ecdAttachFileList">
|
|
<table id="ecdFileAreaTable" class="spec_data_in_table">
|
|
<tr id="ecdDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="ecdFileArea"></tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6"><hr></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
<td class="input_title"><label for="cavity">Cavity</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2" name="cavity" id="cavity" disabled maxlength="32">
|
|
${partInfoMap.CAVITY}
|
|
</td>
|
|
|
|
|
|
<td class="input_title">
|
|
<label for="mod_c">금형구분</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<select name="mod_c" id="mod_c" class="min" type="select" disabled>
|
|
<option value="">선택</option>
|
|
${code_map.mod_c}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="pro_c">생산구분</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<input type="checkbox" name="pro_category" id="pro_c" value="pro_c1" ${empty PartProductItemListInfo.pro_c1 ? '' : PartProductItemListInfo.pro_c1} disabled>
|
|
<span>사급품(가공) </span>
|
|
<input type="checkbox" name="pro_category" id="pro_c" value="pro_c2" ${empty PartProductItemListInfo.pro_c2 ? '' : PartProductItemListInfo.pro_c2}/ disabled>
|
|
<span>사내생산 </span>
|
|
<input type="checkbox" name="pro_category" id="pro_c" value="pro_c3" ${empty PartProductItemListInfo.pro_c3 ? '' : PartProductItemListInfo.pro_c3} / disabled>
|
|
<span>양산공용 </span>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="input_title">
|
|
<label for="com_m">금형업체</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<select name="com_m" id="com_m" class="min" type="select" disabled>
|
|
<option value="">선택</option>
|
|
${code_map.com_m}
|
|
</select>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="com_sm">부자재업체</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<select name="com_sm" id="com_sm" class="min" type="select" disabled>
|
|
<option value="">선택</option>
|
|
${code_map.com_sm}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="com_pp"><font size="1.7px">도금/도장업체</font></label>
|
|
</td>
|
|
<td colspan="2">
|
|
<select name="com_pp" id="com_pp" class="min" type="select" disabled>
|
|
<option value="">선택</option>
|
|
${code_map.com_pp}
|
|
</select>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="com_em">원소재업체</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<select name="com_em" id="com_em" class="min" type="select" disabled>
|
|
<option value="">선택</option>
|
|
${code_map.com_em}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title"><label for="remarks">비고</label></td>
|
|
<td class="tr_data_border_bottom" colspan="5" name="remarks" id="remarks" disabled>
|
|
${partInfoMap.REMARKS}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="6"><hr></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title"><label for="">관리항목</label></td>
|
|
<td>
|
|
<input type="radio" name="mngType" value="management" ${'Y' eq partInfoMap.MNG_ITEM_TYPE ? 'checked' : ''} disabled /><span>YES</span>
|
|
<input type="radio" name="mngType" value="unManagement" ${'N' eq partInfoMap.MNG_ITEM_TYPE ? 'checked' : ''} disabled /><span>NO</span>
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="mngItemAttachFileList">
|
|
<table id="mngItemFileAreaTable" class="spec_data_in_table">
|
|
<tbody id="mngItemFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%;">
|
|
<col width="10%;">
|
|
<col width="77%;">
|
|
</colgroup>
|
|
<tr id="cadArea">
|
|
<td rowspan="3" class="partPopupFormDatatt input_title">CAD Data</td>
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="cad2DAttachFileList">
|
|
<table id="cad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="cad2DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="cad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cad2DPDF">
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">2D PDF</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="cad2DPDFAttachFileList">
|
|
<table id="cad2DPDFFileAreaTable" class="spec_data_in_table">
|
|
<tr id="cad2DPDFDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="cad2DPDFFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cad3D">
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="cad3DAttachFileList">
|
|
<table id="cad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="cad3DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="cad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<!-- <tr class="convertCad2D">
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr id="convertCad2D">
|
|
<td rowspan="2" class=" partPopupFormDatatt input_title">변환 도면</td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="convertCad2DAttachFileList">
|
|
<table id="convertCad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="convertCad2DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="convertCad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="convertCad3D">
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="convertCad3DAttachFileList">
|
|
<table id="convertCad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="convertCad3DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="convertCad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="convertCad3D">
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr> -->
|
|
|
|
<tr class="convertCad3D">
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%;">
|
|
<col width="10%;">
|
|
<col width="77%;">
|
|
</colgroup>
|
|
<tr id="moldArea">
|
|
<td rowspan="3" class="partPopupFormDatatt input_title">MOLD Data</td>
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="mold2DAttachFileList">
|
|
<table id="mold2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="mold2DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="mold2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mold2DPDF">
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">2D PDF</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="mold2DPDFAttachFileList">
|
|
<table id="mold2DPDFFileAreaTable" class="spec_data_in_table">
|
|
<tr id="mold2DPDFDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="mold2DPDFFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mold3D">
|
|
<td class="input_sub_title" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="mold3DAttachFileList">
|
|
<table id="mold3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="mold3DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="mold3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<!-- <tr class="convertCad2D">
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr id="convertCad2D">
|
|
<td rowspan="2" class=" partPopupFormDatatt input_title">변환 도면</td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="convertCad2DAttachFileList">
|
|
<table id="convertCad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="convertCad2DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="convertCad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="convertCad3D">
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="convertCad3DAttachFileList">
|
|
<table id="convertCad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="convertCad3DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="convertCad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr> -->
|
|
|
|
<tr class="convertCad3D">
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
<div class="btn_wrap" style="clear:both;">
|
|
<div class="plm_btn_wrap_center">
|
|
<c:if test="${true ne externalAccess}">
|
|
<input type="button" value="수정" id="btn_modify" class="plm_btns" onclick="openPartFormPopup();">
|
|
<input type="button" value="Revision" id="btn_revision" class="plm_btns" onclick="partRevision();">
|
|
<!-- <input type="button" value="확정 Part 변경" id="btn_modify_isLast" class="plm_btns" onclick="changePartIsLastPopUp();"> -->
|
|
</c:if>
|
|
|
|
<input type="button" value="닫기" id="btn_close" class="plm_btns" onclick="fn_btn_close();">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
<c:choose>
|
|
<%-- <c:when test="${((0 != mngItemCnt and 'Y' == mngItemType) or 'N' == mngItemType) and ('' ne drawingNoObjId and 'draw' ne partInfoMap.DRAWING_TYPE)}"> --%>
|
|
<c:when test="${!empty partInfoMap.DRAWING_NO_OBJID}">
|
|
<div id="businessPopupFormWrap" class="partPopupFormWrapRight">
|
|
<div class="form_popup_title"> 도면번호 상세 정보</div>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%" />
|
|
<col width="38%" />
|
|
<col width="*" />
|
|
<col width="13%" />
|
|
<col width="18%" />
|
|
<col width="19%" />
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title"><label for="">품번</label></td>
|
|
<td class="tr_data_border_bottom">${drawingNoPartInfoMap.PART_NO}</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">RH P/No.</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
<c:if test="${empty drawingNoPartInfoMap.RH_PART_NO}">-</c:if>
|
|
<c:if test="${!empty drawingNoPartInfoMap.RH_PART_NO}">
|
|
<a href="#" onclick="openPartInDetailPopup('${drawingNoPartInfoMap.RH_PART_OBJID}');">${drawingNoPartInfoMap.RH_PART_NO}</a>
|
|
</c:if>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">품명</label></td>
|
|
<td class="tr_data_border_bottom" colspan="5">${drawingNoPartInfoMap.PART_NAME}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">고객사</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
${drawingNoPartInfoMap.OEM_NAME} ${empty drawingNoPartInfoMap.OEM_CODE?'':'('}${drawingNoPartInfoMap.OEM_CODE}${empty drawingNoPartInfoMap.OEM_CODE?'':')'}
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">차종</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${drawingNoPartInfoMap.CAR_CODE}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">제품군</label></td>
|
|
<td class="tr_data_border_bottom">${drawingNoPartInfoMap.PRODUCT_GROUP_NAME}</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">제품</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">${drawingNoPartInfoMap.PRODUCT_NAME}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">EO No.</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<a href="#" onclick="openEOPopup('${drawingNoPartInfoMap.EO_OBJID}','view')">${drawingNoPartInfoMap.EO_NO}</a>
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">EO Date</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">${drawingNoPartInfoMap.EO_ISSUE_DATE}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">Rev</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom">
|
|
<a href="#" onclick="fn_openPartListPop('${drawingNoPartInfoMap.PART_NO}')">${drawingNoPartInfoMap.REV}</a>
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">사양</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
${empty drawingNoPartInfoMap.PART_OPTION_NAME ? '':drawingNoPartInfoMap.PART_OPTION_NAME}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_20px input_title"><label for="">출도구분</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<input type="radio" ${'dev' eq drawingNoPartInfoMap.DRAWING_RELEASE_TYPE ? 'checked':''} disabled /> <span>개발</span>
|
|
<input type="radio" ${'product' eq drawingNoPartInfoMap.DRAWING_RELEASE_TYPE ? 'checked':''} disabled /> <span>양산</span>
|
|
</td>
|
|
<td></td>
|
|
<td class="checkboxName_10px input_title"><label for="">부품구분</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">
|
|
<input type="radio" ${'unique' eq drawingNoPartInfoMap.PART_TYPE ? 'checked':''} disabled /> <span>Unique part</span>
|
|
<input type="radio" ${'standard' eq drawingNoPartInfoMap.PART_TYPE ? 'checked':''} disabled /> <span>표준 품</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_20px input_title"><label for="">도면구분</label></td>
|
|
<td class="tr_data_border_bottom">
|
|
<input type="radio" ${'draw' eq drawingNoPartInfoMap.DRAWING_TYPE ? 'checked':''} disabled /> <span>D</span>
|
|
<input type="radio" ${'shownOn' eq drawingNoPartInfoMap.DRAWING_TYPE ? 'checked':''} disabled /> <span>S</span>
|
|
</td>
|
|
<td></td>
|
|
<td class="input_title"><label for="">두께</label></td>
|
|
<td class="tr_data_border_bottom" colspan="2">${empty drawingNoPartInfoMap.THICKNESS ? '':drawingNoPartInfoMap.THICKNESS}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">재질</label></td>
|
|
<td class="tr_data_border_bottom">${empty drawingNoPartInfoMap.MATERIAL_NAME ? '':drawingNoPartInfoMap.MATERIAL_NAME}</td>
|
|
<td></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">자재유형</label></td>
|
|
<td class="tr_data_border_bottom">${empty drawingNoPartInfoMap.MATERIAL_TYPE_NAME ? '':drawingNoPartInfoMap.MATERIAL_TYPE_NAME}</td>
|
|
<td></td>
|
|
<td class="input_title" rowspan="3"><label for="">형상</label></td>
|
|
<td colspan="2" rowspan="3" id="img_position_re" class="tr_data_border_bottom">
|
|
<div id="dPartShapeAttachFileList">
|
|
<table id="dPartShapeFileAreaTable" class="spec_data_in_table">
|
|
<tbody id="dPartShapeFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">weight(g)</label></td>
|
|
<td class="tr_data_border_bottom">${drawingNoPartInfoMap.WEIGHT}</td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName input_title"><label for="">SPEC No.</label></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
|
|
</tr>
|
|
<tr class="hr_td_img"></tr>
|
|
<tr>
|
|
<td colspan="6" style="height: 20px;">
|
|
<div class="plm_table_wrap">
|
|
<div style="overflow-y:scroll;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<tr class="plm_thead">
|
|
<td colspan=''>문서번호</td>
|
|
<td colspan=''>SPEC No.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="plm_scroll_table" style="width:100%; height:47px;">
|
|
<table id="specAppendArea" class="plm_table">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${empty dPartConnectedSPECList}">
|
|
<tr class="align_c">
|
|
<td colspan="6">연결된 SPEC이 없습니다.</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table id="specAppendAreaTable" class="plm_table">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="75%">
|
|
</colgroup>
|
|
<tbody>
|
|
<c:forEach var="item" items="${dPartConnectedSPECList}"
|
|
varStatus="varStatus">
|
|
<tr>
|
|
<td>
|
|
<a href='#' onclick="openSpecDataPopUp('${item.SUB_OBJID}')">${item.SPEC_NO}</a>
|
|
</td>
|
|
<td>${item.DOC_NAME}</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="checkboxName_60px input_title"><label for="">기변항목</label></td>
|
|
<td colspan="5">
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.changeGeometry ? '' : dPartConnectChangeItemInfo.changeGeometry} disabled /> <span class="span_margin">형상변경</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.materialThickChange ? '' : dPartConnectChangeItemInfo.materialThickChange} disabled /> <span>재질/두께변경</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.cycleChange ? '' : dPartConnectChangeItemInfo.cycleChange} disabled /> <span>주기변경</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.constructChange ? '' : dPartConnectChangeItemInfo.constructChange} disabled /> <span>구성변경</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.weldingSpot ? '' : dPartConnectChangeItemInfo.weldingSpot} disabled /> <span class="span_margin_1">용접점</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.structurGlue ? '' : dPartConnectChangeItemInfo.structurGlue} disabled /> <span class="span_margin_2">구조용접착제</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.first ? '' : dPartConnectChangeItemInfo.first} disabled /> <span class="span_margin_3">초도</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.etc ? '' : dPartConnectChangeItemInfo.etc} disabled /> <span>기타</span>
|
|
<input type="checkbox" ${empty dPartConnectChangeItemInfo.none ? '' : dPartConnectChangeItemInfo.none} disabled /> <span>해당 無</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">설계적용시점</label></td>
|
|
<td colspan="2">
|
|
<select name="applyPointType" id="applyPointType" class="min" disabled>
|
|
<c:choose>
|
|
<c:when test="${empty applyPointList}">
|
|
<option value="">선택</option>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<option value="">선택</option>
|
|
<c:forEach var="item" items="${applyPointList}" varStatus="varStatus">
|
|
<option value="${item.OBJID}" ${item.OBJID eq drawingNoPartInfoMap.APPLY_POINT_OBJID ? 'selected':''}>${item.APPLY_POINT_NAME}</option>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</select>
|
|
</td>
|
|
<td class="input_title"><label for="">ECD</label></td>
|
|
<td colspan="2" class="tr_data_border_bottom">
|
|
<div id="dPartECDAttachFileList">
|
|
<table id="dPartECDFileAreaTable" class="">
|
|
<tr id="dPartECDDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartECDFileArea"></tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="">관리항목</label>
|
|
</td>
|
|
<td>
|
|
<input type="radio" ${'Y' eq drawingNoPartInfoMap.MNG_ITEM_TYPE ? 'checked' : ''} disabled /><span>YES</span>
|
|
<input type="radio" ${'N' eq drawingNoPartInfoMap.MNG_ITEM_TYPE ? 'checked' : ''} disabled /><span>NO</span>
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="dPartMngItemAttachFileList">
|
|
<table id="dPartMngItemFileAreaTable" class="spec_data_in_table">
|
|
<tbody id="dPartMngItemFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="partPopupFormData" class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%;">
|
|
<col width="10%;">
|
|
<col width="77%;">
|
|
</colgroup>
|
|
<tr id="cadArea">
|
|
<td rowspan="3" class="input_title"><label for="">CAD Data</lable></td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartCad2DAttachFileList">
|
|
<table id="dPartCad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartCad2DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartCad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cad2DPDF">
|
|
<td class="partPopupFormDatatt"
|
|
style="border-bottom: 1px solid #ccc;">2D PDF</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartCad2DPDFAttachFileList">
|
|
<table id="dPartCad2DPDFFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartCad2DPDFDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartCad2DPDFFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cad3D">
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartCad3DAttachFileList">
|
|
<table id="dPartCad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartCad3DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartCad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<!-- <tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="2" class="input_title"><label for="">변환 도면</td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartConvertCad2DAttachFileList">
|
|
<table id="dPartConvertCad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartConvertCad2DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartConvertCad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartConvertCad3DAttachFileList">
|
|
<table id="dPartConvertCad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartConvertCad3DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartConvertCad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr> -->
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="partPopupFormData" class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="13%;">
|
|
<col width="10%;">
|
|
<col width="77%;">
|
|
</colgroup>
|
|
<tr id="moldArea">
|
|
<td rowspan="3" class="input_title"><label for="">MOLD Data</lable></td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartMold2DAttachFileList">
|
|
<table id="dPartMold2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartMold2DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartMold2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mold2DPDF">
|
|
<td class="partPopupFormDatatt"
|
|
style="border-bottom: 1px solid #ccc;">2D PDF</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartMold2DPDFAttachFileList">
|
|
<table id="dPartMold2DPDFFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartMold2DPDFDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartMold2DPDFFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mold3D">
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartMold3DAttachFileList">
|
|
<table id="dPartMold3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartMold3DDefaultRow">
|
|
<td>첨부된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartMold3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
<!-- <tr>
|
|
<td rowspan="2" class="input_title"><label for="">변환 도면</td>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">2D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartConvertCad2DAttachFileList">
|
|
<table id="dPartConvertCad2DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartConvertCad2DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartConvertCad2DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="partPopupFormDatatt" style="border-bottom: 1px solid #ccc;">3D</td>
|
|
<td style="border-bottom: 1px solid #ccc;">
|
|
<div id="dPartConvertCad3DAttachFileList">
|
|
<table id="dPartConvertCad3DFileAreaTable" class="spec_data_in_table">
|
|
<tr id="dPartConvertCad3DDefaultRow">
|
|
<td>변환된 파일이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="dPartConvertCad3DFileArea">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr> -->
|
|
<tr>
|
|
<td colspan="6" class="hr_td"><hr></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</c:when>
|
|
<c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</body>
|
|
</html> |