<%@ page contentType="text/html;charset=UTF-8"%>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<c:set var="ctx" value="${pageContext.request.contextPath}" />
|
|
<html>
|
<head>
|
<script type="text/javascript"
|
src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
|
<title>架卡界面</title>
|
<style>
|
|
#box{
|
|
over-flow:hidden;
|
}
|
*{
|
margin: 0px auto;
|
}
|
#content{
|
width: 96%;
|
overflow: hidden;
|
}
|
#tabbox{
|
width: 100%;
|
border-collapse: collapse;
|
text-align: center;
|
}
|
#tabbox tr td{
|
height:25px;
|
line-height:25px;
|
}
|
.tdcont{
|
width: 38px;
|
}
|
.flttr td{
|
line-height: 24px;
|
height: 50px;
|
}
|
.flttr label{
|
float: left;
|
position: relative;
|
left: 2px;
|
font-weight:normal;
|
}
|
</style>
|
<script type="text/javascript">
|
var interval = setInterval('refreshStatus()', 60000);
|
|
// 设备页面自动刷新
|
function refreshStatus() {
|
window.location.reload();
|
}
|
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
|
|
function doPrint() {
|
$("#box").css("width","210mm");
|
$("#box").css("height","297mm");
|
bdhtml=window.document.body.innerHTML;
|
sprnstr="<!--startprint-->";
|
eprnstr="<!--endprint-->";
|
prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
|
prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
|
window.document.body.innerHTML=prnhtml;
|
window.print();
|
|
}
|
</script>
|
</head>
|
<body>
|
<div id="box" class="content-wrapper">
|
<section class="content-header">
|
<h1><a href="#" type='botton' style="float:left;" class='btn btn-success' onclick="doPrint()">打印模板</a></h1>
|
<ol class="breadcrumb">
|
<li><a href="#">设备<i class="fa fa-dashboard"></i>架卡
|
</a></li>
|
</ol>
|
|
</section>
|
<!--startprint-->
|
<div id="content">
|
<h2 style="text-align: center;font-weight: normal;">鹤山恒保产品流程记录表</h2>
|
<div style="width: 100%;height: 30px;position: relative;top: 10px;">
|
<span style="margin-left: 10px;width:25%;">客户: ${custormer}</span>
|
<span style="margin-left: 18px;width:16%;">合同号: ${apartid}</span>
|
<span style="margin-left: 18px;width:16%;">色厚: ${thickness} ${color}</span>
|
<span style="margin-left: 20px;width:10%;">架号: </span>
|
<span style="margin-left: 22px;width:15%;">单号: <b>${ordernum}</b> </span>
|
</div>
|
<div style="margin-top: 10px;"></div>
|
<table id="tabbox" border="1">
|
<tr>
|
<td style="height:28px;line-height: 28px;width: 40px;">工艺流程</td>
|
<td colspan="2"></td>
|
<td colspan="2"></td>
|
<td></td>
|
<td></td>
|
<td></td>
|
<td></td>
|
</tr>
|
<tr>
|
<td style="height: 56px;line-height: 28px;">班组</td>
|
<td colspan="2"></td>
|
<td colspan="2"></td>
|
<td></td>
|
<td></td>
|
<td></td>
|
<td></td>
|
</tr>
|
<tr>
|
<td>序号</td>
|
<td>成品名称</td>
|
<td class="tdcont">数量</td>
|
<td class="tdcont">数量</td>
|
<td>成品规格</td>
|
<td>数量</td>
|
<td>数量</td>
|
<td>数量</td>
|
<td>数量</td>
|
</tr>
|
${allGlasseshtml}
|
<tr style="width: 100%;font-size: 12px;text-align:left;" class="flttr">
|
<td rowspan="9" colspan="3">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
<td rowspan="9" colspan="2">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
<td rowspan="9">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
<td rowspan="9">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
<td rowspan="9">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
<td rowspan="9">
|
交接记录<br/>
|
本工序<br/>
|
备注:<br/><br/>
|
日期
|
</td>
|
</tr>
|
|
</table>
|
<p>此表已切割好的玻璃加工工序往下流转,各班班长清点接收数量及产品质量情况并如实记录,完工后随产品进仓库,发货后回生产调度员处保存.此表与生产指令单配合使用</p>
|
|
</div>
|
<!--endprint-->
|
</div>
|
|
</body>
|
</html>
|