严智鑫
2024-05-13 cedce4883f0d204f5bf7bf87c0bf4858dabb0c23
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<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 type="text/javascript" src="${ctx}/static/bootstrap/2.3.2/js/bootstrap.min.js"></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">
    function modifyGlassCount(glasscount) {
         $('#modifyPortModal').modal('toggle');
         $('#CountInput').val(glasscount);
         $('#modifyGlassCountForm').attr('action', '${ctx}/device/setRankCardCount');
     } 
    </script>
    <style>
        .box table tr td,.box table tr th{
            text-align:center;
        }
    </style>
</head>
<body>
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div>
        <section class="content-header">
              <h1>
            单架存放玻璃数:${htmlforRankCount}
                <small></small>
              </h1>
          <ol class="breadcrumb">
            <li><a href="${ctx }/device/deviceManage"><i class="fa fa-reply"></i>架卡</a></li>
            <li class="active"></li>
          </ol>
        </section>
    </div>
    <div>
    <!-- Main content -->
    <section class="content container-fluid">
 
           <div class="box box-info" style="height:250px auto;">
            <div class="box-header with-border">
              <h3 class="box-title">1号线打印    <a class="btn btn-success" href="${ctx}/device/jiakaPrintAll/1">打印全部架卡</a></h3>
              <div class="box-tools pull-right">
                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
                <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
              </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <div class="table-responsive">
                <table class="table no-margin" >
                  <thead><tr>
                <th style="text-align:center;">架号</th>
                <th style="text-align:center;">成品名称</th>
                <th style="text-align:center;">尺寸</th>
                <th style="text-align:center;">操作</th>
                </tr></thead>
               <tbody>
                  ${jiakadataforhtml} 
            </tbody>
                </table>
              </div>
              <!-- /.table-responsive -->
            </div>
          </div>
          <div class="box box-info" style="height:250px auto;">
            <div class="box-header with-border">
              <h3 class="box-title">2号线打印    <a class="btn btn-success" href="${ctx}/device/jiakaPrintAll/2">打印全部架卡</a></h3>
              <div class="box-tools pull-right">
                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
                <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
              </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <div class="table-responsive">
                <table class="table no-margin" >
                  <thead><tr>
                <th style="text-align:center;">架号</th>
                <th style="text-align:center;">成品名称</th>
                <th style="text-align:center;">尺寸</th>
                <th style="text-align:center;">操作</th>
                    </tr></thead>
               <tbody>
                  ${jiakadataforhtml2} 
               </tbody>
                </table>
              </div>
              <!-- /.table-responsive -->
            </div>
 
          </div>
    </section>
    </div>
    <div id="modifyPortModal"  class="modal fade" style="height:200px;width:500px;marign:0px auto;" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
            <form id="modifyGlassCountForm" method="post" class="form-horizontal">
            <div class="modal-header"> 
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h3 class="modal-title" id="myModalLabel">分架基准</h3>
            </div>
            <div class="modal-body"  style="background-color:white;text-align:center;">
                <div class="control-group" >
                    <div class="controls">
                        <input type="text" style="text-align:center;float:left;"  id="CountInput" name="glasscount" class="required" placeholder="线路分架">
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-primary">确定</button>
                <button type="button" class="btn" data-dismiss="modal">关闭</button>
            </div>
        </form>
    </div>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  
</body>
</html>