364 lines
16 KiB
Plaintext
364 lines
16 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(){
|
|
//닫기
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
|
|
var masterObjId = $("#masterObjId").val();
|
|
var subObjId = $("#subObjId").val();
|
|
var partNo = "${param.partNo}";
|
|
|
|
fn_getData(masterObjId, subObjId, "1methodAccept", partNo);
|
|
fn_getData(masterObjId, subObjId, "2realisticProduce", partNo);
|
|
|
|
fn_getCostSystemData(partNo);
|
|
|
|
});
|
|
</script>
|
|
<script>
|
|
function fn_getData(masterObjId, subObjId, devPoint, partNo){
|
|
$.ajax({
|
|
url:"/devInfoMng/devMaster/getDevMasterPartDevPointDetailInfo.do",
|
|
type:"POST",
|
|
data:{"masterObjId":masterObjId, "subObjId":subObjId, "devPoint":devPoint, "partNo":partNo},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
if(devPoint == "1methodAccept"){
|
|
$("#2_1").append(fnc_checkNullDefaultValue(data.MATERIAL_NAME, "-"));
|
|
$("#2_2").append(fnc_checkNullDefaultValue(data.THICKNESS, "-")+"T");
|
|
$("#2_3").append(fnc_checkNullDefaultValue(data.COMMON_TYPE_TITLE, "-"));
|
|
$("#2_4").append(fnc_checkNullDefaultValue(data.PROD_CNT_TITLE, "-")+"EA");
|
|
$("#2_5").append(fnc_checkNullDefaultValue(data.NET_WEIGHT_TITLE, "-")+"g");
|
|
|
|
var prodSize = fnc_checkNullDefaultValue(data.PROD_SIZE_HORIZON, "-")+" x "+fnc_checkNullDefaultValue(data.PROD_SIZE_VERTICAL, "-")+" x "+fnc_checkNullDefaultValue(data.PROD_SIZE_HEIGHT, "-");
|
|
$("#2_6").append(prodSize+"mm");
|
|
|
|
var blankSize = fnc_checkNullDefaultValue(data.BLANK_SIZE_REAL_WIDTH, "-")+" x "+fnc_checkNullDefaultValue(data.BLANK_SIZE_REAL_PITCH, "-");
|
|
$("#2_7").append(blankSize+"mm");
|
|
$("#2_8").append(fnc_checkNullDefaultValue(data.BLANK_BLK_CVT, "-"));
|
|
|
|
var inputWeight = fnc_checkNullDefaultValue(data.INPUT_WEIGHT_REAL_VALUE, "-");
|
|
$("#2_9").append(inputWeight+"g");
|
|
$("#2_10").append(fnc_checkNullDefaultValue(data.YIELD, "-")+"%");
|
|
$("#2_11").append("("+fnc_checkNullDefaultValue(data.MOLD_PLASTIC_TYPE, "-")+")");
|
|
|
|
$("#2_12").append("("+fnc_checkNullDefaultValue(data.MOLD_PLASTIC_TYPE, "-")+")");
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP05_TITLE, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP10, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP20, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP30, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP40, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP50, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP60, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP70, " "));
|
|
$("#2_12").append("-"+fnc_checkNullDefaultValue(data.OPERATION_OP80, " "));
|
|
|
|
$("#2_13").append(fnc_checkNullDefaultValue(data.PRODUCT_TON, "-")+"톤");
|
|
|
|
var moldType = fnc_checkNullDefaultValue(data.MOLD_SUB_MOLD_TYPE1_TITLE, "-")+","+fnc_checkNullDefaultValue(data.MOLD_SUB_MOLD_TYPE2_TITLE, "-");
|
|
$("#2_14").append(moldType);
|
|
$("#2_15").append(fnc_checkNullDefaultValue(data.TOTAL_OP_CNT, "-")+"EA");
|
|
$("#2_16").append(fnc_checkNullDefaultValue(data.MOLD_MAKE_COMPANY, "-"));
|
|
$("#2_17").append(fnc_checkNullDefaultValue(data.PRODUCING_COMPANY, "-"));
|
|
}else if(devPoint == "2realisticProduce"){
|
|
$("#3_1").append(fnc_checkNullDefaultValue(data.MATERIAL_NAME, "-"));
|
|
$("#3_2").append(fnc_checkNullDefaultValue(data.THICKNESS, "-")+"T");
|
|
$("#3_3").append(fnc_checkNullDefaultValue(data.COMMON_TYPE_TITLE, "-"));
|
|
$("#3_4").append(fnc_checkNullDefaultValue(data.PROD_CNT_TITLE, "-")+"EA");
|
|
$("#3_5").append(fnc_checkNullDefaultValue(data.NET_WEIGHT_TITLE, "-")+"g");
|
|
|
|
var prodSize = fnc_checkNullDefaultValue(data.PROD_SIZE_HORIZON, "-")+" x "+fnc_checkNullDefaultValue(data.PROD_SIZE_VERTICAL, "-")+" x "+fnc_checkNullDefaultValue(data.PROD_SIZE_HEIGHT, "-");
|
|
$("#3_6").append(prodSize+"mm");
|
|
|
|
var blankSize = fnc_checkNullDefaultValue(data.BLANK_SIZE_REAL_WIDTH, "-")+"("+fnc_checkNullDefaultValue(data.BLANK_SIZE_VIEW_WIDTH, "-")+") x "+fnc_checkNullDefaultValue(data.BLANK_SIZE_REAL_PITCH, "-")+"("+fnc_checkNullDefaultValue(data.BLANK_SIZE_VIEW_PITCH, "-")+")";
|
|
$("#3_7").append(blankSize+"mm");
|
|
$("#3_8").append(fnc_checkNullDefaultValue(data.BLANK_BLK_CVT, "-"));
|
|
|
|
var inputWeight = fnc_checkNullDefaultValue(data.INPUT_WEIGHT_REAL_VALUE, "-")+"("+fnc_checkNullDefaultValue(data.INPUT_WEIGHT_VIEW_VALUE, "-")+")";
|
|
$("#3_9").append(inputWeight+"g");
|
|
$("#3_10").append(fnc_checkNullDefaultValue(data.YIELD, "-")+"%");
|
|
$("#3_11").append(fnc_checkNullDefaultValue(data.MOLD_PLASTIC_TYPE, "-"));
|
|
$("#3_12").append(fnc_checkNullDefaultValue(data.MOLD_PRODUCT_TYPE, "-"));
|
|
$("#3_13").append(fnc_checkNullDefaultValue(data.PRODUCT_TON, "-")+"톤");
|
|
|
|
var moldType = fnc_checkNullDefaultValue(data.MOLD_SUB_MOLD_TYPE1_TITLE, "-")+", "+fnc_checkNullDefaultValue(data.MOLD_SUB_MOLD_TYPE2_TITLE, "-");
|
|
$("#3_14").append(moldType);
|
|
$("#3_15").append(fnc_checkNullDefaultValue(data.TOTAL_OP_CNT, "-")+"EA");
|
|
$("#3_16").append(fnc_checkNullDefaultValue(data.MOLD_MAKE_COMPANY, "-"));
|
|
$("#3_17").append(fnc_checkNullDefaultValue(data.PRODUCING_COMPANY, "-"));
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
function fn_getCostSystemData(partNo){
|
|
|
|
$.ajax({
|
|
url:"/devInfoMng/getCostSystemYieldInfoList.do",
|
|
type:"POST",
|
|
dataType:"json",
|
|
data:{"partNo":partNo},
|
|
async:false,
|
|
success:function(data){
|
|
if(data.length > 0){
|
|
for(var i=0;i<data.length;i++){
|
|
|
|
var flag = fnc_checkNull(data[i].CD5);
|
|
|
|
if(flag == "00"){
|
|
$("#1_1").append(fnc_checkNullDefaultValue(data[i].R01, "-"));
|
|
$("#1_2").append(fnc_checkNullDefaultValue(data[i].R02, "-")+"T");
|
|
$("#1_3").append(fnc_checkNullDefaultValue(data[i].R03, "-"));
|
|
$("#1_4").append(fnc_checkNullDefaultValue(data[i].R04, "-")+"EA");
|
|
$("#1_5").append(fnc_checkNullDefaultValue(data[i].R05, "-")+"g");
|
|
$("#1_6").append(fnc_checkNullDefaultValue(data[i].R06, "-")+"mm");
|
|
$("#1_7").append(fnc_checkNullDefaultValue(data[i].R07, "-")+"mm");
|
|
$("#1_8").append(fnc_checkNullDefaultValue(data[i].R08, "-"));
|
|
$("#1_9").append(fnc_checkNullDefaultValue(data[i].R09, "-"));
|
|
$("#1_10").append(fnc_checkNullDefaultValue(data[i].R10, "-"));
|
|
$("#1_11").append(fnc_checkNullDefaultValue(data[i].R12, "-"));
|
|
$("#1_12").append(fnc_checkNullDefaultValue(data[i].R13, "-"));
|
|
$("#1_13").append(fnc_checkNullDefaultValue(data[i].R11, "-"));
|
|
// $("#1_14").append(fnc_checkNullDefaultValue(data[i].R14, "-"));
|
|
$("#1_15").append(fnc_checkNullDefaultValue(data[i].R14, "-"));
|
|
|
|
|
|
}else if(flag == "04"){
|
|
$("#4_1").append(fnc_checkNullDefaultValue(data[i].R01, "-"));
|
|
$("#4_2").append(fnc_checkNullDefaultValue(data[i].R02, "-")+"T");
|
|
$("#4_3").append(fnc_checkNullDefaultValue(data[i].R03, "-"));
|
|
$("#4_4").append(fnc_checkNullDefaultValue(data[i].R04, "-")+"EA");
|
|
$("#4_5").append(fnc_checkNullDefaultValue(data[i].R05, "-")+"g");
|
|
$("#4_6").append(fnc_checkNullDefaultValue(data[i].R06, "-")+"mm");
|
|
$("#4_7").append(fnc_checkNullDefaultValue(data[i].R07, "-")+"mm");
|
|
$("#4_8").append(fnc_checkNullDefaultValue(data[i].R08, "-"));
|
|
$("#4_9").append(fnc_checkNullDefaultValue(data[i].R09, "-"));
|
|
$("#4_10").append(fnc_checkNullDefaultValue(data[i].R10, "-"));
|
|
$("#4_11").append(fnc_checkNullDefaultValue(data[i].R12, "-"));
|
|
$("#4_12").append(fnc_checkNullDefaultValue(data[i].R13, "-"));
|
|
$("#4_13").append(fnc_checkNullDefaultValue(data[i].R11, "-"));
|
|
// $("#4_14").append(fnc_checkNullDefaultValue(data[i].R14, "-"));
|
|
$("#4_15").append(fnc_checkNullDefaultValue(data[i].R14, "-"));
|
|
}
|
|
}
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
|
|
}
|
|
});
|
|
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="masterObjId" id="masterObjId" value="${param.masterObjId}" />
|
|
<input type="hidden" name="subObjId" id="subObjId" value="${param.subObjId}" />
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>개발마스터 수율비교</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<div class="form_popup_title"> 개발마스터 수율비교 상세</div>
|
|
<div class="title_div" style=" margin:10px 0 0 10px;float:left;" id="">Part No : ${param.partNo}</div>
|
|
<table class="pmsPopupForm insert_y_line">
|
|
<colgroup>
|
|
<col width="20%">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
</colgroup>
|
|
<tr>
|
|
<td></td>
|
|
<td class="" title="">
|
|
<p style="width:100%; text-align:center;">입찰</p>
|
|
</td>
|
|
<td class="" title="">
|
|
<p style="width:100%; text-align:center;">공법승인</p>
|
|
</td>
|
|
<td class="" title="">
|
|
<p style="width:100%; text-align:center;">제작</p>
|
|
</td>
|
|
<td class="" title="">
|
|
<p style="width:100%; text-align:center;">HMC NEGO</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">재질</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_1"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_1"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_1"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">두께(T)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_2"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_2"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_2"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">공용구분</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_3"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_3"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_3"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_3"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">USG(EA)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_4"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_4"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_4"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">NET중량(g)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_5"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_5"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_5"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">제품사이즈(mm)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_6"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_6"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_6"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_6"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">BL사이즈(mm)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_7"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_7"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_7"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_7"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">BLK CVT</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_8"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_8"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_8"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">투입중량(g)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_9"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_9"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_9"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_9"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">수율(%)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_10"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_10"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_10"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_10"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">성형타입</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_11"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_11"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_11"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_11"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">생산타입</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_12"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_12"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_12"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_12"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">생산톤수(톤)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_13"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_13"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_13"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_13"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">금형타입</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_14"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_14"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_14"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_14"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">금형SET수(EA)</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_15"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_15"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_15"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_15"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">금형제작처</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_16"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_16"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_16"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_16"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" colspan="">
|
|
<label for="">생산처</label>
|
|
</td>
|
|
<td class="tr_data_border_bottom" title="" id="1_17"></td>
|
|
<td class="tr_data_border_bottom" title="" id="2_17"></td>
|
|
<td class="tr_data_border_bottom" title="" id="3_17"></td>
|
|
<td class="tr_data_border_bottom" title="" id="4_17"></td>
|
|
</tr>
|
|
</table>
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |