Files
wace_plm/WebContent/WEB-INF/view/salesmgmt/salesMgmt/shippingDetailPopup.jsp
2025-11-12 15:40:51 +09:00

98 lines
2.0 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>출하일 상세 내역</title>
<link rel="stylesheet" href="/css/basic.css">
<script src="/js/jquery-2.1.4.min.js"></script>
<style>
body {
margin: 0;
padding: 20px;
font-family: 'Malgun Gothic', sans-serif;
}
.popup-header {
font-size: 18px;
font-weight: bold;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #333;
}
.shipping-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.shipping-table th {
background-color: #f5f5f5;
padding: 10px;
border: 1px solid #ddd;
text-align: center;
font-weight: bold;
}
.shipping-table td {
padding: 10px;
border: 1px solid #ddd;
text-align: center;
}
.btn-close {
padding: 8px 20px;
background-color: #666;
color: white;
border: none;
cursor: pointer;
font-size: 14px;
}
.btn-close:hover {
background-color: #444;
}
.btn-wrap {
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="popup-header">
출하일 상세 내역 - ${projectNo}
</div>
<table class="shipping-table">
<thead>
<tr>
<th>출하일</th>
<th>출하수량</th>
<th>출하지시상태</th>
<th>S/N</th>
</tr>
</thead>
<tbody>
<c:choose>
<c:when test="${empty shippingList}">
<tr>
<td colspan="4">출하 내역이 없습니다.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach items="${shippingList}" var="item">
<tr>
<td>${item.shipping_date}</td>
<td>${item.shipping_quantity}</td>
<td>${item.shipping_order_status}</td>
<td>${item.serial_no}</td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</tbody>
</table>
<div class="btn-wrap">
<button type="button" class="btn-close" onclick="window.close();">닫기</button>
</div>
</body>
</html>