严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<%@ 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>