王佳豪
2021-06-25 eb3f8587aa7466fd6d2d3ca712d0f9baf4e27dcb
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="../../include/core.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>库位排号</title>
 
<script type="text/javascript" src="${path }/jsFiles/workFile.js"></script>
<style type="text/css">
.modal-dialog { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 0; 
    right: 0; 
 
.modal-content { 
    /*overflow-y: scroll; */ 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    height :60%;
    width: 100%; 
 
.modal-body {
    overflow-y: scroll; 
    position: absolute; 
    top: 55px;     
    bottom: 65px;  
    width: 100%; 
 
.modal-header .close {margin-right: 15px;} 
 
.modal-footer {
    position: absolute; 
    width: 100%; 
    bottom: 0; 
}
</style>
</head>
<body>
 
<!-- search -->
<div class="panel panel-default">
    <div class="panel-body">
        <form id="conForm" class="form-inline">
            <input type="text" class="form-control" style="width:10%" id="wrk_no" name="wrk_no" placeholder="工作号">
            <select class="form-control form-control-static" style="width:20% " name="wrk_sts" id="wrk_sts"></select>
<!--             <select onmousedown="if(this.options.length>5){this.size=5}" onblur="this.size=1" onchange="this.size=1" -->
<!--                 class="form-control form-control-static" style="width:20% " name="wrk_sts" id="wrk_sts"></select> -->
            <input type="text" class="form-control" style="width:10%;" id="crn_no" name="crn_no" placeholder="堆垛机号">            
            <input type="text" class="form-control" style="width:25%" id="barcode" name="barcode" placeholder="搜索">    
            
            <button type="button" onclick="getWorkMastByCon()" class="btn btn-info ">
           <span class="glyphicon glyphicon-search" aria-hidden="true" >  搜索</span></button>
        </form>
    </div>
</div>
 
<!-- 出库启动 -->
<div class="panel panel-default">
    <div class="panel-body">
        <button  id="resetButton" type="button" onclick="AddIopri(1)" class="btn btn-info">
          <span class="glyphicon glyphicon-plus" aria-hidden="true">增加优先级</span>
        </button>
        <button  id="initButton" type="button" onclick="AddIopri(-1)" class="btn btn-info">
          <span class="glyphicon glyphicon-minus" aria-hidden="true">降低优先级</span>
        </button>
    </div>
</div>
 
<table id="wrk-mast" class="table table-hover table-striped table-condensed table-bordered"></table>
<input type="hidden" id="detail_wrk_no" name="detail_wrk_no">
<!--表格自动出现水平滚动条-->
<div class="table-responsive">
<table id="wrk-detail" class="table table-hover text-nowrap"></table>
</div>
 
<!-- 模态框(Modal) -->
<!-- 修改 -->
<div id="mydlg" class="modal fade"  tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">拣料数量</h4>
            </div>
            
            <div class="modal-body">
            <form class="form-horizontal" id="myform"  method="post">
            
            <div class="form-group">
            <label class="col-md-3 control-label">工作号:</label>
            <div class="col-md-6 ">
            <input type="text" readonly="readonly" id="wrk_no1" name="wrk_no" >
            </div>
            </div>
            
            <input type="text" id="lgnum" name="lgnum" style="display: none">
            <input type="text" id="tbnum" name="tbnum" style="display: none">
            <input type="text" id="tbpos" name="tbpos" style="display: none;">
            
            <div class="form-group">
            <label class="col-md-3 control-label">物料:</label>
            <div class="col-md-6 ">
            <input type="text" readonly="readonly" id="matnr" name="matnr" >
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-3 control-label">物料描述:</label>
            <div class="col-md-6 ">
            <input type="text" readonly="readonly" id="maktx" name="maktx" >
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-3 control-label">原拣料数量:</label>
            <div class="col-md-6 ">
            <input type="text" readonly="readonly" id="anfme" name="anfme" >
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-3 control-label">实际拣料数量:</label>
            <div class="col-md-6 ">
            <input type="text" id="nista"  name="nista" placeholder="必填">
<!--                 <input type="text" id="nista"  name="nista" class="form-control form-control-static" placeholder="必填"> -->
            <span id="infos" style="color:red"></span>
            </div>
            </div>
            
                <input type="reset" name="reset" style="display: none;" />            
            </form>
            </div>
            
            <div class="modal-footer">
            <!--用来清空表单数据-->            
                <button type="button" class="btn btn-default" onclick="closedlg()">关闭</button>
               <button type="button" onclick="upWorkDetl()" class="btn btn-primary">保存</button>
            </div>
            
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
 
</body>
</html>