233 lines
5.9 KiB
Plaintext
233 lines
5.9 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ page import="java.util.*"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@include file="/init_new.jsp"%>
|
|
<%
|
|
PersonBean person = (PersonBean) session.getAttribute(Constants.PERSON_BEAN);
|
|
String userId = CommonUtils.checkNull(person.getUserId());
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<style>
|
|
body {
|
|
font-family: 'Malgun Gothic', sans-serif;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.popup-container {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
padding: 20px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
padding: 10px;
|
|
background-color: #f8f9fa;
|
|
border-left: 4px solid #007bff;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.info-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.info-table th {
|
|
background-color: #f8f9fa;
|
|
padding: 10px;
|
|
text-align: center;
|
|
border: 1px solid #dee2e6;
|
|
font-weight: bold;
|
|
width: 15%;
|
|
}
|
|
|
|
.info-table td {
|
|
padding: 10px;
|
|
border: 1px solid #dee2e6;
|
|
background-color: white;
|
|
}
|
|
|
|
.item-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.item-table thead th {
|
|
background-color: #f8f9fa;
|
|
padding: 8px;
|
|
text-align: center;
|
|
border: 1px solid #dee2e6;
|
|
font-weight: bold;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.item-table tbody td {
|
|
padding: 8px;
|
|
border: 1px solid #dee2e6;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.item-table tbody td.text-left {
|
|
text-align: left;
|
|
}
|
|
|
|
.btn-area {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.plm_btns {
|
|
padding: 8px 20px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.plm_btns:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$("#btnClose").click(function() {
|
|
self.close();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="popup-container">
|
|
<%-- 영업정보 섹션 (품목정보에서 다 표시하므로 주석처리)
|
|
<div class="section-title">영업정보</div>
|
|
<table class="info-table">
|
|
<colgroup>
|
|
<col width="15%">
|
|
<col width="35%">
|
|
<col width="15%">
|
|
<col width="35%">
|
|
</colgroup>
|
|
<tr>
|
|
<th>주문유형</th>
|
|
<td>${info.CATEGORY_NAME}</td>
|
|
<th>제품구분</th>
|
|
<td>${info.PRODUCT_NAME}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>국내/해외</th>
|
|
<td>${info.AREA_NAME}</td>
|
|
<th>고객사</th>
|
|
<td>${info.CUSTOMER_NAME}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>유/무상</th>
|
|
<td>${info.PAID_TYPE_NAME}</td>
|
|
<th>견적환종</th>
|
|
<td>${info.CONTRACT_CURRENCY_NAME}</td>
|
|
</tr>
|
|
</table>
|
|
--%>
|
|
|
|
<!-- 품목정보 섹션 -->
|
|
<div class="section-title">품목정보</div>
|
|
<table class="item-table">
|
|
<colgroup>
|
|
<%-- <col width="3%"> --%><%-- No 컬럼 제거 --%>
|
|
<col width="14%">
|
|
<col width="14%">
|
|
<col width="14%">
|
|
<col width="16%">
|
|
<col width="14%">
|
|
<col width="14%">
|
|
<%-- <col width="10%"> --%><%-- 품번 컬럼 제거 --%>
|
|
<%-- <col width="15%"> --%><%-- 품명 컬럼 제거 --%>
|
|
<%-- <col width="8%"> --%><%-- S/N 컬럼 제거 --%>
|
|
<%-- <col width="8%"> --%><%-- 요청납기 컬럼 제거 --%>
|
|
<col width="14%">
|
|
<%-- <col width="8%"> --%><%-- 고객요청사항 컬럼 제거 --%>
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<%-- <th>No</th> --%><%-- No 컬럼 제거 --%>
|
|
<th>주문유형</th>
|
|
<th>제품구분</th>
|
|
<th>국내/해외</th>
|
|
<th>고객사</th>
|
|
<th>유/무상</th>
|
|
<th>견적환종</th>
|
|
<%-- <th>품번</th> --%><%-- 품번 컬럼 제거 --%>
|
|
<%-- <th>품명</th> --%><%-- 품명 컬럼 제거 --%>
|
|
<%-- <th>S/N</th> --%><%-- S/N 컬럼 제거 --%>
|
|
<%-- <th>요청납기</th> --%><%-- 요청납기 컬럼 제거 --%>
|
|
<th>반납사유</th>
|
|
<%-- <th>고객요청사항</th> --%><%-- 고객요청사항 컬럼 제거 --%>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:choose>
|
|
<c:when test="${empty itemList}">
|
|
<tr>
|
|
<%-- <td>1</td> --%><%-- No 컬럼 제거 --%>
|
|
<td>${info["CATEGORY_NAME"]}</td>
|
|
<td>${info["PRODUCT_NAME"]}</td>
|
|
<td>${info["AREA_NAME"]}</td>
|
|
<td>${info["CUSTOMER_NAME"]}</td>
|
|
<td>${info["PAID_TYPE_NAME"]}</td>
|
|
<td>${info["CONTRACT_CURRENCY_NAME"]}</td>
|
|
<%-- <td>-</td> --%><%-- 품번 컬럼 제거 --%>
|
|
<%-- <td>-</td> --%><%-- 품명 컬럼 제거 --%>
|
|
<%-- <td>-</td> --%><%-- S/N 컬럼 제거 --%>
|
|
<%-- <td>-</td> --%><%-- 요청납기 컬럼 제거 --%>
|
|
<td>-</td>
|
|
<%-- <td>-</td> --%><%-- 고객요청사항 컬럼 제거 --%>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:forEach items="${itemList}" var="item" varStatus="status">
|
|
<tr>
|
|
<%-- <td>${status.count}</td> --%><%-- No 컬럼 제거 --%>
|
|
<td>${info["CATEGORY_NAME"]}</td>
|
|
<td>${info["PRODUCT_NAME"]}</td>
|
|
<td>${info["AREA_NAME"]}</td>
|
|
<td>${info["CUSTOMER_NAME"]}</td>
|
|
<td>${info["PAID_TYPE_NAME"]}</td>
|
|
<td>${info["CONTRACT_CURRENCY_NAME"]}</td>
|
|
<%-- <td>${item.part_no}</td> --%><%-- 품번 컬럼 제거 --%>
|
|
<%-- <td class="text-left">${item.part_name}</td> --%><%-- 품명 컬럼 제거 --%>
|
|
<%-- <td>${item.serial_nos}</td> --%><%-- S/N 컬럼 제거 --%>
|
|
<%-- <td>${item.due_date}</td> --%><%-- 요청납기 컬럼 제거 --%>
|
|
<td>${item.return_reason}</td>
|
|
<%-- <td class="text-left">${item.customer_request}</td> --%><%-- 고객요청사항 컬럼 제거 --%>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- 버튼 영역 -->
|
|
<div class="btn-area">
|
|
<input type="button" value="닫기" class="plm_btns" id="btnClose">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|