<%@ 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>
|
<script type="text/javascript">
|
var interval = setInterval('refreshStatus()', 60000);
|
$(document).ready(function(){
|
var allstatu = $("#allstatu").attr("allstatu");
|
var info = $("#info").attr("info");
|
$("#infos").html("<img src=\"/gmms2/static/images/danger.jpg\">"+" "+info);
|
if(allstatu == 0){
|
$("#allstatus").attr("style","background-color:#f00");
|
}
|
});
|
// 设备页面自动刷新
|
function refreshStatus() {
|
window.location.reload();
|
}
|
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
/**
|
* 修改原片数量
|
*/
|
function modifyrack(loadMachineRackId){
|
disableAutoRefresh()
|
$("#modify-info").modal('show');
|
$("#midifyRawPackage").val(loadMachineRackId);
|
}
|
|
/**
|
* 添加原片
|
*/
|
function addrack(loadMachineRackId){
|
disableAutoRefresh()
|
$("#add-info").modal('show');
|
$("#addRawPackage").val(loadMachineRackId);
|
}
|
|
/**
|
*查询
|
*/
|
$(document).delegate('#search', 'click', function() {
|
disableAutoRefresh();
|
$('#myModal-search').modal('show');
|
});
|
|
</script>
|
</head>
|
<body>
|
<div class="content-wrapper">
|
<section class="content-header">
|
<h1>虚拟料架界面</h1>
|
<ol class="breadcrumb">
|
<li><a href="#">设备<i class="fa fa-dashboard"></i> 虚拟料架
|
</a></li>
|
</ol>
|
<div id = "allstatu" allstatu = "${allstatu}"></div>
|
<div id = "info" info = "${info}"></div>
|
</section>
|
|
<!-- Main content -->
|
<section class="content container-fluid"
|
style="margin-top: 10px; margin-left: 10px;">
|
<fieldset>
|
<legend>
|
<span class="glyphicon glyphicon-list"></span> 料架盘点
|
|
<%-- <a class="btn btn-success" href="${ctx}/shelfmanager/addglass">返回主界面</a> --%>
|
|
</legend>
|
<div style="height: 600px; overflow-y:scroll;font-size:20px;">
|
<table class="table table-striped table-hover"
|
style="height: 80%; overflow-y:scroll;">
|
<thead>
|
<tr>
|
<th width="10%">序号</th>
|
<th width="10%">颜色</th>
|
<th width="10%">厚度</th>
|
<th width="10%">长度</th>
|
<th width="10%">宽度</th>
|
<th width="10%">总片数</th>
|
</tr>
|
</thead>
|
<tbody>${shelfList}</tbody>
|
</table>
|
</div>
|
</fieldset>
|
</section>
|
<!-- /.content -->
|
</div>
|
<!-- /.content-wrapper -->
|
</body>
|
</html>
|