jiazx0107@163.com
2023-05-31 29a928860314d79adfbd6fd564b916ea9e834a4e
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!DOCTYPE html>
<html lang="zh-cn" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>出入库管理-扦样</title>
 
    <link rel="stylesheet" type="text/css"
          th:href="@{../../static/plugins/layui/css/layui.css?v=2.5.5}">
    <link rel="stylesheet" type="text/css"
          th:href="@{../../static/admin/inout/style.css}">
 
    <style type="text/css">
        .qyzj-tabBox {
            margin-top: 0px !important;
            overflow: hidden;
            width: 100%;
        }
 
        #layui-table-page1 {
            text-align: right !important;
        }
 
        .display-none {
            display: none;
        }
 
        .control-btn {
            height: 35px;
            line-height: 30px;
            background-color: #f67d06;
        }
 
        .tip-red {
            text-align: right;
            padding-left: 40px;
            font-size: 16px;
            color: red;
            font-weight: bold;
        }
 
        thead span {
            font-weight: bold
        }
 
        #label1, #label4, #label5 {
            color: red;
        }
 
        .layui-select-disabled .layui-disabled {
            color: #000 !important;
        }
 
        .layui-table td {
            font-weight: bold;
        }
 
        .rk-step-wrap {
            padding: 0px;
            border-bottom: 0px;
            text-align: center;
        }
 
        .qyzj-btnbox {
            margin-top: 10px;
        }
 
        .qyzj-btnbox .rkbk-quick {
            margin-top: 13px;
        }
 
        .qyzj-con {
            margin-top: 10px;
            background: #dee6ec;
        }
 
        .rkbk-search-input {
            background: #FFF !important;
        }
 
        .rkbk-search-input.bg-date {
            background: #FFF !important;
        }
 
        thead span {
            font-weight: bold
        }
 
        .red {
            color: red;
            font-weight: bold;
        }
 
        .layui-select-disabled .layui-disabled {
            color: #000 !important;
        }
 
        .layui-table td {
            font-weight: bold;
        }
 
        .layui-elem-quote {
            padding: 10px;
            color: blue;
        }
 
        .input_ba {
            background: #e7eaec !important;
        }
    </style>
 
</head>
 
<body>
<div class="l-container layui-clear">
    <div class="rk-main">
 
        <div class="qyzj-btnbox layui-clear">
            <!--扦样操作-->
            <div class="rkbk-quick fl">
                <button type="button" class="rkbk-quick-btn layui-btn btn-violet"
                        onclick="checkExe('big')">
                    <i><img th:src="@{../../static/images/icon-hyd.png}"/></i>大车扦样
                </button>
                <button type="button" class="rkbk-quick-btn layui-btn btn-violet"
                        onclick="checkExe('small')">
                    <i><img th:src="@{../../static/images/icon-hyd.png}"/></i>小车扦样
                </button>
                <button class="rkbk-quick-btn layui-btn btn-blue"
                        onclick="checkReset()">
                    <i><img th:src="@{../../static/images/icon-fuwei.png}"/></i>扦样复位
                </button>
                <button class="rkbk-quick-btn layui-btn btn-red"
                        onclick="checkStop()">
                    <i><img th:src="@{../../static/images/icon-stop.png}"/></i>扦样急停
                </button>
                <button class="rkbk-quick-btn layui-btn btn-blue"
                        onclick="checkResetStop()">
                    <i><img th:src="@{../../static/images/icon-fuwei.png}"/></i>急停复位
                </button>
            </div>
            <!--流程引导-->
            <div class="rk-step-wrap fr">
                <ul class="rk-step">
                    <li id="progress-register" class="active rk-step-first">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-dengji.png}"/>
                        </span>
                        <p>入库登记</p>
                    </li>
                    <li id="progress-check" class="active">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-zhijian.png}"/>
                        </span>
                        <p>扦样质检</p>
                    </li>
                    <li id="progress-fullWeight">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-chengzhong.png}"/>
                        </span>
                        <p>满车称重</p>
                    </li>
                    <li id="progress-hand">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-xiehuo.png}"/>
                        </span>
                        <p>入库值仓</p>
                    </li>
                    <li id="progress-emptyWeight">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-chengzhong.png}"/>
                        </span>
                        <p>空车称重</p>
                    </li>
                    <li id="progress-cardBack">
                        <span class="rk-step-span">
                            <img th:src="@{../../static/images/icon-banli.png}"/>
                        </span>
                        <p>离库确认</p>
                    </li>
                </ul>
            </div>
        </div>
 
        <div class="qyzj-con radius-6">
            <div class="qyzj-con-top layui-row">
                <form class="layui-form" action="" id="form-param" lay-filter="form-param">
 
                    <div class="layui-form-item display-none">
                        <label class="layui-form-label">隐藏-类型</label>
                        <div class="layui-input-block">
                            <input type="text" name="type" th:value="${type}" autocomplete="off"
                                   class="layui-input rkbk-search-input">
                        </div>
                    </div>
 
                    <div class="layui-form-item display-none">
                        <label class="layui-form-label">隐藏-流程</label>
                        <div class="layui-input-block">
                            <input type="text" name="progress" th:value="${progress}" autocomplete="off"
                                   class="layui-input rkbk-search-input">
                        </div>
                    </div>
 
                    <div class="layui-col-xs3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">质检单号</label>
                            <div class="layui-input-block">
                                <input type="text" name="checkId" placeholder="请输入" autocomplete="off"
                                       class="layui-input rkbk-search-input">
                            </div>
                        </div>
                    </div>
 
                    <div class="layui-col-xs3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">车船号</label>
                            <div class="layui-input-block rkbk-selBox">
                                <input type="text" name="plateNum" placeholder="请输入" autocomplete="off"
                                       class="layui-input rkbk-search-input">
                            </div>
                        </div>
                    </div>
 
                    <div class="layui-col-xs3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">起始时间</label>
                            <div class="layui-input-block">
                                <input type="text" name="start" placeholder="请输入"
                                       autocomplete="off"
                                       class="layui-input rkbk-search-input bg-date" id="start">
                            </div>
                        </div>
                    </div>
 
                    <div class="layui-col-xs3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">截止时间</label>
                            <div class="layui-input-block">
                                <input type="text" name="end" placeholder="请输入"
                                       autocomplete="off"
                                       class="layui-input rkbk-search-input bg-date" id="end">
                            </div>
                        </div>
                    </div>
 
                    <div class="layui-col-xs3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">是否扦样</label>
                            <div class="layui-input-block rkbk-selBox">
                                <select name="sampleStatus">
                                    <option value="NONE" selected>未扦样</option>
                                    <option value="SAMPLE">已扦样</option>
                                </select>
                            </div>
                        </div>
                    </div>
 
                    <div class="layui-col-xs3 layui-text-right">
                        <input type="button" value="查询/刷新"
                               class="qyzj-top-btn layui-btn btn-blue" onclick="flushData()"/>
                        <input type="button" value="清空条件"
                               class="qyzj-top-btn layui-btn btn-red" onclick="resetForm()"/>
                    </div>
                </form>
            </div>
 
            <div class="qyzj-tabBox">
                <table class="layui-table" lay-skin="nob" id="tableData"
                       lay-filter="tableData">
                    <colgroup>
                        <col width="10%">
                        <col width="10%">
                        <col width="15%">
                        <col width="10%">
                        <col width="10%">
                        <col width="15%">
                        <col width="10%">
                        <col width="">
                    </colgroup>
                    <thead>
                    <tr class="qyzj-table-tit">
                        <th>质检单号</th>
                        <th>车船号</th>
                        <th>登记时间</th>
                        <th>是否扦样</th>
                        <th>扦样人</th>
                        <th>扦样时间</th>
                        <th>扦样类型</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
 
<script th:inline="javascript">
    var progress = [[${progress}]];
    var listDepot = [[${listDepot}]];
    //业务步骤
    var bizType = [[${bizType}]];
    //出入库类型
    var type = [[${type}]];
    //userId
    var userId = [[${loginUser.username}]];
 
    var sampleUser = [[${loginUser.cname}]];
 
    var companyId = [[${loginUser.companyId}]];
    //品种
    var listFoodVariety = [[${listFoodVariety}]];
    var startTime = [[${startTime}]];
    var endTime = [[${endTime}]];
    //扦样机信息
    var checkDto = [[${checkDto}]];
 
    //所属分库
    var deptId = [[${deptId}]];
    var deptName = [[${deptName}]];
 
    var inoutProgress = [[${inoutProgress}]];
 
</script>
 
 
<script th:src="@{../../static/plugins/layui/layui.js}"></script>
<script th:src="@{../../static/js/jquery.min.js}"></script>
<script th:src="@{../../static/js/constant.js}"></script>
<script th:src="@{../../static/js/igds-common.js}"></script>
<script th:src="@{../../static/admin/inout/in-sample.js}"></script>
 
<script type="text/html" id="barControl">
    <a class="layui-btn control-btn" lay-event="edit">扦样确认</a>
</script>
</body>
 
<!-- 化验信息,包括基本信息和化验结果 -->
<div class="layui-tab-content" id="checkDetail" style="display: none;">
    <!-- 表单基本信息 -->
    <div style="height: 100%; width: 55%; float: left">
        <div class="layui-col-xs12">
            <blockquote class="layui-elem-quote">
                <span style="font-weight: bold; margin-right: 10px;">扦样信息</span>
            </blockquote>
        </div>
        <form class="layui-form" id="form-detail" lay-filter="form-detail">
            <div class="layui-col-xs12" style="display: none;">
                <div class="layui-form-item">
                    <label class="layui-form-label">隐藏字段-流水编号</label>
                    <div class="layui-input-block">
                        <input type="text" name="id" autocomplete="off" class="layui-input rkbk-search-input">
                    </div>
                </div>
            </div>
 
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label">质检单号</label>
                    <div class="layui-input-block">
                        <input type="text" name="checkId" autocomplete="off"
                               class="layui-input input_ba" disabled="">
                    </div>
                </div>
            </div>
 
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label">车 牌 号</label>
                    <div class="layui-input-block">
                        <input type="text" name="plateNum" autocomplete="off"
                               class="layui-input input_ba" disabled="">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label">登记时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="registerTime" autocomplete="off"
                               class="layui-input input_ba" disabled="">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label red">扦样人员</label>
                    <div class="layui-input-block">
                        <input type="text" name="sampleUser" autocomplete="off" class="layui-input rkbk-search-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label red">扦样时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="sampleTime" placeholder="请选择"
                               autocomplete="off" class="layui-input rkbk-search-input bg-date" id="sampleTime">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12">
                <div class="layui-form-item">
                    <label class="layui-form-label red">扦样方式</label>
                    <div class="layui-input-block">
                        <input type="radio" name="sampleType" value="0" title="人工" checked>
                        <input type="radio" name="sampleType" value="1" title="自动">
                        <input type="radio" name="sampleType" value="2" title="智能随机">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12" style="margin-bottom: 10px">
                <div style="padding-left: 50px; color: #2ab5ad;">
                    <span style="font-weight: bold; margin-right: 10px;">备注:扦样时间需晚于登记时间</span>
                </div>
            </div>
        </form>
    </div>
    <div style="height: 100%; width: 42%; float: right">
        <div class="layui-col-xs12">
            <blockquote class="layui-elem-quote">
                <span style="font-weight: bold; margin-right: 10px;">打印信息</span>
            </blockquote>
            <div style="text-align: center; margin-top: 10px">
                <img style="max-width: 100px;" th:src="@{/static/images/login-app-code.png}"/>
            </div>
            <div style="text-align: center; margin-top: 10px">
                <img style="max-width: 220px;" th:src="@{/static/images/txm.jpg}"/>
            </div>
            <div style="text-align: center; font-size: 16px; margin-top: 10px">
                <span th:text="${deptName}"></span>
            </div>
            <div style="text-align: center; font-size: 14px; margin-top: 10px">
                <span id="printTime">2023-05-31 17:30:30</span>
            </div>
        </div>
    </div>
</div>
 
<!-- 弹出框的信息 -->
<div class="layui-tab-content" id="dialog-from-notify"
     style="display: none;">
    <table class="layui-table">
        <colgroup>
            <col width="100">
        </colgroup>
        <tbody>
        <tr>
            <td>返回信息</td>
            <td id="resultMsg" style="color: red; font-weight: bold;"></td>
        </tr>
        <tr>
            <td>承运人</td>
            <td id="resultUserName" style="font-weight: bold;"></td>
        </tr>
        <tr>
            <td>车牌号</td>
            <td id="resultPlateNum" style="font-weight: bold;"></td>
        </tr>
        <tr>
            <td>下一步</td>
            <td id="resultType" style="font-weight: bold;"></td>
        </tr>
        <tr>
            <td>智慧卡号</td>
            <td id="resultIntelCard" style="font-weight: bold;"></td>
        </tr>
        </tbody>
    </table>
</div>
 
</html>