ERP-node/WebContent/WEB-INF/view/purchaseOrder/bacodePrint.jsp

101 lines
2.6 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()); %>
<!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 () {
window.print();
/* $("#btnClose").click(function(){
self.close(0);
});
$("#btnReg").click(function(){
fn_save();
}); */
//self.close(0);
});
});
</script>
<style>
@font-face {
font-family: "MyCustomFont";
src: url("/css/font/C39TWT.TTF");
}
@media print {
/* 인쇄용 스타일 시트 */
div {
font-size: 35px;
font-family: "MyCustomFont", sans-serif;
}
/* 기타 인쇄용 스타일 시트 작성 */
}
.parent {
display: flex;
align-items: center;
margin-top: 5px;
/* width: 280px;
height:190px; */
}
.child {
margin: auto; /* 수평 가운데 정렬을 위한 margin: auto; */
}
.ilshin {
display: block;
width: 80px;
height: 20px;
background: url(/images/loginLogo_ilshin.png) center center no-repeat;
background-size: contain;
}
</style>
<body>
<form name="form1" id="form1" action="" method="post">
<table
border="1"
style="width: 280px; height: 60px; text-align: center; margin: auto"
>
<tr>
<td colspan="2" align="center">
<img
src="/images/loginLogo_ilshin.png"
style="width: 80px; height: 30px"
/>
</td>
</tr>
<tr>
<td style="font-size: 5px">품명</td>
<td style="font-size: 5px">${resultMap.PART_NAME}</td>
</tr>
<tr>
<td style="font-size: 5px">Location</td>
<td style="font-size: 5px">${DELIVERY_PLACE_NAME}</td>
</tr>
<tr>
<td style="font-size: 5px">입고일</td>
<td style="font-size: 5px">${DELIVERY_DATE}</td>
</tr>
<tr>
<td style="font-size: 5px">수량</td>
<td style="font-size: 5px">${CNT}</td>
</tr>
</table>
<div class="parent">
<div readonly="readonly" class="child">*${resultMap.PART_NO}*</div>
</div>
</form>
</body>
</html>