254 lines
10 KiB
Plaintext
254 lines
10 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file= "/init.jsp" %>
|
|
<%
|
|
PersonBean person = (PersonBean)session.getAttribute(Constants.PERSON_BEAN);
|
|
String userId = CommonUtils.checkNull(person.getUserId());
|
|
String PURCHASE_ORDER_NO = CommonUtils.checkNull(request.getParameter("PURCHASE_ORDER_NO"));
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
</head>
|
|
<script>
|
|
$(function() {
|
|
$(document).ready(function() {
|
|
|
|
$("._table1").scroll(function () {
|
|
$("._table2").scrollLeft($("._table1").scrollLeft());
|
|
});
|
|
$("._table2").scroll(function () {
|
|
$("._table1").scrollLeft($("._table2").scrollLeft());
|
|
});
|
|
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
});
|
|
});
|
|
|
|
function openFilePopup(dh_objId){
|
|
var title = "수입검사서";
|
|
var docType = "DELIVERY_INSPECT";
|
|
var popup_width = 600;
|
|
var popup_height = 250;
|
|
var hiddenForm = document.hiddenForm;
|
|
var url = "/common/FileDetailPopup.do";
|
|
var target = "deliveryResultFormPopup";
|
|
|
|
fn_centerPopup(popup_width, popup_height, url, target);
|
|
|
|
hiddenForm.action = url;
|
|
hiddenForm.targetObjId.value = dh_objId;
|
|
hiddenForm.docType.value = docType;
|
|
hiddenForm.docTypeName.value = docType;
|
|
hiddenForm.TITLE.value = title;
|
|
hiddenForm.target = target;
|
|
hiddenForm.submit();
|
|
}
|
|
</script>
|
|
<style>
|
|
.input_title {border-left:1px solid #ccc;}
|
|
.input_sub_title {border-left:1px solid #ccc;}
|
|
.pmsPopupForm tr:last-child td{border-bottom:1px solid #ccc;}
|
|
</style>
|
|
<body>
|
|
<form name="hiddenForm" id="hiddenForm" action="" method="post">
|
|
<input type="hidden" name="targetObjId" />
|
|
<input type="hidden" name="docType" />
|
|
<input type="hidden" name="docTypeName" />
|
|
<input type="hidden" name="TITLE" />
|
|
<input type="hidden" name="OBJID" />
|
|
</form>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<section>
|
|
<div class="plm_menu_name" style="display:flex;">
|
|
<h2>
|
|
<span>입고이력</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap" style="z-index:99;">
|
|
<table class="pmsPopupForm" style="margin-top:10px;">
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">입고 이력</label>
|
|
발주번호 : <label id="PURCHASE_ORDER_NO"><%=PURCHASE_ORDER_NO %></label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="in_table_scroll_wrap _table1" style="height:22px;width:99.3%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="40px" />
|
|
<!--
|
|
<col width="100px" />
|
|
-->
|
|
<col width="110px" /> <!-- 품번</td> -->
|
|
<col width="180px" /> <!-- 품명</td> -->
|
|
<col width="160px" /> <!-- 규격</td> -->
|
|
<col width="80px" /> <!-- Maker</td> -->
|
|
<col width="35px" /> <!-- 단위</td> -->
|
|
<col width="45px" /> <!-- 수량</td> -->
|
|
<col width="60px" /> <!-- 단가</td> -->
|
|
<col width="80px" /> <!-- 공급가</td> -->
|
|
<col width="70px" /> <!-- 입고요청일</td> -->
|
|
<col width="70px" /> <!-- 입고일</td> -->
|
|
<col width="50px" /> <!-- 입고수량</td> -->
|
|
|
|
<col width="70px" /> <!-- 검사일</td> -->
|
|
<!--
|
|
<col width="60px" /> 수입검사서</td>
|
|
-->
|
|
<col width="100px" /> <!-- Location</td -->
|
|
<col width="65px" /> <!-- 부적합수량</td> -->
|
|
<!--
|
|
<col width="120px" /> 부적합내용</td>
|
|
-->
|
|
<col width="70px" /> <!-- 사유</td> -->
|
|
<col width="70px" /> <!-- 귀책</td> -->
|
|
<!--
|
|
<col width="65px" /> 미입고수량</td>
|
|
<col width="50px" /> 입고결과</td>
|
|
-->
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td>No</td>
|
|
<!-- <td>발주번호</td> -->
|
|
<td>품번</td>
|
|
<td>품명</td>
|
|
<td>규격</td>
|
|
<td>Maker</td>
|
|
<td>단위</td>
|
|
<td>수량</td>
|
|
<td>단가</td>
|
|
<td>공급가</td>
|
|
<td>입고요청일</td>
|
|
|
|
<td>입고일</td>
|
|
<td>입고수량</td>
|
|
|
|
<td>검사일</td>
|
|
<!--
|
|
<td>수입검사서</td>
|
|
-->
|
|
<td>Location</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:400px;width:99.8%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="40px" />
|
|
<!-- <col width="100px" /> -->
|
|
<col width="110px" /> <!-- 품번</td> -->
|
|
<col width="180px" /> <!-- 품명</td> -->
|
|
<col width="160px" /> <!-- 규격</td> -->
|
|
<col width="80px" /> <!-- Maker</td> -->
|
|
<col width="35px" /> <!-- 단위</td> -->
|
|
<col width="45px" /> <!-- 수량</td> -->
|
|
<col width="60px" /> <!-- 단가</td> -->
|
|
<col width="80px" /> <!-- 공급가</td> -->
|
|
<col width="70px" /> <!-- 입고요청일</td> -->
|
|
<col width="70px" /> <!-- 입고일</td> -->
|
|
<col width="50px" /> <!-- 입고수량</td> -->
|
|
|
|
<col width="70px" /> <!-- 검사일</td> -->
|
|
<!--
|
|
<col width="60px" /> 수입검사서</td>
|
|
-->
|
|
<col width="100px" /> <!-- Location</td -->
|
|
<col width="65px" /> <!-- 부적합수량</td> -->
|
|
<!--
|
|
<col width="120px" /> 부적합내용</td>
|
|
-->
|
|
<col width="70px" /> <!-- 사유</td> -->
|
|
<col width="70px" /> <!-- 귀책</td> -->
|
|
<!--
|
|
<col width="65px" /> 미입고수량</td>
|
|
<col width="50px" /> 입고결과</td>
|
|
-->
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${empty LIST}">
|
|
<tr style="text-align: center;">
|
|
<td align="center" colspan="21">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:forEach var="item" items="${LIST}" varStatus="varStatus">
|
|
<tr>
|
|
<td>${item.RNUM}</td><!-- 순 -->
|
|
<%--
|
|
<td title="${item.PURCHASE_ORDER_NO}" >${item.PURCHASE_ORDER_NO}</td>
|
|
--%>
|
|
<td class="align_l" title="${item.PART_NO}" >${item.PART_NO}</td>
|
|
<td class="align_l" title="${item.PART_NAME}" >${item.PART_NAME}</td>
|
|
<td class="align_l" title="${item.SPEC}" >${item.SPEC}</td>
|
|
<td class="align_l" title="${item.MAKER}" >${item.MAKER}</td>
|
|
<td>${item.UNIT_TITLE}</td>
|
|
<td class="align_c" title="${item.POP_ORDER_QTY}">${item.POP_ORDER_QTY}</td><!-- 발주 수량 -->
|
|
<td class="align_c"><fmt:formatNumber value="${item.PARTNER_PRICE}" pattern="#,###" /></td> <!-- 단가 -->
|
|
<td class="align_c"><fmt:formatNumber value="${item.SUPPLY_UNIT_PRICE}" pattern="#,###" /></td> <!-- 공급가 -->
|
|
<td title="${item.POM_DELIVERY_DATE}">${item.POM_DELIVERY_DATE}</td> <!-- 입고요청일자 -->
|
|
|
|
<td title="${item.DELIVERY_DATE}">${item.DELIVERY_DATE}</td> <!-- 입고 일자 -->
|
|
<td class="align_c" title="${item.DELIVERY_QTY}">${item.DELIVERY_QTY}</td> <!-- 입고 수량 -->
|
|
|
|
<td title="${item.INSPECT_DATE}">${item.INSPECT_DATE}</td>
|
|
<%--
|
|
<td><a href="#" class="File file_${item.F_CNT eq 0?'empty_':''}icon" onclick="openFilePopup('${item.DH_OBJID}');"></a></td>
|
|
--%>
|
|
<td title="${item.DELIVERY_PLACE_NAME}">${item.DELIVERY_PLACE_NAME}</td> <!-- 입고 위치 -->
|
|
<td class="align_c" title="${item.DEFECT_QTY}">${item.DEFECT_QTY}</td>
|
|
<%--
|
|
<td class="align_l" title="${item.DEFECT_NOTE}">${item.DEFECT_NOTE}</td>
|
|
--%>
|
|
<td class="align_c" title="${item.DEFECT_REASON_NAME}">${item.DEFECT_REASON_NAME}</td>
|
|
<td class="align_c" title="${item.DEFECT_RESP_NAME}">${item.DEFECT_RESP_NAME}</td>
|
|
<%--
|
|
<td class="align_c" title="${item.NON_ARRIVAL_QTY}">${item.NON_ARRIVAL_QTY}</td>
|
|
<td class="align_c" title="${item.RESULT}">${item.RESULT}</td>
|
|
--%>
|
|
|
|
<%-- <td title="${item.DELIVERY_MNG_NO}">${item.DELIVERY_MNG_NO}</td> <!-- 관리번호 --> --%>
|
|
<%-- <td title="${item.PART_NO}${item.REVISION}" class="align_l">${item.PART_NO}${item.REVISION}</td> <!-- 품명(재질,규격)/품번 --> --%>
|
|
<%-- <td title="${item.MATERIAL}" class="align_c">${item.MATERIAL}</td> --%>
|
|
<%-- <td title="${item.PARTNER_NAME}" class="align_c">${item.PARTNER_NAME}</td> <!-- 업체 --> --%>
|
|
<%-- <td title="${item.NON_ARRIVAL_QTY}">${item.NON_ARRIVAL_QTY}</td> <!-- 미착 재고 --> --%>
|
|
<%-- <td title="${item.REMARK}">${item.REMARK}</td> <!-- 비고 --> --%>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html> |