|
1
2
|
<template>
<div class="app-container">
|
陈嘉新
authored
|
3
4
|
<div class="app-container-father">
<div class="dv-container-left">
|
陈嘉新
authored
|
5
6
7
8
|
<el-form
ref="form"
:model="form"
label-width="100px"
|
陈嘉新
authored
|
9
|
style="width: 90%; margin-top: 20px"
|
陈嘉新
authored
|
10
11
|
>
<el-form-item label="任务号:">
|
陈嘉新
authored
|
12
13
14
15
|
<el-input
v-model="queryConfig.taskNo"
placeholder="请输入任务号"
></el-input>
|
陈嘉新
authored
|
16
17
|
</el-form-item>
<el-form-item label="远程任务号:">
|
陈嘉新
authored
|
18
19
20
21
|
<el-input
v-model="queryConfig.remoteTaskId"
placeholder="请输入远程任务号"
></el-input>
|
陈嘉新
authored
|
22
23
|
</el-form-item>
<el-form-item label="容器号:">
|
陈嘉新
authored
|
24
25
26
27
|
<el-input
v-model="queryConfig.containerCode"
placeholder="请输入容器号"
></el-input>
|
陈嘉新
authored
|
28
29
|
</el-form-item>
<el-form-item label="起点库位:">
|
陈嘉新
authored
|
30
31
32
33
|
<el-input
v-model="queryConfig.fromLocationCode"
placeholder="请输入起点库位"
></el-input>
|
陈嘉新
authored
|
34
35
|
</el-form-item>
<el-form-item label="终点库位:">
|
陈嘉新
authored
|
36
37
38
39
|
<el-input
v-model="queryConfig.toLocationCode"
placeholder="请输入终点库位"
></el-input>
|
陈嘉新
authored
|
40
41
|
</el-form-item>
<el-form-item label="起点站台:">
|
陈嘉新
authored
|
42
43
44
45
|
<el-input
v-model="queryConfig.fromStationCode"
placeholder="请输入起点站台"
/>
|
陈嘉新
authored
|
46
47
|
</el-form-item>
<el-form-item label="终点站台:">
|
陈嘉新
authored
|
48
49
50
51
|
<el-input
v-model="queryConfig.toStationCode"
placeholder="请输入终点站台"
/>
|
陈嘉新
authored
|
52
53
|
</el-form-item>
<el-form-item label="任务状态:">
|
陈嘉新
authored
|
54
55
56
57
|
<el-select
v-model="queryConfig.status"
placeholder="请选择任务状态"
>
|
陈嘉新
authored
|
58
59
60
61
62
63
64
|
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
65
66
|
</el-form-item>
<el-form-item label="开始时间:">
|
陈嘉新
authored
|
67
|
<el-date-picker
|
陈嘉新
authored
|
68
|
v-model="form.startTime"
|
陈嘉新
authored
|
69
70
|
type="datetime"
placeholder="选择日期时间"
|
陈嘉新
authored
|
71
|
style="width: 99%"
|
陈嘉新
authored
|
72
|
/>
|
陈嘉新
authored
|
73
74
|
</el-form-item>
<el-form-item label="结束时间:">
|
陈嘉新
authored
|
75
|
<el-date-picker
|
陈嘉新
authored
|
76
|
v-model="form.endTime"
|
陈嘉新
authored
|
77
78
|
type="datetime"
placeholder="选择日期时间"
|
陈嘉新
authored
|
79
|
style="width: 99%"
|
陈嘉新
authored
|
80
|
/>
|
陈嘉新
authored
|
81
82
83
84
|
</el-form-item>
<el-form-item>
<el-row>
<el-col :span="8">
|
陈嘉新
authored
|
85
86
87
88
89
|
<el-button
class="T1"
size="small"
type="primary"
@click="btnAction()"
|
陈嘉新
authored
|
90
91
92
93
|
>查询</el-button
>
</el-col>
<el-col :span="8">
|
陈嘉新
authored
|
94
95
96
|
<el-button class="T1" size="small" @click="btnAdd()"
>新增</el-button
>
|
陈嘉新
authored
|
97
98
|
</el-col>
<el-col :span="8">
|
陈嘉新
authored
|
99
100
101
|
<el-button class="T1" size="small" @click="deleteData()"
>删除</el-button
>
|
陈嘉新
authored
|
102
103
104
105
|
</el-col>
</el-row>
</el-form-item>
<el-form-item>
|
陈嘉新
authored
|
106
107
108
|
<el-button class="T1" size="small" @click="ExportList()"
>导出</el-button
>
|
陈嘉新
authored
|
109
110
|
</el-form-item>
<el-form-item>
|
陈嘉新
authored
|
111
112
113
114
115
|
<el-button
class="T1"
size="small"
type="danger"
@click="forceComplete()"
|
陈嘉新
authored
|
116
117
|
>强制完成</el-button
>
|
陈嘉新
authored
|
118
119
120
121
122
|
<el-button
class="T1"
size="small"
type="warning"
@click="maintenance()"
|
陈嘉新
authored
|
123
124
125
126
|
>维护</el-button
>
</el-form-item>
</el-form>
|
陈嘉新
authored
|
127
128
129
130
131
132
133
|
</div>
<div class="dv-container-right">
<el-table
v-loading="listLoading"
:data="sysTable"
element-loading-text="Loading"
border
|
陈嘉新
authored
|
134
135
|
stripe
:height="TableHeight"
|
陈嘉新
authored
|
136
|
@selection-change="handleSelectionChange"
|
陈嘉新
authored
|
137
|
:header-cell-style="{ color: '#000000' }"
|
陈嘉新
authored
|
138
139
140
|
>
<el-table-column type="selection" align="center" width="55">
</el-table-column>
|
陈嘉新
authored
|
141
|
<el-table-column align="center" label="内部任务号" width="100">
|
陈嘉新
authored
|
142
143
144
145
|
<template slot-scope="scope">
{{ scope.row.id }}
</template>
</el-table-column>
|
陈嘉新
authored
|
146
|
<el-table-column label="远程任务号" width="100">
|
陈嘉新
authored
|
147
|
<template slot-scope="scope">
|
陈嘉新
authored
|
148
|
{{ scope.row.remoteTaskId }}
|
陈嘉新
authored
|
149
150
|
</template>
</el-table-column>
|
陈嘉新
authored
|
151
|
<el-table-column label="前置堆垛机任务" width="120">
|
陈嘉新
authored
|
152
|
<template slot-scope="scope">
|
陈嘉新
authored
|
153
|
{{ scope.row.preSRMTaskId }}
|
陈嘉新
authored
|
154
155
156
157
|
</template>
</el-table-column>
<el-table-column label="容器号">
<template slot-scope="scope">
|
陈嘉新
authored
|
158
159
160
161
162
163
|
{{ scope.row.containerCode }}
</template>
</el-table-column>
<el-table-column label="堆垛机名">
<template slot-scope="scope">
{{ scope.row.srmCode }}
|
陈嘉新
authored
|
164
165
166
167
168
169
170
171
172
173
174
175
|
</template>
</el-table-column>
<el-table-column label="任务类型">
<template slot-scope="scope">
{{ scope.row.type }}
</template>
</el-table-column>
<el-table-column label="任务状态">
<template slot-scope="scope">
{{ scope.row.status }}
</template>
</el-table-column>
|
陈嘉新
authored
|
176
|
<el-table-column label="起点库位">
|
陈嘉新
authored
|
177
|
<template slot-scope="scope">
|
陈嘉新
authored
|
178
|
{{ scope.row.fromLocationCode }}
|
陈嘉新
authored
|
179
180
|
</template>
</el-table-column>
|
陈嘉新
authored
|
181
182
|
<el-table-column label="终点库位">
<template slot-scope="scope">
|
陈嘉新
authored
|
183
|
{{ scope.row.toLocationCode }}
|
陈嘉新
authored
|
184
185
186
187
|
</template>
</el-table-column>
<el-table-column label="起点站台">
<template slot-scope="scope">
|
陈嘉新
authored
|
188
|
{{ scope.row.fromStationCode }}
|
陈嘉新
authored
|
189
190
191
192
|
</template>
</el-table-column>
<el-table-column label="终点站台">
<template slot-scope="scope">
|
陈嘉新
authored
|
193
|
{{ scope.row.toStationCode }}
|
陈嘉新
authored
|
194
195
|
</template>
</el-table-column>
|
陈嘉新
authored
|
196
|
<el-table-column label="终点站台组" width="100">
|
陈嘉新
authored
|
197
|
<template slot-scope="scope">
|
陈嘉新
authored
|
198
|
{{ scope.row.toStationCodes }}
|
陈嘉新
authored
|
199
200
|
</template>
</el-table-column>
|
陈嘉新
authored
|
201
|
<el-table-column label="巷道">
|
陈嘉新
authored
|
202
|
<template slot-scope="scope">
|
陈嘉新
authored
|
203
|
{{ scope.row.roadway }}
|
陈嘉新
authored
|
204
205
|
</template>
</el-table-column>
|
陈嘉新
authored
|
206
|
<el-table-column label="提交标识">
|
陈嘉新
authored
|
207
|
<template slot-scope="scope">
|
陈嘉新
authored
|
208
|
{{ scope.row.commitFlag }}
|
陈嘉新
authored
|
209
210
|
</template>
</el-table-column>
|
陈嘉新
authored
|
211
|
<el-table-column label="重发标识">
|
陈嘉新
authored
|
212
|
<template slot-scope="scope">
|
陈嘉新
authored
|
213
|
{{ scope.row.sendAgain }}
|
陈嘉新
authored
|
214
215
|
</template>
</el-table-column>
|
陈嘉新
authored
|
216
217
|
<el-table-column label="空出标识">
<template slot-scope="scope">
|
陈嘉新
authored
|
218
|
{{ scope.row.isEmptyOut }}
|
陈嘉新
authored
|
219
220
|
</template>
</el-table-column>
|
陈嘉新
authored
|
221
|
<el-table-column label="取货错标识" width="100">
|
陈嘉新
authored
|
222
|
<template slot-scope="scope">
|
陈嘉新
authored
|
223
|
{{ scope.row.isForkError }}
|
陈嘉新
authored
|
224
225
226
227
|
</template>
</el-table-column>
<el-table-column label="满入标识">
<template slot-scope="scope">
|
陈嘉新
authored
|
228
|
{{ scope.row.isDoubleIn }}
|
陈嘉新
authored
|
229
230
231
232
|
</template>
</el-table-column>
<el-table-column label="满入位置">
<template slot-scope="scope">
|
陈嘉新
authored
|
233
|
{{ scope.row.reToLocationCode }}
|
陈嘉新
authored
|
234
235
236
237
|
</template>
</el-table-column>
<el-table-column label="货叉标识">
<template slot-scope="scope">
|
陈嘉新
authored
|
238
|
{{ scope.row.forkFlag }}
|
陈嘉新
authored
|
239
240
241
|
</template>
</el-table-column>
<el-table-column label="优先级">
|
陈嘉新
authored
|
242
|
<template slot-scope="scope">
|
陈嘉新
authored
|
243
|
{{ scope.row.priority }}
|
陈嘉新
authored
|
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
|
</template>
</el-table-column>
<el-table-column label="长">
<template slot-scope="scope">
{{ scope.row.length }}
</template>
</el-table-column>
<el-table-column label="宽">
<template slot-scope="scope">
{{ scope.row.width }}
</template>
</el-table-column>
<el-table-column label="高">
<template slot-scope="scope">
{{ scope.row.height }}
</template>
</el-table-column>
<el-table-column label="重">
<template slot-scope="scope">
{{ scope.row.weight }}
</template>
</el-table-column>
<el-table-column label="货物类型">
<template slot-scope="scope">
{{ scope.row.goodsType }}
</template>
</el-table-column>
|
陈嘉新
authored
|
271
|
<el-table-column label="开始执行时间" width="160">
|
陈嘉新
authored
|
272
|
<template slot-scope="scope">
|
陈嘉新
authored
|
273
|
{{ scope.row.beginExecuteTime }}
|
陈嘉新
authored
|
274
275
|
</template>
</el-table-column>
|
陈嘉新
authored
|
276
|
<el-table-column label="执行结束时间" width="160">
|
陈嘉新
authored
|
277
|
<template slot-scope="scope">
|
陈嘉新
authored
|
278
|
{{ scope.row.endExecuteTime }}
|
陈嘉新
authored
|
279
280
|
</template>
</el-table-column>
|
陈嘉新
authored
|
281
|
<el-table-column label="创建时间" width="160">
|
陈嘉新
authored
|
282
|
<template slot-scope="scope">
|
陈嘉新
authored
|
283
|
{{ scope.row.created }}
|
陈嘉新
authored
|
284
285
286
287
|
</template>
</el-table-column>
<el-table-column label="创建人">
<template slot-scope="scope">
|
陈嘉新
authored
|
288
|
{{ scope.row.createdBy }}
|
陈嘉新
authored
|
289
290
|
</template>
</el-table-column>
|
陈嘉新
authored
|
291
|
<el-table-column label="更新时间" width="160">
|
陈嘉新
authored
|
292
|
<template slot-scope="scope">
|
陈嘉新
authored
|
293
|
{{ scope.row.updated }}
|
陈嘉新
authored
|
294
295
296
|
</template>
</el-table-column>
<el-table-column label="更新人">
|
陈嘉新
authored
|
297
|
<template slot-scope="scope">
|
陈嘉新
authored
|
298
|
{{ scope.row.updatedBy }}
|
陈嘉新
authored
|
299
300
301
302
303
304
|
</template>
</el-table-column>
</el-table>
<!-- 分页 -->
<div class="pagination-container">
<el-pagination
|
陈嘉新
authored
|
305
306
307
308
|
style="margin-top: 15px"
align="center"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
|
陈嘉新
authored
|
309
|
:current-page="queryConfig.currentPage"
|
陈嘉新
authored
|
310
|
:page-sizes="[20, 50, 100]"
|
陈嘉新
authored
|
311
|
:page-size="queryConfig.pageSize"
|
陈嘉新
authored
|
312
|
layout="total, sizes, prev, pager, next, jumper"
|
陈嘉新
authored
|
313
|
:total="total"
|
陈嘉新
authored
|
314
|
/>
|
陈嘉新
authored
|
315
316
|
</div>
</div>
|
陈嘉新
authored
|
317
|
<!-- 新增弹框 -->
|
陈嘉新
authored
|
318
319
320
|
<el-dialog
title="堆垛机新增"
:visible.sync="dialogFormVisible"
|
陈嘉新
authored
|
321
|
width="30%"
|
陈嘉新
authored
|
322
323
324
325
326
|
>
<el-form :model="formData" label-width="120px">
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="远程任务标识:">
|
陈嘉新
authored
|
327
328
329
330
|
<el-input
v-model="elAddDialog.remoteTaskId"
placeholder="请选择远程任务标识"
/>
|
陈嘉新
authored
|
331
332
333
334
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="前置堆垛机任务:">
|
陈嘉新
authored
|
335
336
337
338
|
<el-input
v-model="elAddDialog.preSRMTaskId"
placeholder="请选择前置堆垛机任务"
/>
|
陈嘉新
authored
|
339
340
341
342
343
344
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="任务类型:">
|
陈嘉新
authored
|
345
346
347
348
|
<el-select
v-model="elAddDialog.type"
placeholder="请选择任务类型"
>
|
陈嘉新
authored
|
349
350
351
352
353
354
355
356
357
358
359
|
<el-option
v-for="item in optionsAdd"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="优先级:">
|
陈嘉新
authored
|
360
361
362
363
|
<el-input
v-model="elAddDialog.priority"
placeholder="请选择优先级"
/>
|
陈嘉新
authored
|
364
365
366
367
368
369
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="容器号:">
|
陈嘉新
authored
|
370
371
372
373
|
<el-input
v-model="elAddDialog.containerCode"
placeholder="请选择容器号"
/>
|
陈嘉新
authored
|
374
375
376
377
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="堆垛机名:">
|
陈嘉新
authored
|
378
379
380
381
|
<el-select
v-model="elAddDialog.srmCode"
placeholder="请选择堆垛机名"
>
|
陈嘉新
authored
|
382
383
384
385
386
387
388
389
390
391
392
393
394
|
<el-option
v-for="item in optionsAddSRM"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="起点库位:">
|
陈嘉新
authored
|
395
396
397
398
|
<el-input
v-model="elAddDialog.fromLocationCod"
placeholder="请选择起点库位"
/>
|
陈嘉新
authored
|
399
400
401
402
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="终点库位:">
|
陈嘉新
authored
|
403
404
405
406
|
<el-input
v-model="elAddDialog.toLocationCode"
placeholder="请选择终点库位"
/>
|
陈嘉新
authored
|
407
408
409
410
411
412
413
414
415
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="起点站台:">
<el-select
clearable
v-model="elAddDialog.fromStationCode"
|
陈嘉新
authored
|
416
|
placeholder="请选择起点站台"
|
陈嘉新
authored
|
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
|
>
<el-option
v-for="item in optionsAddEnter"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="终点站台:">
<el-select
clearable
v-model="elAddDialog.toStationCode"
|
陈嘉新
authored
|
432
|
placeholder="请选择终点站台"
|
陈嘉新
authored
|
433
434
435
436
437
438
439
440
441
442
443
444
445
446
|
>
<el-option
v-for="item in optionsAddSRMOut"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="终点站台组:">
|
陈嘉新
authored
|
447
448
449
450
|
<el-input
v-model="elAddDialog.toStationCodes"
placeholder="请选择终点站台组"
/>
|
陈嘉新
authored
|
451
452
453
454
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物类型:">
|
陈嘉新
authored
|
455
456
457
458
|
<el-input
v-model="elAddDialog.goodsType"
placeholder="请选择货物类型"
/>
|
陈嘉新
authored
|
459
460
461
462
463
464
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="长:">
|
陈嘉新
authored
|
465
|
<el-input v-model="elAddDialog.length" placeholder="请选择长" />
|
陈嘉新
authored
|
466
467
468
469
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="宽:">
|
陈嘉新
authored
|
470
|
<el-input v-model="elAddDialog.width" placeholder="请选择宽" />
|
陈嘉新
authored
|
471
472
473
474
475
476
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="高:">
|
陈嘉新
authored
|
477
|
<el-input v-model="elAddDialog.height" placeholder="请选择高" />
|
陈嘉新
authored
|
478
479
480
481
|
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="重:">
|
陈嘉新
authored
|
482
|
<el-input v-model="elAddDialog.weight" placeholder="请选择重" />
|
陈嘉新
authored
|
483
484
485
486
|
</el-form-item>
</el-col>
</el-row>
</el-form>
|
陈嘉新
authored
|
487
|
<div slot="footer" class="dialog-footer">
|
陈嘉新
authored
|
488
|
<el-button type="primary" @click="taskAdd()">创 建</el-button>
|
陈嘉新
authored
|
489
|
<el-button @click="close()">取 消</el-button>
|
陈嘉新
authored
|
490
491
|
</div>
</el-dialog>
|
陈嘉新
authored
|
492
|
|
陈嘉新
authored
|
493
494
495
496
497
|
<el-dialog
title="堆垛机维护"
:visible.sync="dialogFormVisibleTwo"
:showClose="false"
>
|
陈嘉新
authored
|
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
|
<div class="containerTwo">
<div class="box1">
<div class="dv-title" style="margin-left: 10px">
当前任务号:{{ elMaintenance.id
}}<el-button @click="reset()" class="T1" style="margin-left: 10px"
>重置所有</el-button
>
</div>
</div>
<div class="box2">
<div class="small-box">
<div class="dv-title">远程任务维护</div>
<div class="inner-box2">
<div class="inner-inner-box1">
<div class="dv-maintenance-text">远程任务号:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
514
515
516
517
|
<el-input
v-model="elMaintenance.remoteTaskId"
placeholder="请选择远程任务号"
/>
|
陈嘉新
authored
|
518
519
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
520
|
<!-- <el-button class="T1">修改</el-button> -->
|
陈嘉新
authored
|
521
522
523
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
524
|
<div class="dv-maintenance-text">前置堆垛机任务:</div>
|
陈嘉新
authored
|
525
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
526
527
528
529
|
<el-input
v-model="elMaintenance.preSRMTaskId"
placeholder="请选择前置堆垛机任务"
/>
|
陈嘉新
authored
|
530
531
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
532
533
534
|
<el-button class="T1" @click="preSRMTaskEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
535
536
537
538
539
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
540
|
<div class="dv-title">优先级和状态维护</div>
|
陈嘉新
authored
|
541
542
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
543
|
<div class="dv-maintenance-text">优先级:</div>
|
陈嘉新
authored
|
544
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
545
546
547
548
|
<el-input
v-model="elMaintenance.priority"
placeholder="请选择优先级"
/>
|
陈嘉新
authored
|
549
550
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
551
552
553
|
<el-button class="T1" @click="priorityEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
554
555
556
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
557
|
<div class="dv-maintenance-text">任务状态:</div>
|
陈嘉新
authored
|
558
559
|
<div class="dv-maintenance-text2">
<el-select
|
陈嘉新
authored
|
560
|
v-model="elMaintenance.status"
|
陈嘉新
authored
|
561
|
placeholder="请选择任务状态"
|
陈嘉新
authored
|
562
563
|
>
<el-option
|
陈嘉新
authored
|
564
|
v-for="item in optionsStatus"
|
陈嘉新
authored
|
565
566
567
568
569
570
571
|
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
572
|
<el-button class="T1" @click="statusEdit()">修改</el-button>
|
陈嘉新
authored
|
573
574
575
576
577
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
578
|
<div class="dv-title">库位位置维护</div>
|
陈嘉新
authored
|
579
580
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
581
|
<div class="dv-maintenance-text">起点库位:</div>
|
陈嘉新
authored
|
582
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
583
584
585
586
|
<el-input
v-model="elMaintenance.fromLocationCode"
placeholder="请选择起点库位"
/>
|
陈嘉新
authored
|
587
588
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
589
|
<el-button class="T1" @click="fromEdit()">修改</el-button>
|
陈嘉新
authored
|
590
591
592
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
593
594
|
<div class="dv-maintenance-text">终点库位:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
595
596
597
598
|
<el-input
v-model="elMaintenance.toLocationCode"
placeholder="请选择终点库位"
/>
|
陈嘉新
authored
|
599
600
601
602
603
604
605
606
607
608
609
610
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="toEdit()">修改</el-button>
</div>
</div>
</div>
</div>
<div class="small-box">
<div class="dv-title">站台位置维护</div>
<div class="inner-box2">
<div class="inner-inner-box1">
<div class="dv-maintenance-text">起点站台:</div>
|
陈嘉新
authored
|
611
612
|
<div class="dv-maintenance-text2">
<el-select
|
陈嘉新
authored
|
613
|
v-model="elMaintenance.fromStationCode"
|
陈嘉新
authored
|
614
|
placeholder="请选择起点站台"
|
陈嘉新
authored
|
615
616
|
>
<el-option
|
陈嘉新
authored
|
617
|
v-for="item in optionsFrom"
|
陈嘉新
authored
|
618
619
620
621
622
623
624
|
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
625
626
627
|
<el-button class="T1" @click="fromStationEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
628
629
|
</div>
</div>
|
陈嘉新
authored
|
630
631
|
<div class="inner-inner-box2">
<div class="dv-maintenance-text">终点站台:</div>
|
陈嘉新
authored
|
632
633
|
<div class="dv-maintenance-text2">
<el-select
|
陈嘉新
authored
|
634
|
v-model="elMaintenance.toStationCode"
|
陈嘉新
authored
|
635
|
placeholder="请选择终点站台"
|
陈嘉新
authored
|
636
637
|
>
<el-option
|
陈嘉新
authored
|
638
|
v-for="item in optionsTo"
|
陈嘉新
authored
|
639
640
641
642
643
644
645
|
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
646
647
648
|
<el-button class="T1" @click="toStationEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
649
650
|
</div>
</div>
|
陈嘉新
authored
|
651
652
|
<div class="inner-inner-box2">
<div class="dv-maintenance-text">终点站台组:</div>
|
陈嘉新
authored
|
653
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
654
655
656
657
|
<el-input
v-model="elMaintenance.toStationCodes"
placeholder="请选择终点站台组"
/>
|
陈嘉新
authored
|
658
659
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
660
661
662
|
<el-button class="T1" @click="toStationCodesEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
663
664
665
666
|
</div>
</div>
</div>
</div>
|
陈嘉新
authored
|
667
668
669
670
671
|
<div class="small-box">
<div class="dv-title">堆垛机货叉维护</div>
<div class="inner-box2">
<div class="inner-inner-box1">
<div class="dv-maintenance-text">当前堆垛机:</div>
|
陈嘉新
authored
|
672
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
673
674
|
<el-select
v-model="elMaintenance.srmCode"
|
陈嘉新
authored
|
675
|
placeholder="请选择当前堆垛机"
|
陈嘉新
authored
|
676
677
678
679
680
681
682
683
|
>
<el-option
v-for="item in optionsARM"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
684
685
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
686
687
688
|
<el-button class="T1" @click="srmCodeEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
689
690
|
</div>
</div>
|
陈嘉新
authored
|
691
692
|
<div class="inner-inner-box2">
<div class="dv-maintenance-text">当前货叉:</div>
|
陈嘉新
authored
|
693
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
694
695
|
<el-select
v-model="elMaintenance.forkFlag"
|
陈嘉新
authored
|
696
|
placeholder="请选择当前货叉"
|
陈嘉新
authored
|
697
698
699
700
701
702
703
704
|
>
<el-option
v-for="item in optionsFork"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
705
706
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
707
708
709
|
<el-button class="T1" @click="forkFlagEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
710
711
712
|
</div>
</div>
</div>
|
陈嘉新
authored
|
713
714
715
716
717
718
|
</div>
<div class="small-box">
<div class="dv-title">回传维护</div>
<div class="inner-box2">
<div class="inner-inner-box1">
<div class="dv-maintenance-text">任务回传:</div>
|
陈嘉新
authored
|
719
|
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
720
721
|
<el-select
v-model="elMaintenance.commitFlag"
|
陈嘉新
authored
|
722
|
placeholder="请选择任务回传"
|
陈嘉新
authored
|
723
724
725
726
727
728
729
730
|
>
<el-option
v-for="item in optionsCommitd"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
731
732
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
733
734
735
|
<el-button class="T1" @click="commitFlagEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
736
737
738
739
740
|
</div>
</div>
</div>
</div>
</div>
|
陈嘉新
authored
|
741
|
<div class="box3">
|
陈嘉新
authored
|
742
743
744
745
746
|
<div class="dv-title">货物类别维护</div>
<div class="dv-maintenance2">
<div class="dv-maintenance2-left">
<div class="dv-maintenance-text">长:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
747
748
749
750
|
<el-input
v-model="elMaintenance.length"
placeholder="请选择长"
/>
|
陈嘉新
authored
|
751
752
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
753
|
<el-button class="T1" @click="lengthEdit()">修改</el-button>
|
陈嘉新
authored
|
754
755
756
757
758
|
</div>
</div>
<div class="dv-maintenance2-right">
<div class="dv-maintenance-text">宽:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
759
760
761
762
|
<el-input
v-model="elMaintenance.width"
placeholder="请选择宽"
/>
|
陈嘉新
authored
|
763
764
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
765
|
<el-button class="T1" @click="widthEdit()">修改</el-button>
|
陈嘉新
authored
|
766
767
768
769
770
771
772
|
</div>
</div>
</div>
<div class="dv-maintenance3">
<div class="dv-maintenance3-left">
<div class="dv-maintenance-text">高:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
773
774
775
776
|
<el-input
v-model="elMaintenance.height"
placeholder="请选择高"
/>
|
陈嘉新
authored
|
777
778
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
779
|
<el-button class="T1" @click="heightEdit()">修改</el-button>
|
陈嘉新
authored
|
780
781
782
783
784
|
</div>
</div>
<div class="dv-maintenance3-right">
<div class="dv-maintenance-text">重:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
785
786
787
788
|
<el-input
v-model="elMaintenance.weight"
placeholder="请选择重"
/>
|
陈嘉新
authored
|
789
790
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
791
|
<el-button class="T1" @click="weightEdit()">修改</el-button>
|
陈嘉新
authored
|
792
793
794
795
796
797
|
</div>
</div>
</div>
<div class="dv-maintenance4">
<div class="dv-maintenance-text">货物类型:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
798
799
800
801
|
<el-input
v-model="elMaintenance.goodsType"
placeholder="请选择货物类型"
/>
|
陈嘉新
authored
|
802
803
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
804
805
806
807
808
809
810
811
812
|
<el-button class="T1" @click="goodsTypeEdit()">修改</el-button>
</div>
</div>
<div class="dv-title">异常情况标记维护</div>
<div class="dv-maintenance2">
<div class="dv-maintenance2-left">
<div class="dv-maintenance-text">是否空出:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
813
814
815
816
|
<el-input
v-model="elMaintenance.isEmptyOut"
placeholder="请选择是否空出"
/>
|
陈嘉新
authored
|
817
818
819
820
821
822
823
824
825
826
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="isEmptyOutEdit()"
>修改</el-button
>
</div>
</div>
<div class="dv-maintenance2-right">
<div class="dv-maintenance-text">是否取货错:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
827
828
829
830
|
<el-input
v-model="elMaintenance.isForkError"
placeholder="请选择是否取货错"
/>
|
陈嘉新
authored
|
831
832
833
834
835
836
837
838
839
840
841
842
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="isForkErrorEdit()"
>修改</el-button
>
</div>
</div>
</div>
<div class="dv-maintenance3">
<div class="dv-maintenance3-left">
<div class="dv-maintenance-text">重发标记:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
843
844
845
846
|
<el-input
v-model="elMaintenance.sendAgain"
placeholder="请选择重发标记"
/>
|
陈嘉新
authored
|
847
848
849
850
851
852
853
854
855
856
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="sendAgainEdit()"
>修改</el-button
>
</div>
</div>
<div class="dv-maintenance3-right">
<div class="dv-maintenance-text">是否满入:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
857
858
859
860
|
<el-input
v-model="elMaintenance.isDoubleIn"
placeholder="请选择是否满入"
/>
|
陈嘉新
authored
|
861
862
863
864
865
866
867
868
869
870
871
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="isDoubleInEdit()"
>修改</el-button
>
</div>
</div>
</div>
<div class="dv-maintenance4">
<div class="dv-maintenance-text">满入库位:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
872
873
874
875
|
<el-input
v-model="elMaintenance.reToLocationCode"
placeholder="请选择满入库位"
/>
|
陈嘉新
authored
|
876
877
878
879
880
|
</div>
<div class="dv-maintenance-text3">
<el-button class="T1" @click="reToLocationEdit()"
>修改</el-button
>
|
陈嘉新
authored
|
881
882
|
</div>
</div>
|
陈嘉新
authored
|
883
|
</div>
|
陈嘉新
authored
|
884
885
886
887
888
|
</div>
<div slot="footer" class="dialog-footer">
<!-- <el-button type="primary" @click="dialogFormVisibleTwo = false"
>创 建</el-button
> -->
|
陈嘉新
authored
|
889
|
<el-button @click="close()">取 消</el-button>
|
陈嘉新
authored
|
890
891
|
</div>
</el-dialog>
|
陈嘉新
authored
|
892
|
</div>
|
|
893
894
895
896
|
</div>
</template>
<script>
|
陈嘉新
authored
|
897
898
899
900
|
import {
GetSRMTasks,
getHostType,
CreateSRMTask,
|
陈嘉新
authored
|
901
902
903
|
GetSRMTaskById,
CompleteSRMTask,
DeleteSRMTaskByIds,
|
陈嘉新
authored
|
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
|
SRMPreRemoteTaskEdit,
SRMPriorityEdit,
SRMStatusEdit,
FromLocationCodeEdit,
ToLocationCodeEdit,
FromStationCodeEdit,
ToStationCodeEdit,
ToStationCodesEdit,
SRMCodeEdit,
ForkFlagEdit,
SRMCommitEdit,
SRMLengthEdit,
SRMWidthEdit,
SRMHeightEdit,
SRMWeightEdit,
SRMGoodsTypeEdit,
IsEmptyOutEdit,
IsForkErrorEdit,
SendAgainEdit,
IsDoubleInEdit,
ReToLocationCodeEdit,
|
陈嘉新
authored
|
925
|
} from "@/api/taskManagement/stacker";
|
陈嘉新
authored
|
926
|
import downloadFile from "@/api/user";
|
|
927
928
929
|
export default {
data() {
return {
|
陈嘉新
authored
|
930
931
932
933
|
sysTable: [],
// 查询条件
queryConfig: {
currentPage: 1,
|
陈嘉新
authored
|
934
|
pageSize: 10,
|
陈嘉新
authored
|
935
936
937
938
939
940
941
942
|
taskNo: "",
remoteTaskId: "",
fromLocationCode: "",
toLocationCode: "",
fromStationCode: "",
toStationCode: "",
status: "",
containerCode: "",
|
陈嘉新
authored
|
943
|
},
|
陈嘉新
authored
|
944
945
|
//新增参数
elAddDialog: {
|
陈嘉新
authored
|
946
947
948
949
950
951
952
953
|
remoteTaskId: "",
preSRMTaskId: 0,
containerCode: "",
fromLocationCode: "",
toLocationCode: "",
fromStationCode: "",
toStationCode: "",
toStationCodes: "",
|
陈嘉新
authored
|
954
|
type: "",
|
陈嘉新
authored
|
955
|
priority: 0,
|
陈嘉新
authored
|
956
|
srmCode: "",
|
陈嘉新
authored
|
957
|
goodsType: 0,
|
陈嘉新
authored
|
958
959
960
961
|
height: 0,
width: 0,
length: 0,
weight: 0,
|
陈嘉新
authored
|
962
|
},
|
陈嘉新
authored
|
963
|
//维护弹出层条件
|
陈嘉新
authored
|
964
|
elMaintenance: {},
|
陈嘉新
authored
|
965
|
elMaintenanceTwo: {},
|
陈嘉新
authored
|
966
967
968
|
total: 0,
listLoading: false,
dialogFormVisible: false,
|
陈嘉新
authored
|
969
|
dialogFormVisibleTwo: false,
|
陈嘉新
authored
|
970
971
972
973
974
975
976
|
name: "",
options: [
{
value: "",
label: "全部",
},
],
|
陈嘉新
authored
|
977
|
optionsAdd: [],
|
陈嘉新
authored
|
978
979
980
981
|
optionsAddEnter: [],
optionsAddSRM: [],
optionsAddSRMOut: [],
|
陈嘉新
authored
|
982
983
984
985
986
|
optionsCommitd: [],
optionsStatus: [],
optionsStage: [],
optionsDevice: [],
optionsPick: [],
|
陈嘉新
authored
|
987
988
989
990
991
992
|
//维护起点站台
optionsFrom: [],
optionsTo: [],
//当前堆垛机
optionsARM: [],
optionsFork: [],
|
陈嘉新
authored
|
993
994
995
996
997
998
|
form: {
startTime: this.$moment()
.subtract(7, "days")
.format("YYYY-MM-DD 00:00:00"),
endTime: this.$moment().add(1, "days").format("YYYY-MM-DD 23:59:59"),
},
|
陈嘉新
authored
|
999
|
multipleSelection: [],
|
陈嘉新
authored
|
1000
1001
1002
1003
1004
1005
|
maintenanceID: null,
typeData: [
{ code: "In", name: "入库" },
{ code: "Out", name: "出库" },
{ code: "InStore", name: "库内" },
],
|
陈嘉新
authored
|
1006
|
userCode: "",
|
陈嘉新
authored
|
1007
|
export: "http://localhost:5221/api/SRMTask/ExportSRMTask",
|
|
1008
|
};
|
|
1009
1010
|
},
created() {
|
陈嘉新
authored
|
1011
|
this.fetchData("SRMTaskStatus");
|
陈嘉新
authored
|
1012
|
this.btnAction();
|
陈嘉新
authored
|
1013
|
this.userCode = this.$store.state.user.name;
|
|
1014
|
},
|
陈嘉新
authored
|
1015
1016
1017
1018
1019
|
computed: {
TableHeight() {
return `calc(100vh - 200px )`;
},
},
|
|
1020
|
methods: {
|
陈嘉新
authored
|
1021
|
//回传
|
陈嘉新
authored
|
1022
|
getOne(data, key) {
|
陈嘉新
authored
|
1023
|
this.optionsCommitd = [];
|
陈嘉新
authored
|
1024
1025
1026
1027
|
this.optionsFrom = [];
this.optionsTo = [];
this.optionsARM = [];
this.optionsFork = [];
|
陈嘉新
authored
|
1028
1029
1030
1031
1032
|
let params = { Code: data };
getHostType(params).then((response) => {
response.data.dictDetails.forEach((x) => {
if (data == "CommitFlags") {
this.optionsCommitd.push({ value: x.code, label: x.name });
|
陈嘉新
authored
|
1033
|
} else if (data == "SRMTaskStatus") {
|
陈嘉新
authored
|
1034
1035
|
this.optionsStatus.push({ value: x.code, label: x.name });
} else if (data == "SRMInStation") {
|
陈嘉新
authored
|
1036
|
this.optionsFrom.push({ value: x.code, label: x.name });
|
陈嘉新
authored
|
1037
|
} else if (data == "SRMInOrOutStation") {
|
陈嘉新
authored
|
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
|
if (key == 1) {
this.optionsFrom.push({ value: x.code, label: x.name });
} else {
this.optionsTo.push({ value: x.code, label: x.name });
}
} else if (data == "SRMOutStation") {
this.optionsTo.push({ value: x.code, label: x.name });
} else if (data == "SRM") {
this.optionsARM.push({ value: x.code, label: x.name });
} else if (data == "ForkFlags") {
this.optionsFork.push({ value: x.code, label: x.name });
if (this.optionsFork.length > 0) {
this.optionsFork.srmCode = this.optionsFork[0].value;
}
|
陈嘉新
authored
|
1052
1053
1054
1055
|
}
});
});
},
|
陈嘉新
authored
|
1056
1057
1058
|
btnAction() {
this.getTableList();
},
|
陈嘉新
authored
|
1059
|
//新增按钮
|
陈嘉新
authored
|
1060
|
btnAdd() {
|
陈嘉新
authored
|
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
|
this.optionsAdd = [];
this.optionsAddEnter = [];
this.optionsAddSRM = [];
this.optionsAddSRMOut = [];
this.fetchData("SRMTaskType", 1);
this.fetchData("SRMInStation", 1);
this.fetchData("SRMInOrOutStation", 1);
this.fetchData("SRM", 1);
this.fetchData("SRMOutStation", 1);
this.fetchData("SRMInOrOutStation", 2);
|
陈嘉新
authored
|
1071
1072
|
this.dialogFormVisible = true;
},
|
陈嘉新
authored
|
1073
1074
1075
|
//新增创建按钮
taskAdd() {
const params = this.elAddDialog;
|
陈嘉新
authored
|
1076
|
CreateSRMTask(params).then((response) => {
|
陈嘉新
authored
|
1077
|
if (response.code == "Success") {
|
陈嘉新
authored
|
1078
|
this.getTableList();
|
陈嘉新
authored
|
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
|
this.$message({
message: "恭喜你,这是一条成功消息",
type: "success",
});
}
});
},
//删除按钮
deleteData() {
if (this.multipleSelection.length == 0) {
this.$alert("请选择最少一条数据!", "标题名称", {
confirmButtonText: "确定",
});
} else {
let prams = [];
this.multipleSelection.forEach((x) => {
prams.push(x.id);
});
|
陈嘉新
authored
|
1097
|
DeleteSRMTaskByIds(prams).then((response) => {
|
陈嘉新
authored
|
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
|
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
}
},
//下发按钮
issued() {
if (this.multipleSelection.length == 0) {
this.$alert("请选择最少一条数据!", "标题名称", {
confirmButtonText: "确定",
});
} else {
let prams = [];
this.multipleSelection.forEach((x) => {
prams.push(x.id);
});
SendTaskToWCS(prams).then((response) => {
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
}
},
//导出按钮
ExportList() {
const params = {
pageNumber: this.queryConfig.currentPage,
perPageCount: this.queryConfig.pageSize,
|
陈嘉新
authored
|
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
|
queryConfig: {
taskNo: this.queryConfig.taskNo,
remoteTaskId: this.queryConfig.remoteTaskId,
fromLocationCode: this.queryConfig.fromLocationCode,
toLocationCode: this.queryConfig.toLocationCode,
fromStationCode: this.queryConfig.fromStationCode,
toStationCode: this.queryConfig.toStationCode,
status: this.queryConfig.status,
containerCode: this.queryConfig.containerCode,
begin: this.form.startTime,
end: this.form.endTime,
},
|
陈嘉新
authored
|
1147
|
};
|
陈嘉新
authored
|
1148
1149
1150
|
let text = "堆垛机任务数据.xlsx";
// 调用下载函数
downloadFile(this.export, params, text);
|
陈嘉新
authored
|
1151
1152
|
},
//获取表格行数据
|
陈嘉新
authored
|
1153
1154
1155
1156
|
handleSelectionChange(val) {
this.multipleSelection = val;
},
// 状态数据
|
陈嘉新
authored
|
1157
1158
1159
1160
|
fetchData(data, key) {
let params = {
Code: data,
};
|
陈嘉新
authored
|
1161
1162
|
getHostType(params).then((response) => {
response.data.dictDetails.forEach((x) => {
|
陈嘉新
authored
|
1163
|
if (data == "SRMTaskType") {
|
陈嘉新
authored
|
1164
1165
|
this.optionsAdd.push({ value: x.code, label: x.name });
if (this.optionsAdd.length > 0) {
|
陈嘉新
authored
|
1166
|
this.elAddDialog.type = this.optionsAdd[0].value;
|
陈嘉新
authored
|
1167
|
}
|
陈嘉新
authored
|
1168
|
} else if (data == "SRMTaskStatus") {
|
陈嘉新
authored
|
1169
|
this.options.push({ value: x.code, label: x.name });
|
陈嘉新
authored
|
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
|
} else if (data == "SRMInStation") {
this.optionsAddEnter.push({ value: x.code, label: x.name });
} else if (data == "SRMInOrOutStation") {
if (key == 1) {
this.optionsAddEnter.push({ value: x.code, label: x.name });
} else {
this.optionsAddSRMOut.push({ value: x.code, label: x.name });
}
} else if (data == "SRM") {
this.optionsAddSRM.push({ value: x.code, label: x.name });
if (this.optionsAddSRM.length > 0) {
this.elAddDialog.srmCode = this.optionsAddSRM[0].value;
}
} else if (data == "SRMOutStation") {
this.optionsAddSRMOut.push({ value: x.code, label: x.name });
|
陈嘉新
authored
|
1185
|
}
|
陈嘉新
authored
|
1186
|
});
|
|
1187
1188
|
});
},
|
陈嘉新
authored
|
1189
1190
1191
1192
1193
|
// 表格数据
getTableList() {
const params = {
pageNumber: this.queryConfig.currentPage,
perPageCount: this.queryConfig.pageSize,
|
陈嘉新
authored
|
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
|
queryConfig: {
taskNo: this.queryConfig.taskNo,
remoteTaskId: this.queryConfig.remoteTaskId,
fromLocationCode: this.queryConfig.fromLocationCode,
toLocationCode: this.queryConfig.toLocationCode,
fromStationCode: this.queryConfig.fromStationCode,
toStationCode: this.queryConfig.toStationCode,
status: this.queryConfig.status,
containerCode: this.queryConfig.containerCode,
begin: this.form.startTime,
end: this.form.endTime,
},
|
陈嘉新
authored
|
1206
|
};
|
陈嘉新
authored
|
1207
|
this.listLoading = true;
|
陈嘉新
authored
|
1208
|
GetSRMTasks(params).then((response) => {
|
陈嘉新
authored
|
1209
|
this.total = response.data.totalCount;
|
陈嘉新
authored
|
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
|
response.data.data.forEach((x) => {
switch (x.type) {
case 1:
x.type = "入库";
break;
case 2:
x.type = "出库";
break;
case 4:
x.type = "移库";
break;
case 8:
x.type = "换站";
break;
case 16:
x.type = "行走";
break;
default:
break;
}
switch (x.commitFlag) {
case 0:
x.commitFlag = "未提交";
break;
case 1:
x.commitFlag = "已提交";
break;
case 2:
x.commitFlag = "无需提交";
break;
case 3:
x.commitFlag = "提交失败";
break;
default:
break;
}
switch (x.status) {
case 0:
x.status = "创建";
break;
case 10:
x.status = "下发堆垛机库内取货";
break;
case 20:
x.status = "响应堆垛机库内取货完成";
break;
case 30:
x.status = "下发堆垛机库外放货";
break;
case 40:
x.status = "响应堆垛机库外放货完成";
break;
case 50:
x.status = "下发堆垛机库外取货";
break;
case 60:
x.status = "响应堆垛机库外取货完成";
break;
case 70:
x.status = "下发堆垛机库内放货";
break;
case 80:
x.status = "响应堆垛机库内放货完成";
break;
case 90:
x.status = "下发堆垛机行走";
break;
case 91:
x.status = "下发堆垛机入库任务";
break;
case 92:
x.status = "下发堆垛机出库任务";
break;
case 93:
x.status = "下发堆垛机库内移库";
break;
case 94:
x.status = "下发堆垛机换站任务";
break;
case 100:
x.status = "任务未完成";
break;
case 110:
x.status = "任务异常结束";
break;
default:
break;
}
});
|
陈嘉新
authored
|
1299
|
this.sysTable = response.data.data;
|
陈嘉新
authored
|
1300
|
this.listLoading = false;
|
陈嘉新
authored
|
1301
1302
|
});
},
|
陈嘉新
authored
|
1303
1304
1305
1306
1307
1308
1309
|
// 强制完成按钮
forceComplete() {
if (this.multipleSelection.length == 1) {
let prams = {
id: this.multipleSelection[0].id,
};
|
陈嘉新
authored
|
1310
|
CompleteSRMTask(prams).then((response) => {
|
陈嘉新
authored
|
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
|
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
} else {
this.elAlert();
}
},
// 维护按钮
maintenance() {
if (this.multipleSelection.length == 1) {
this.getOne("CommitFlags");
|
陈嘉新
authored
|
1327
1328
|
this.getOne("SRMTaskStatus");
this.getOne("SRMInOrOutStation", 1);
|
陈嘉新
authored
|
1329
1330
|
this.getOne("SRMInStation");
this.getOne("SRMOutStation");
|
陈嘉新
authored
|
1331
1332
1333
|
this.getOne("SRMInOrOutStation", 2);
this.getOne("SRM");
this.getOne("ForkFlags");
|
陈嘉新
authored
|
1334
1335
1336
|
let params = {
id: this.multipleSelection[0].id,
};
|
陈嘉新
authored
|
1337
|
GetSRMTaskById(params).then((response) => {
|
陈嘉新
authored
|
1338
|
if (response.code == "Success") {
|
陈嘉新
authored
|
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
|
switch (response.data.forkFlag) {
case 0:
response.data.forkFlag = "None";
break;
case 1:
response.data.forkFlag = "Fork1";
break;
case 2:
response.data.forkFlag = "Fork2";
break;
case 2:
response.data.forkFlag = "Fork12";
break;
default:
break;
}
switch (response.data.commitFlag) {
case 0:
response.data.commitFlag = "Uncommited";
break;
case 1:
response.data.commitFlag = "Commited";
break;
case 2:
response.data.commitFlag = "UnNeedCommit";
break;
case 3:
response.data.commitFlag = "CommitFailure";
break;
default:
break;
}
switch (response.data.status) {
case 0:
response.data.status = "Create";
break;
case 10:
response.data.status = "SendSRMInsideGet";
break;
case 20:
response.data.status = "ResponseSRMInsideGetCompleted";
break;
case 30:
response.data.status = "SendSRMOutsidePut";
break;
case 40:
response.data.status = "ResponseSRMOutsidePutCompleted";
break;
case 50:
response.data.status = "SendSRMOutsideGet";
break;
case 60:
response.data.status = "ResponseSRMOutsideGetCompleted";
break;
case 70:
response.data.status = "SendSRMInsidePut";
break;
case 80:
response.data.status = "ResponseSRMInsidePutCompleted";
break;
case 90:
response.data.status = "SendWalking";
break;
case 91:
response.data.status = "SendSSRMIn";
break;
case 92:
response.data.status = "SendSSRMOut";
break;
case 93:
response.data.status = "SendSSRMInsideShifting";
break;
case 94:
response.data.status = " SendSSRMToStation";
break;
case 100:
response.data.status = "TaskCompleted";
break;
case 110:
response.data.status = "TaskErrorCompleted";
break;
default:
break;
}
|
陈嘉新
authored
|
1423
1424
1425
1426
1427
1428
1429
1430
|
this.elMaintenance = response.data;
this.dialogFormVisibleTwo = true;
}
});
} else {
this.elAlert();
}
},
|
陈嘉新
authored
|
1431
1432
|
handleSizeChange(val) {
this.queryConfig.pageSize = val;
|
陈嘉新
authored
|
1433
|
this.queryConfig.currentPage = 1;
|
陈嘉新
authored
|
1434
1435
1436
1437
1438
|
this.getTableList();
},
handleCurrentChange(val) {
this.queryConfig.currentPage = val;
|
陈嘉新
authored
|
1439
1440
|
this.getTableList();
},
|
陈嘉新
authored
|
1441
1442
1443
1444
1445
1446
|
elAlert() {
this.$alert("请选择一条数据!", "标题名称", {
confirmButtonText: "确定",
});
},
reset() {
|
陈嘉新
authored
|
1447
|
this.maintenance();
|
陈嘉新
authored
|
1448
|
},
|
陈嘉新
authored
|
1449
1450
1451
|
close() {
this.getTableList();
this.dialogFormVisibleTwo = false;
|
陈嘉新
authored
|
1452
|
},
|
陈嘉新
authored
|
1453
|
//前置堆垛机修改
|
陈嘉新
authored
|
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
|
preSRMTaskEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.preSRMTaskId,
userCode: this.userCode,
};
SRMPreRemoteTaskEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1466
|
//优先级
|
陈嘉新
authored
|
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
|
priorityEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.priorit,
userCode: this.userCode,
};
SRMPriorityEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1479
|
//任务状态
|
陈嘉新
authored
|
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
|
statusEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.status,
userCode: this.userCode,
};
SRMStatusEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1492
|
//起点库位
|
陈嘉新
authored
|
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
|
fromEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.fromLocationCode,
userCode: this.userCode,
};
FromLocationCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1505
|
//终点库位
|
陈嘉新
authored
|
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
|
toEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.toLocationCode,
userCode: this.userCode,
};
ToLocationCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1518
|
//起点站台
|
陈嘉新
authored
|
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
|
fromStationEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elAddDialog.fromStationCode,
userCode: this.userCode,
};
FromStationCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1531
|
//终点站台
|
陈嘉新
authored
|
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
|
toStationEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elAddDialog.toStationCode,
userCode: this.userCode,
};
ToStationCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1544
|
//终点站台组
|
陈嘉新
authored
|
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
|
toStationCodesEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.toStationCodes,
userCode: this.userCode,
};
ToStationCodesEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1557
|
//当前堆垛机
|
陈嘉新
authored
|
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
|
srmCodeEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.srmCode,
userCode: this.userCode,
};
SRMCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1570
|
//当前货叉
|
陈嘉新
authored
|
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
|
forkFlagEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.forkFlag,
userCode: this.userCode,
};
ForkFlagEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1583
|
//任务回传
|
陈嘉新
authored
|
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
|
commitFlagEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.commitFlag,
userCode: this.userCode,
};
SRMCommitEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1596
|
//长
|
陈嘉新
authored
|
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
|
lengthEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.length,
userCode: this.userCode,
};
SRMLengthEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1609
|
//宽
|
陈嘉新
authored
|
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
|
widthEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.width,
userCode: this.userCode,
};
SRMWidthEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1622
|
//高
|
陈嘉新
authored
|
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
|
heightEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.height,
userCode: this.userCode,
};
SRMHeightEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1635
|
//重
|
陈嘉新
authored
|
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
|
weightEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.weight,
userCode: this.userCode,
};
SRMWeightEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1648
|
//物料类型
|
陈嘉新
authored
|
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
|
goodsTypeEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.goodsType,
userCode: this.userCode,
};
SRMGoodsTypeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1661
|
//是否空出
|
陈嘉新
authored
|
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
|
isEmptyOutEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.isEmptyOut,
userCode: this.userCode,
};
IsEmptyOutEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1674
|
//是否取货错
|
陈嘉新
authored
|
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
|
isForkErrorEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.isForkError,
userCode: this.userCode,
};
IsForkErrorEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1687
|
//重发标记
|
陈嘉新
authored
|
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
|
sendAgainEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.sendAgain,
userCode: this.userCode,
};
SendAgainEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1700
|
//是否满入
|
陈嘉新
authored
|
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
|
isDoubleInEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.isDoubleIn,
userCode: this.userCode,
};
IsDoubleInEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
|
陈嘉新
authored
|
1713
|
//满入库位
|
陈嘉新
authored
|
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
|
reToLocationEdit() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.reToLocationCode,
userCode: this.userCode,
};
ReToLocationCodeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
messge(response) {
this.$message({
message: response.msg,
type: "success",
});
},
|
陈嘉新
authored
|
1732
1733
|
close() {
this.getTableList();
|
陈嘉新
authored
|
1734
|
this.dialogFormVisible = false;
|
陈嘉新
authored
|
1735
1736
|
this.dialogFormVisibleTwo = false;
},
|
|
1737
1738
|
},
};
|
|
1739
|
</script>
|
陈嘉新
authored
|
1740
|
<style lang="scss">
|
陈嘉新
authored
|
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
|
/* 自定义滚动条样式 */
.el-table__body-wrapper {
overflow: auto; /* 使表格内容可滚动 */
}
.el-table__body-wrapper::-webkit-scrollbar {
height: 8px; /* 设置滚动条高度 */
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #c0c4cc; /* 滚动条颜色 */
border-radius: 4px; /* 滚动条圆角 */
}
.el-table__body-wrapper::-webkit-scrollbar-track {
background: #f5f7fa; /* 滚动条轨道颜色 */
}
|
陈嘉新
authored
|
1758
1759
1760
1761
1762
1763
1764
1765
|
.app-container-father {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
display: flex;
.dv-container-left {
width: 20%;
|
陈嘉新
authored
|
1766
|
// background-color: #eeeeee;
|
陈嘉新
authored
|
1767
1768
1769
1770
|
height: 85vh;
box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
overflow: auto;
}
|
陈嘉新
authored
|
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
|
/* 自定义滚动条样式 */
.dv-container-left::-webkit-scrollbar {
width: 8px; /* 设置滚动条的宽度 */
}
.dv-container-left::-webkit-scrollbar-thumb {
background-color: #c0c4cc; /* 滚动条的颜色 */
border-radius: 4px; /* 滚动条的圆角 */
}
.dv-container-left::-webkit-scrollbar-track {
background: #f5f7fa; /* 滚动条轨道的颜色 */
}
|
陈嘉新
authored
|
1784
1785
1786
1787
1788
1789
1790
1791
1792
|
.dv-container-right {
width: 79%;
height: 88vh;
margin-left: 1%;
.pagination-container {
text-align: center; /* 使分页组件靠右 */
margin-top: 20px; /* 添加顶部间距 */
}
}
|
陈嘉新
authored
|
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
|
.containerTwo {
width: 100%;
border: 1px solid #ccc; /* 大 div 的边框 */
overflow: auto;
margin-top: -30px;
.dv-title {
height: 30px; /* 第一个子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
font-weight: 700;
}
.dv-maintenance-text {
width: 35%;
height: 100%;
display: flex;
justify-content: flex-end; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
.dv-maintenance-text2 {
width: 35%;
height: 100%;
display: flex;
justify-content: center; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
.dv-maintenance-text3 {
width: 30%;
height: 100%;
display: flex;
justify-content: center; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
}
.box1 {
width: 100%;
height: 50px; /* 修改后的高度 */
display: flex; /* 使用 Flexbox */
flex-wrap: wrap; /* 超出换行 */
align-items: center; /* 垂直居中对齐 */
}
.box2 {
width: 100%;
display: flex; /* 使用 Flexbox */
flex-wrap: wrap; /* 超出换行 */
align-items: center; /* 垂直居中对齐 */
.small-box {
width: 50%; /* 每个小 div 的宽度 */
box-sizing: border-box; /* 包含边框和内边距 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
.inner-box2 {
|
陈嘉新
authored
|
1846
|
height: 130px; /* 第二个子 div 的高度 */
|
陈嘉新
authored
|
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
|
display: flex; /* 使用 Flexbox */
flex-direction: column; /* 垂直排列子 div */
}
.inner-inner-box1 {
height: 45%; /* 第一个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.inner-inner-box2 {
height: 50%; /* 第二个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.inner-inner-box3 {
height: 100%; /* 第三个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
}
}
.box3 {
width: 70%;
margin: auto;
.dv-maintenance1 {
width: 100%;
height: 30px;
display: flex;
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
.dv-maintenance2 {
width: 100%;
height: 50px;
display: flex;
border: 1px solid #ccc; /* 大 div 的边框 */
.dv-maintenance2-left {
width: 50%;
height: 100%;
display: flex;
}
.dv-maintenance2-right {
width: 50%;
height: 100%;
display: flex;
}
}
.dv-maintenance3 {
width: 100%;
height: 50px;
display: flex;
border: 1px solid #ccc; /* 大 div 的边框 */
.dv-maintenance3-left {
width: 50%;
height: 100%;
display: flex;
}
.dv-maintenance3-right {
width: 50%;
height: 100%;
display: flex;
}
}
.dv-maintenance4 {
width: 50%;
height: 50px;
margin: auto;
display: flex; /* 使用 Flexbox */
justify-content: center; /* 内容靠左 */
align-items: center; /* 垂直居中对齐 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
}
|
陈嘉新
authored
|
1920
1921
1922
1923
1924
|
/* 修改复选框大小 */
.el-table .el-checkbox {
transform: scale(1.8) !important; /* 调整大小 */
margin-top: 5px;
}
|
陈嘉新
authored
|
1925
1926
1927
|
.T1 {
border: 1px solid #b3d8ff;
}
|
陈嘉新
authored
|
1928
1929
|
}
</style>
|