廖井涛
2025-05-26 3a975df5b368bc68ee7a81d34920b209f2ff607b
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!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">
<script type="text/javascript"
    src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
    <script src="${ctx}/static/js/ng/tb-2.0.js" type="text/javascript"></script>
<title>领取任务</title>
<style>
.box table tr th, .box table tr td {
    text-align: center;
}
 
.table>tbody>tr>td {
    vertical-align: middle;
    /* content:middle; */
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    /* border: 1px solid green; */
}
 
.table>thead>tr>th {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
 
h1 {
    display: inline;
}
 
.s-style {
    font-size: 18px;
    font-weight: bold;
}
 
.s-title {
    font-size: 18px;
    /*font-weight: bold;
     text-align :center; */
    vertical-align: middle;
    text-align: center
}
 
.sel-style {
    width: 200px;
    font-size: 20px;
}
</style>
 
<script type="text/javascript">
    $(document).ready(function(){
          var info = $("#info").attr("info");
          $("#infos").html(info);
    });
    
    function addload(id){
          $.ajax({ 
            async: false, 
        
            type:"GET", 
 
             url:"${ctx}/cutmanage/gottask?id="+id, 
 
            dataType:"text", 
 
            success:function(data){
                
                }
        });
          
          
              
}
    
    function updatedengluname(){
          $("#updatedengluname").modal('show');
    
    }
      function updatedengluname1(){
          
              var groups=document.getElementsByName('groups')[0].value;
              var dengluname=document.getElementById('dengluname').innerHTML;
              $.ajax({
              cache:false,
                type:"POST",
                dataType : "json", 
                 url:"${ctx}/cutmanage/updatedengluname",
                 data:{
                     "groups":groups,
                     "username":dengluname,
                 },success:function(data){ 
                     window.location.href="${ctx}/cutmanage/gettask/"+groups;
                }
            }); 
    }
      var gongyi="磨边";
      var group = ${groups};
</script>
</head>
<body style="padding: 20px;">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <input style="display: none" type="text" name="groups"
            value="${groups}" />
        <!-- Content Header (Page header) -->
        <section class="content-header">
        <h1>
            领取 ${groups} 线任务
            &nbsp;&nbsp;
 
                <small>当前班组:</small> &nbsp; <span id="s_current_banzu"
                    style="font-weight: bold;"></span> &nbsp;
                <button id="btnBanZu" type='button' class='btn btn-primary '
                    onclick='onChangeBanZu()'>选择班组</button>
                    &nbsp;
                <!-- <button id="btnOffWork" type='button' class='btn btn-primary '
                    onclick='offWork()'>下班-报工提交</button>
                &nbsp; -->
                <button id="btnOffWork" type='button' class='btn btn-primary ' onclick='offWork()'>切割-产量</button>
                &nbsp; 
                &nbsp; 
                <small>当前上片工位模式:</small> &nbsp; 
 
                <button id="btnStatcionMode" type='button' class='btn btn-primary' onclick='onChangeMode(${groups})' >单工位</button>
                <small style='color:red'>(单击按钮切换工位模式)</small>
                &nbsp;
            <button type="button"
                onclick="{location.href='${ctx }/cutmanage/task'}"
                class="btn btn-primary" id="app">手动任务</button>
            <button type="button"
                onclick="{location.href='${ctx }/cutmanage/gettask/${line}'}"
                class="btn btn-primary" id="app">领取 ${line} 号线任务</button>
            <button type="button"
                onclick="{location.href='${ctx }/cutmanage/lookOverStateTsaks/${line}'}"
                class="btn btn-primary" id="app">查看近期完成任务</button>
            &nbsp;&nbsp;&nbsp;&nbsp;<small>共&nbsp;&nbsp;<strong
                style="color: black">${total}</strong>&nbsp;&nbsp;条数据
 
 
            </small> 
            
            <%-- ${rawPackageslistname} --%>
        </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>
 
            <!-- Main content -->
            <section class="content container-fluid">
            <div class="box box-default" style="background-color: #D5EAFF;">
 
                <!-- /.box-header -->
                <div class="box-body" style="height: 600px; overflow-y: auto;">
                    <table class="table table-striped table-hover"
                        style="font-size: 18px;" id="example2">
                        <thead>
                            <tr>
                                <th style="width: 80px;">序号</th>
                                <th style="width: 100px;">ID</th>
                                <th style="width: 200px;">工程号</th>
                                <th style="width: 120px;">订单总数</th>
                                <th style="width: 120px;">原片总数</th>
                                <th style="width: 200px;">状态</th>
                                <th style="width: 300px;">操作</th>
                            </tr>
                        </thead>
                        <tbody>
 
                            <tr>${rawPackageslist}
                            </tr>
 
                        </tbody>
                    </table>
                </div>
            </div>
            </section>
        </div>
 
        <%@ include file="/WEB-INF/views/mes/view/modal_banzu.jsp"%>
        <%@ include file="/WEB-INF/views/mes/view/modal_tishi.jsp"%>
        <%@ include file="/WEB-INF/views/mes/view/modal_QG_tijiaobaogong.jsp"%>
<%-- <%@ include file="/WEB-INF/views/mes/view/modal_tijiaobaogong.jsp"%> --%>
    </div>
    <%@ include file="/WEB-INF/views/mes/view/modal_js_gongwei_mode.jsp" %>
    <!-- /.content -->
    <!-- /.content-wrapper -->
    <!-- page script -->
 
 
 
</body>
</html>