<%@ 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>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap-responsive.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/jquery-validation/1.11.1/validate.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/styles/default.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap-switch/css/bootstrap2/bootstrap-switch.css" type="text/css" rel="stylesheet" />
|
<script src="${ctx}/static/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
|
|
<script src="${ctx}/static/jquery-validation/1.11.1/jquery.validate.min.js" type="text/javascript"></script>
|
<script src="${ctx}/static/jquery-validation/1.11.1/messages_bs_zh.js" type="text/javascript"></script>
|
<script src="${ctx}/static/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
|
<script src="${ctx}/static/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
|
<script src="${ctx}/static/holder.js" type="text/javascript"></script>
|
<script src="${ctx}/static/bootstrap-switch/js/bootstrap-switch.js" type="text/javascript"></script>
|
<script src="${ctx}/static/bootstrap/2.3.2/js/bootstrap.min.js" type="text/javascript"></script>
|
<script language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>
|
<title>缺片信息</title>
|
|
<script type="text/javascript">
|
var interval = setInterval('refreshStatus()', 5000);
|
|
// 设备页面自动刷新
|
function refreshStatus() {
|
window.location.reload();
|
}
|
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
</script>
|
|
|
<script type="text/javascript">
|
function checkMissing(loadMachineRackId){
|
var loadMachineRackId = loadMachineRackId;
|
$('#confirm').modal('toggle');
|
$('#confirmForm').attr('action', '${ctx}/missingmanage/dealMissing');
|
document.getElementById("bodyTxt1").value = "Determine the missing piece on the current shelf?";
|
document.getElementById("bodyTxt2").value = "If the missing piece is determined,";
|
document.getElementById("bodyTxt3").value = "the original slice that is waiting to be cut will be skipped.";
|
document.getElementById("bodyTxt4").value = "Please skip the cutting task on the cutting machine!";
|
$('#confirmInput').attr('name', 'loadMachineRackId');
|
$('#confirmInput').attr('value', loadMachineRackId);
|
|
}
|
|
</script>
|
|
|
</head>
|
<body>
|
<div class="content-wrapper">
|
<!-- Content Header (Page header) -->
|
<div>
|
<section class="content-header">
|
<h1>
|
缺片管理
|
<small></small>
|
</h1>
|
<ol class="breadcrumb">
|
<li><a href="${ctx }/missingmanage/missingmessage"><i class="fa fa-reply"></i>缺片管理</a></li>
|
<li class="active">管理</li>
|
</ol>
|
</section>
|
</div>
|
<div>
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<div style="width: 50%;float: left;">
|
<div class="box" style="margin-top: 20px;">
|
<div class="box-header" align="left">
|
<h3 class="box-title">缺片信息</h3>
|
</div>
|
<div style="overflow: auto;height:600px;" class="box-body no-padding">
|
<table class="table table-striped" style="font-size: medium;" id="table">
|
<tr>
|
<td style="width: 50%; border: 1px solid white; vertical-align: top;">
|
<fieldset>
|
<div style="overflow: auto; height: 350px;">
|
<table class="table table-striped table-hover" style="font-size: large;">
|
<tr>
|
<td>玻璃ID</td>
|
<td>宽度</td>
|
<td>高度</td>
|
<td>厚度</td>
|
<td>颜色</td>
|
<td>缺片</td>
|
</tr>
|
<c:forEach items="${lackPieces }" var="rawPackage">
|
<c:if test="${!empty rawPackage }">
|
<tr>
|
<td>${rawPackage.glassId }</td>
|
<td>${rawPackage.width }</td>
|
<td>${rawPackage.height }</td>
|
<td>${rawPackage.thickness }</td>
|
<td>${rawPackage.color }</td>
|
<td>${rawPackage.pieces }</td>
|
</tr>
|
</c:if>
|
</c:forEach>
|
</table>
|
</div>
|
</fieldset>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</div>
|
</div>
|
<div style="width: 50%;float: right;">
|
<div class="box" style="margin-top: 20px;">
|
<div class="box-header">
|
<h3 class="box-title">缺片操作</h3>
|
</div>
|
<div style="overflow: auto;height:600px;" class="box-body no-padding">
|
<table class="table table-striped" style="font-size: medium; " id="table">
|
<tr>
|
<td style="width: 50%; border: 1px solid white; vertical-align: top;">
|
<fieldset>
|
<div style="overflow: auto; height: 350px;">
|
<table class="table table-striped table-hover" style="font-size: large;">
|
<tbody>${missingMessageHtml}</tbody>
|
</table>
|
</div>
|
</fieldset>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</div>
|
</div>
|
<div id="confirm" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
<form id="confirmForm" method="get">
|
<div class="modal-header">
|
<h3 id="myModalLabel"></h3>
|
</div>
|
<div class="modal-body">
|
<input type="hidden" id="confirmInput">
|
<input type="text" id="bodyTxt1" style="width: 470px;font-size: large; border: 0px; font-weight: bolder; background-color: white;" readonly="readonly"/>
|
<input type="text" id="bodyTxt2" style="width: 470px;font-size: large; border: 0px; font-weight: bolder; background-color: white;" readonly="readonly"/>
|
<input type="text" id="bodyTxt3" style="width: 492px;font-size: large; border: 0px; font-weight: bolder; background-color: white;" readonly="readonly"/>
|
<input type="text" id="bodyTxt4" style="width: 470px;font-size: large; border: 0px; font-weight: bolder; background-color: white;" readonly="readonly"/>
|
</div>
|
<div class="modal-footer">
|
<button type="submit" class="btn btn-primary">提交</button>
|
<button type="button" class="btn" data-dismiss="modal" onclick="reload()">关闭</button>
|
</div>
|
</form>
|
</div>
|
</section>
|
</div>
|
<!-- /.content -->
|
</div>
|
</body>
|
</html>
|