<%@ 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>
|
<title>管理汇总</title>
|
<link type="image/x-icon" href="${ctx}/static/images/favicon.ico" rel="shortcut icon">
|
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap.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 language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>
|
|
<script type="text/javascript">
|
$(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(){
|
//取消选中
|
$(".cancel").bind("click",function(){
|
|
var rightvalue=$(this).parent().prevAll().eq(2).text();
|
var $object=$(this);
|
//发送ajax请求
|
$.ajax({
|
url:"${pageContext.request.contextPath}/shelfmanager/righttoleft?ajax=true&rightvalue="+rightvalue,
|
success: function(data){
|
if(data.trim()=="fail"){
|
$.MsgBox.Alert("WARM PROMPT", "Task has bot been hoisted, no need to cancel");
|
}
|
else{
|
window.location.href="${ctx}/shelfmanager/assigned";
|
}
|
}
|
})
|
})
|
})
|
</script>
|
<style type="text/css">
|
#task{
|
height:400px;
|
}
|
</style>
|
</head>
|
<body style="padding: 20px">
|
<!-- Content Wrapper. Contains page content -->
|
<div class="content-wrapper">
|
<!-- Content Header (Page header) -->
|
<div>
|
<section class="content-header">
|
<h1>
|
仓储管理
|
<small>仓储</small>
|
</h1>
|
<ol class="breadcrumb">
|
<li><a href="${ctx }/shelfmanager/taskimport"><i class="fa fa-reply"></i> 选择下发</a></li>
|
<li class="active">查看</li>
|
</ol>
|
</section>
|
<div id = "allstatu" allstatu = "${allstatu}"></div>
|
<div id = "info" info = "${info}"></div>
|
</div>
|
<div>
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<div class="navbar-inner">
|
<div class="container navbar-text pull-left">
|
<ul class="nav navbar-nav">
|
<li class="active">
|
<a href="${ctx}/shelfmanager/taskAssigned" style="color:navy; font-size: 20px;font-weight: bolder;">返回任务接口</a>
|
</li>
|
</ul>
|
</div>
|
</div>
|
<br><br><br>
|
<!--库存进度条 -->
|
<div style="font-weight: bolder; font-size: 20px">库存百分比(%)</div>
|
<div>${shelfManagerPrecent}</div>
|
<br>
|
<!-- 任务列表 -->
|
<div id="task">
|
<table class="table table-striped table-hover" style="font-size: 18px">
|
<thead>
|
<tr>
|
<th>序列号</th>
|
<th>文件名</th>
|
<th>状态</th>
|
<th>下发时间</th>
|
<th>取消下发</th>
|
<th>料架百分比</th>
|
</tr>
|
</thead>
|
<tbody>${raPackageTxtes}</tbody>
|
</table>
|
</div>
|
</section>
|
</div>
|
<!-- /.content -->
|
</div>
|
<!-- /.content-wrapper -->
|
</body>
|
</html>
|