严智鑫
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<%@ 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>
<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-3.1.0.min.js" type="text/javascript"></script> 
<script src="${ctx}/static/bootstrap/2.3.2/js/bootstrap.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> --%>
    <title>原片信息</title>
</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 }/shelf/editRankAndHoist"><i class="fa fa-reply"></i>编辑料架</a></li>
            <li class="active">原片编辑</li>
          </ol>
        </section>
    </div>
    <div>
    <!-- Main content -->
    <section class="content container-fluid">
    <fieldset>
        <legend>原片信息</legend>
        <form action="${ctx}/rawpackage/${action}" method="post" class="form-horizontal" id="inputForm">
            <input type="hidden" name="shelfRankId" value="${shelfRankId}">
            
            <div class="control-group">
                <label class="control-label" for="shelfRankInput">进库料架</label>
                <div class="controls">
                    <input type="text" id="shelfRankInput" name="shelfRankNumber" class="required" value="${shelfRankNumber}" readonly="readonly">
                </div>
            </div>
               
            <div class="control-group">
                <label class="control-label" for="glassIdInput">Glass Id</label>
                <div class="controls">
                    <input type="text" id="glassIdInput" name="glassId" value="${rawPackage.glassId}"  placeholder="glassId">
                </div>
            </div>
                  
            <div class="control-group">
                <label class="control-label" for="widthInput">宽度</label>
                <div class="controls">
                    <input type="text" id="widthInput" name="width" value="${rawPackage.width}" class="required number" placeholder="Width">
                    <span class="add-on">mm</span>
                </div>
            </div>
                
            <div class="control-group">
                <label class="control-label" for="heightInput">高度</label>
                <div class="controls">
                    <input type="text" id="heightInput" name="height" value="${rawPackage.height}" class="required number" placeholder="Height">
                    <span class="add-on">mm</span>
                </div>
            </div>
                        
            <div class="control-group">
                <label class="control-label" for="thicknessInput">厚度</label>
                <div class="controls">
                    <input type="text" id="thicknessInput" name="thickness" value="${rawPackage.thickness}" class="required number" placeholder="Thickness">
                    <span class="add-on">mm</span>
                </div>
            </div>
                    
            <div class="control-group">
                <label class="control-label" for="piecesInput">片数</label>
                <div class="controls">
                    <input type="text" id="piecesInput" name="pieces" value="${rawPackage.pieces}" min=1 class="required digits" placeholder="Pieces">
                    <span class="add-on">Piece</span>
                </div>
            </div>
                    
            <div class="control-group">
                <label class="control-label" for="colorInput">颜色</label>
                <div class="controls">
                    <div class="input-append">
                        <input type="text" id="colorInput" name="color" value="${rawPackage.color}" class="required" readonly="readonly">
                        <div class="btn-group">
                            <button class="btn dropdown-toggle" data-toggle="dropdown">Choice&nbsp;<span class="caret"></span></button>
                            <ul class="dropdown-menu">
                                <c:forEach items="${colorList}" var="color">
                                    <li><a href="#" onclick="$('#colorInput').val('${color}')">${color}</a></li>
                                </c:forEach>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="form-actions">
                <button type="submit" class="btn btn-large btn-primary">保存</button>&nbsp;&nbsp;
                <button type="button" class="btn btn-large" onclick="history.back()">取消</button>
            </div>
        </form>
    </fieldset>
    
    <script>
    $(document).ready(function() {
        $("#widthInput").focus();
        //为inputForm注册validate函数
        //$("#inputForm").validate();
    });
    </script>
    </section>
    </div>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
</body>
</html>