|
1
2
3
4
5
6
7
|
<template>
<div class="container-div">
<div class="row">
<div class="col-sm-12 select-info">
<form id="container-form">
<div class="select-list">
<ul id="select_info">
|
|
8
|
|
|
9
|
<li>
|
|
10
11
12
13
14
15
16
17
18
19
20
21
|
货主
<a-select
show-search
placeholder="请选择库位类型"
option-filter-prop="children"
v-model="zoneCode"
style="width: 200px">
<a-select-option selected="0" id="zoneCode" v-for="item in locationTypeList" :key="item.name" :value="item.code">{{
item.name
}}
</a-select-option>
</a-select>
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
</li>
<li>
第
<select id="editable-num" name="num" style="width: 70px">
</select>
</li>
<li>
<select id="editable-select" name="col" style="width: 70px">
<option value="row" selected>行</option>
<option value="line">列</option>
<option value="layer">层</option>
</select>
</li>
<li>
|
|
36
|
<a-button type="primary" @click="Search()" icon="search">查询</a-button>
|
|
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
|
</li>
</ul>
</div>
</form>
</div>
<div class="col-sm-12 select-info">
<form id="receiptHeader-form">
<div class="select-list">
<ul id="img_list" style="">
<li>
空柜空闲:<img src="~@/assets/icon/空柜空闲.png">
</li>
<li>
空盘空闲:<img src="~@/assets/icon/空盘空闲.png">
</li>
<li>
半盘空闲:<img src="~@/assets/icon/半盘空闲.png">
</li>
<li>
整盘空闲:<img src="~@/assets/icon/整盘空闲.png">
</li>
<li>
空柜锁定:<img src="~@/assets/icon/空柜锁定.png">
</li>
<li>
空盘锁定:<img src="~@/assets/icon/空盘锁定.png">
</li>
<li>
半盘锁定:<img src="~@/assets/icon/半盘锁定.png">
</li>
<li>
整盘锁定:<img src="~@/assets/icon/整盘锁定.png">
</li>
<li>
空柜禁用:<img src="~@/assets/icon/空柜禁用.png">
</li>
<li>
空盘禁用:<img src="~@/assets/icon/空盘禁用.png">
</li>
<li>
半盘禁用:<img src="~@/assets/icon/半盘禁用.png">
</li>
<li>
整盘禁用:<img src="~@/assets/icon/整盘禁用.png">
</li>
<li><span style="font-size: 12px">库位统计情况:</span>
<input style="width: 400px; font-size: 12px" type="text" id="zone" disabled/>
</li>
</ul><br><br>
<ul id="info_list">
<li><span>库位:</span><input type="text" id="code" disabled/></li>
<li><span>容器编码:</span><input type="text" id="containerCode" disabled/></li>
<li><span>物料信息:<select id="material" style="width: auto"><option>无</option></select></span></li>
</ul>
</div>
</form>
</div>
|
|
94
|
|
|
95
96
|
<div class="col-sm-12 select-info">
<div id="borderCol" style="overflow-y: scroll;white-space:nowrap">
|
|
97
|
<a-spin tip="等待加载中..." :spinning="spinning">
|
|
98
99
|
<div class="location" id="location">
</div>
|
|
100
|
</a-spin>
|
|
101
102
|
</div>
</div>
|
|
103
|
|
|
104
105
106
|
</div>
</div>
</template>
|
|
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
|
<script>
var prefix = "/location/locationMonitor";
var grid_row;
var grid_row_first;
var grid_line;
var grid_layer;
var list_info;
var grid_num_1=0;
var grid_num_2=0;
var grid_num_3=0;
var grid_num_4=0;
var grid_num_5=0;
var grid_num_6=0;
var grid_num_7=0;
var grid_num_8=0;
var grid_num_9=0;
var grid_num_10=0;
var grid_num_11=0;
var grid_num_12=0;
var currentContainerCode;
var currentLocationCode=0;
var currentMaterialCode=0;
import huahengUI from '../../../assets/css/huahengUI.css'
import $ from '../../../assets/js/jquery-1.11.1.min'
import grid_rest from '@/assets/icon/空柜空闲.png'
import grid_empty from '@/assets/icon/空盘空闲.png'
import grid_half from '@/assets/icon/半盘空闲.png'
import grid_all from '@/assets/icon/整盘空闲.png'
import grid_emp_waing from '@/assets/icon/空柜禁用.png'
import grid_empty_waring from '@/assets/icon/空盘禁用.png'
import grid_half_waring from '@/assets/icon/半盘禁用.png'
import grid_all_waring from '@/assets/icon/整盘禁用.png'
import grid_emp_lock from '@/assets/icon/空柜锁定.png'
import grid_empty_lock from '@/assets/icon/空盘锁定.png'
import grid_half_lock from '@/assets/icon/半盘锁定.png'
import grid_all_lock from '@/assets/icon/整盘锁定.png'
import rel_empty from '@/assets/icon/空.png'
|
|
146
147
148
149
150
151
|
import Vue from 'vue'
import {ACCESS_TOKEN} from "@/store/mutation-types"
import {getLocationTypeList} from '@/api/api'
|
|
152
153
154
155
156
|
export default {
name: "locationStatus",
|
|
157
|
zoneCode:"",
|
|
158
|
data() {
|
|
159
160
161
162
163
164
165
|
return {
spinning:true,
zoneCode:'',
locationTypeList: [],
model:{},
locationContent:''
}
|
|
166
167
|
},
|
|
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
// setup() {
// const spinning = ref<boolean>(false);
//
// const changeSpinning = () => {
// spinning.value = !spinning.value;
// };
created() {
let _this=this
_this.loadFrom()
window.gridMsg=_this.gridMsg
window.Mclose=_this.Mclose
window.lays=_this.lays
},
mounted() {
//监听浏览器宽度的改变
|
|
188
189
190
191
192
193
194
195
196
197
|
// window.onresize = function(){
// _this.changeMargin();
// _this.border()
// };
//
// this.changeMargin();
//
// this.border()
},
methods: {
|
|
198
199
200
201
202
203
204
205
206
207
208
|
loadFrom() {
getLocationTypeList().then((res) => {
if (res.success) {
this.locationTypeList = res.result
this.zoneCode = this.locationTypeList[0].code;
let _this=this;
this.resetAjax("L");
}
})
},
|
|
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
|
initEvent(){
//库位类型和行列层选择
$("#editable-select").change(function () {
let num=$("#editable-select").val();
$("#editable-num").children().remove();
if (num === "row") {
for (let i = grid_row_first; i <= grid_row; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
else if (num === "line") {
for (let i = 1; i <= grid_line; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
else if (num === "layer") {
for (let i = 1; i <= grid_layer; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
});
$("#zoneCode").change(function () {
let type=$("#zoneCode").val();
this.resetAjax(type);
});
},
//边框高度
border() {
let box_height=$("#borderCol").offset().top;
let window_height=$(window).height()-20;
$("#borderCol").css({"height":window_height-box_height});
},
//格子宽度
changeMargin(){
let box_width=document.getElementById("location").offsetWidth;
box_width=box_width-80;
let num=$("#editable-select").val();
let grid_width;
if (num === "layer" || num === "row") {
grid_width=box_width/grid_line;
}
else if (num === "line") {
grid_width=box_width/grid_row;
}
if (grid_width >= 50) {
$(".grid").css({"width":"50px","height":"50px"});
}
else if (grid_width <= 20) {
$(".grid").css({"width":"20px","height":"20px"});
}
else {
$(".grid").css({"width":grid_width,"height":grid_width});
}},
//tips信息
lays(x){
let $j=$(x);
let row=$j.attr("data-i");
let line=$j.attr("data-j");
let layers=$j.attr("data-k");
row=parseInt(row);
line=parseInt(line);
layers=parseInt(layers);
if (list_info) {
for (let i = 0; i < list_info.length; i++) {
if (list_info[i].row === row && list_info[i].icolumn === line && list_info[i].layer === layers) {
let str_info='';
let container_code='';
let list_qty=0;
if (list_info[i].containerCode) {
container_code="<br>容器编码:"+ list_info[i].containerCode+"";
if (list_info[i].materialName) {
for (let j = 0; j < list_info[i].materialName.length; j++) {
let list_batch=list_info[i].batch[j]===null?"无":list_info[i].batch[j]===""?"无":list_info[i].batch[j];
list_qty +=list_info[i].qty[j];
if(j==list_info[i].materialName.length-1){
str_info=str_info + "<br>批次:"+ list_batch +",物料名称:"+ list_info[i].materialName[j] +",物料编码:"+ list_info[i].materialCode[j] +
",数量:"+ list_qty +""
}
}
}
}
let code=list_info[i].code===null?"无":list_info[i].code;
|
|
298
299
300
301
302
|
this.locationContent="第"+row+"行,第"+line+"列,第"+ layers +"层<br>库位:"+ code + container_code + str_info;
// Vue.prototype.$Jnotification.success({message: '系统提示', description: "第"+row+"行,第"+line+"列,第"+ layers +"层<br>库位:"+ code + container_code + str_info, duration: 4})
|
|
303
304
305
306
307
308
309
310
311
|
}
}
}else {return ""}
},
//关闭tips
Mclose(x){
//关闭
|
|
312
|
// Vue.prototype.$Jnotification.error({message: '系统提示', description: "鼠标拿走了", duration: 4})
|
|
313
314
315
316
317
318
319
|
},
//库位信息请求和状态显示
ajaxGrid(x, info) {
let _this=this
// let load=layer.msg('加载中', {icon: 16,shade: 0.4,time: false});
$.ajax({
|
|
320
|
url:window._CONFIG['domianURL']+prefix+"/getLocationInfo",
|
|
321
322
|
type:"post",
headers:{
|
|
323
|
"X-Access-Token":Vue.ls.get(ACCESS_TOKEN)
|
|
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
|
},
data:info,
success:function (res) {
if (res.code===200||res.result) {
grid_num_1 = 0;
grid_num_2 = 0;
grid_num_3 = 0;
grid_num_4 = 0;
grid_num_5 = 0;
grid_num_6 = 0;
grid_num_7 = 0;
grid_num_8 = 0;
grid_num_9 = 0;
grid_num_10 = 0;
grid_num_11 = 0;
grid_num_12 = 0;
if (x === "row") {
for (let i = 0; i < res.result.length; i++) {
let index=res.result[i].icolumn+((res.result[i].layer-1)*grid_line);
index=index-1;
_this.resShow(res,index,i);
}
_this.clearLocation(grid_line,grid_layer);
// layer.close(load);
}
else if (x === "line") {
for (let i = 0; i < res.result.length; i++) {
let index=res.result[i].row+((res.result[i].layer-1)*grid_row);
index=index-1;
_this.resShow(res,index,i);
}
_this.clearLocation(grid_row,grid_layer);
// layer.close(load);
}
else if (x === "layer") {
for (let i = 0; i < res.result.length; i++) {
let index=res.result[i].icolumn+((res.result[i].row-1)*grid_line);
index=index-1;
_this.resShow(res,index,i);
}
_this.clearLocation(grid_line,grid_row);
// layer.close(load);
}
}
else if (res.code!==200) {
// layer.close(load);
// layer.open({
// title: '错误',
// content: res.msg
// });
}
list_info=res.result;
},
error:function (req, msg) {
console.log(msg);
}
})
},
//库位请求的结果显示
resShow(res, index ,i) {
|
|
386
|
debugger
|
|
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
479
480
481
482
483
484
485
486
487
|
// if (res.result[i].deleted === false) {
var row=res.result[i].row;
var jColumn=res.result[i].icolumn;
var kLayer=res.result[i].layer;
if (res.result[i].locationAttribute === "1") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_rest, "isTrue": 1});
grid_num_1 = grid_num_1 + 1;
} else if (res.result[i].locationAttribute === "2") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_empty, "isTrue": 1});
grid_num_2 = grid_num_2 + 1;
} else if (res.result[i].locationAttribute === "3") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_half, "isTrue": 1});
grid_num_3 = grid_num_3 + 1;
} else if (res.result[i].locationAttribute === "4") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_all, "isTrue": 1});
grid_num_4 = grid_num_4 + 1;
} else if (res.result[i].locationAttribute === "5") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_emp_lock, "isTrue": 1});
grid_num_5 = grid_num_5 + 1;
} else if (res.result[i].locationAttribute === "6") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_empty_lock, "isTrue": 1});
grid_num_6 = grid_num_6 + 1;
} else if (res.result[i].locationAttribute === "7") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_half_lock, "isTrue": 1});
grid_num_7 = grid_num_7 + 1;
} else if (res.result[i].locationAttribute === "8") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_all_lock, "isTrue": 1});
grid_num_8 = grid_num_8 + 1;
} else if (res.result[i].locationAttribute === "9") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_emp_waing, "isTrue": 1});
grid_num_9 = grid_num_9 + 1;
} else if (res.result[i].locationAttribute === "10") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_empty_waring, "isTrue": 1});
grid_num_10 = grid_num_10 + 1;
} else if (res.result[i].locationAttribute === "11") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_half_waring, "isTrue": 1});
grid_num_11 = grid_num_11 + 1;
} else if (res.result[i].locationAttribute === "12") {
$("[data-i='"+row+"']"+"[data-j='"+jColumn+"']"+"[data-k='"+kLayer+"']").attr({"src": grid_all_waring, "isTrue": 1});
grid_num_12 = grid_num_12 + 1;
}
// }
// else if (res.result[i].deleted === true) {
// $(".grid").eq(i).attr({"src": rel_empty, "onmouseover": "", "onclick": ""});
// }
},
//清除将数据库中没有的库位
clearLocation(x, y) {
for (let j = 0; j < x * y; j++) {
let sta=$(".grid").eq(j).attr("isTrue");
if (sta !== "1") {
$(".grid").eq(j).attr({"src": rel_empty,"onmouseover": "","onclick": ""});
}
}
},
//点击显示当前库位信息
gridMsg(msg) {
let $j=$(msg);
let row=$j.attr("data-i");
let line=$j.attr("data-j");
let layers=$j.attr("data-k");
row=parseInt(row);
line=parseInt(line);
layers=parseInt(layers);
if (list_info) {//缓存查询
for (let i = 0; i < list_info.length; i++) {
if (list_info[i].row === row && list_info[i].icolumn === line && list_info[i].layer === layers) {
if (list_info[i].materialName) {
let list_batch='';
let list_qty=0;
$("#material").children().remove();
for (let j = 0; j < list_info[i].materialName.length; j++) {
list_batch=list_info[i].batch[j]===null?"无":list_info[i].batch[j]===""?"无":list_info[i].batch[j];
list_qty +=list_info[i].qty[j];
let str_info="批次:"+ list_batch +"/ 物料名称:"+ list_info[i].materialName[j] +"/ 物料编码:"+ list_info[i].materialCode[j] +
"/ 数量:"+ list_qty +"";
if (j==list_info[i].materialName.length-1){
$("#material").append("<option>"+ str_info +"</option>");
}
currentMaterialCode = list_info[i].materialCode[j]
}
}
else {
$("#material").children().remove();
$("#material").append("<option>无</option>");
}
$("#code").val(list_info[i].code);
$("#containerCode").val(list_info[i].containerCode===""?"无":list_info[i].containerCode);
currentContainerCode = $("#containerCode").val()
currentLocationCode = $("#code").val()
}
}
}else {return ""}
},
//页面初始化请求
resetAjax(type){
var _this=this;
$.ajax({
|
|
488
|
url:window._CONFIG['domianURL']+prefix+"/getAllLocation",
|
|
489
490
491
492
493
|
type:"post",
data:{
type:type
},
headers:{
|
|
494
|
"X-Access-Token":Vue.ls.get(ACCESS_TOKEN)
|
|
495
496
497
498
499
500
501
502
503
504
505
506
507
|
},
success:function (res) {
grid_row=res.result.maxRow;
grid_row_first = res.result.minRow;
grid_line=res.result.maxLine;
grid_layer=res.result.maxLayer;
//初始格子
$("#location").children().remove();
for (let i = 1; i <= grid_layer; i++) {
// var index=i+1;<span style='margin-top:30px'>第"+ index +"行</span>
$(".location").append("<br>");
for (let j = 1; j <= grid_line; j++) {
// $(".location").append("<img data-i='1' data-j="+j+" data-k="+ i +" class='grid'>");
|
|
508
|
$(".location").append("<img v-html data-i='1' data-j="+j+" data-k="+ i +" class='grid' onmouseove='lays(this)' onmouseout='Mclose(this)' onclick='gridMsg(this)'>");
|
|
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
|
}
}
let num=$("#editable-select").val();
$("#editable-num").children().remove();
if (num === "row") {
for (let i = grid_row_first; i <= grid_row; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
else if (num === "line") {
for (let i = 1; i <= grid_line; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
else if (num === "layer") {
for (let i = 1; i <= grid_layer; i++) {
$("#editable-num").append("<option value='"+i+"'>"+i+"</option>")
}
}
_this.changeMargin();
|
|
530
|
_this.Search();
|
|
531
532
533
534
535
|
}
});
},
|
|
536
537
|
|
|
538
539
|
//搜索平面库位
Search(){
|
|
540
|
this.spinning=true;
|
|
541
542
|
let index=$("#editable-select").val();
let num=$("#editable-num").val();
|
|
543
544
545
546
547
548
549
550
551
552
553
554
|
let zoneCode="";
if ($("#zoneCode").val()==null)
{
zoneCode=this.locationTypeList[0].zoneCode;
}else
{
zoneCode=this.locationTypeList[$("#zoneCode").val()].zoneCode;
}
|
|
555
556
557
558
559
560
561
562
563
564
|
$("#code").val("");
$("#containerCode").val("");
$("#material").children().remove();
$("#material").append("<option>无</option>");
let data;
this.seachZone();
if (index === "row") {
data={type:zoneCode, row:num};
$("#location").children().remove();
for (let i = grid_layer; i > 0; i--) {
|
|
565
|
$(".location").append("<br><span style='display: inline-block;text-align: right;width: 50px; margin-right: 10px;'>第"+ i+"层</span>");
|
|
566
|
for (let j = 1; j <= grid_line; j++) {
|
|
567
|
$(".location").append("<img data-i="+num+" data-j="+j+" data-k="+i+" class='grid' onmouseover='lays(this)' onmouseout='Mclose(this)' onclick='gridMsg(this)'>");
|
|
568
569
|
}
}
|
|
570
571
|
|
|
572
573
574
575
576
577
578
|
this.changeMargin();
this.ajaxGrid(index,data);
}
else if (index === "line") {
data={type:zoneCode, line:num};
$("#location").children().remove();
for (let k = grid_layer; k > 0; k--) {
|
|
579
|
$(".location").append("<br><span style='display: inline-block;text-align: right;width: 50px; margin-right: 10px;'>第"+ k+"层</span>");
|
|
580
581
582
583
|
for (let l = 1; l <= grid_row; l++) {
$(".location").append("<img data-i="+l+" data-j="+num+" data-k="+k+" class='grid' onmouseover='lays(this)' onmouseout='Mclose(this)' onclick='gridMsg(this)'>");
}
}
|
|
584
585
586
|
|
|
587
588
589
590
591
592
593
|
this.changeMargin();
this.ajaxGrid(index,data);
}
else if (index === "layer") {
data={type:zoneCode, layer:num};
$("#location").children().remove();
for (let m = 1; m <= grid_row; m++) {
|
|
594
|
$(".location").append("<br><span style='display: inline-block;text-align: right;width: 50px; margin-right: 10px;'>第"+ m+"行</span>");
|
|
595
596
597
598
599
600
601
602
|
for (let n = 1; n <= grid_line; n++) {
$(".location").append("<img data-i="+m+" data-j="+n+" data-k="+num+" class='grid' onmouseover='lays(this)' onmouseout='Mclose(this)' onclick='gridMsg(this)'>");
}
}
this.changeMargin();
this.ajaxGrid(index,data);
}
|
|
603
|
},
|
|
604
605
606
607
608
|
seachZone(){
|
|
609
610
611
612
613
614
615
616
617
|
let _this=this
let zoneCode="";
if ($("#zoneCode").val()==null)
{
zoneCode=this.locationTypeList[0].zoneCode;
}else
{
zoneCode=this.locationTypeList[$("#zoneCode").val()].zoneCode;
}
|
|
618
|
$.ajax({
|
|
619
|
url:window._CONFIG['domianURL']+prefix+"/getStatus",
|
|
620
|
data:{
|
|
621
|
zoneCode:zoneCode
|
|
622
623
|
},
headers:{
|
|
624
|
"X-Access-Token":Vue.ls.get(ACCESS_TOKEN)
|
|
625
626
627
628
629
|
},
success:function (response) {
if (response.code==200){
$("#zone").val("库位总数:"+response.result.location+", 空闲库位:"+response.result.emptyLocation+
", 空托盘库位:"+response.result.haveContainLocation+", 有货库位:"+response.result.haveInventoryLocation)
|
|
630
|
_this.spinning=false;
|
|
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
|
}else {
alert(response.message)
}
},
error:function () {
alert("未知的错误")
}
})
},
}
}
</script>
<style scoped>
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px
}
@media (min-width: 768px) {
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
float: left
}
.col-sm-12 {
width: 100%
}
.col-sm-11 {
width: 91.66666667%
}
.col-sm-10 {
width: 83.33333333%
}
.col-sm-9 {
width: 75%
}
.col-sm-8 {
width: 66.66666667%
}
.col-sm-7 {
width: 58.33333333%
}
.col-sm-6 {
width: 50%
}
.col-sm-5 {
width: 41.66666667%
}
.col-sm-4 {
width: 33.33333333%
}
.col-sm-3 {
width: 25%
}
.col-sm-2 {
width: 16.66666667%
}
.col-sm-1 {
width: 8.33333333%
}
.col-sm-pull-12 {
right: 100%
}
.col-sm-pull-11 {
right: 91.66666667%
}
.col-sm-pull-10 {
right: 83.33333333%
}
.col-sm-pull-9 {
right: 75%
}
.col-sm-pull-8 {
right: 66.66666667%
}
.col-sm-pull-7 {
right: 58.33333333%
}
.col-sm-pull-6 {
right: 50%
}
.col-sm-pull-5 {
right: 41.66666667%
}
.col-sm-pull-4 {
right: 33.33333333%
}
.col-sm-pull-3 {
right: 25%
}
.col-sm-pull-2 {
right: 16.66666667%
}
.col-sm-pull-1 {
right: 8.33333333%
}
.col-sm-pull-0 {
right: auto
}
.col-sm-push-12 {
left: 100%
}
.col-sm-push-11 {
left: 91.66666667%
}
.col-sm-push-10 {
left: 83.33333333%
}
.col-sm-push-9 {
left: 75%
}
.col-sm-push-8 {
left: 66.66666667%
}
.col-sm-push-7 {
left: 58.33333333%
}
.col-sm-push-6 {
left: 50%
}
.col-sm-push-5 {
left: 41.66666667%
}
.col-sm-push-4 {
left: 33.33333333%
}
.col-sm-push-3 {
left: 25%
}
.col-sm-push-2 {
left: 16.66666667%
}
.col-sm-push-1 {
left: 8.33333333%
}
.col-sm-push-0 {
left: auto
}
.col-sm-offset-12 {
margin-left: 100%
}
.col-sm-offset-11 {
margin-left: 91.66666667%
}
.col-sm-offset-10 {
margin-left: 83.33333333%
}
.col-sm-offset-9 {
margin-left: 75%
}
.col-sm-offset-8 {
margin-left: 66.66666667%
}
.col-sm-offset-7 {
margin-left: 58.33333333%
}
.col-sm-offset-6 {
margin-left: 50%
}
.col-sm-offset-5 {
margin-left: 41.66666667%
}
.col-sm-offset-4 {
margin-left: 33.33333333%
}
.col-sm-offset-3 {
margin-left: 25%
}
.col-sm-offset-2 {
margin-left: 16.66666667%
}
.col-sm-offset-1 {
margin-left: 8.33333333%
}
.col-sm-offset-0 {
margin-left: 0
}
}
#img_list li{
font-size: 10px;
/*width: 50px;*/
text-align: left;
margin: 5px 20px 5px 5px;
}
#img_list li img{
height: 35px;
width: 35px;
}
#info_list{
width: 100%;
display:inline-block;
}
#info_list li{
margin:8px 3px 0 5px;
}
#info_list li span{
font-size: 12px;
display: inline-block;
/*width: 65px;*/
text-align: center;
}
.grid{
display: inline-block;
width: 50px;
height: 50px;
/*margin: 12px 6px;*/
margin-bottom: 6px;
background-size:cover;
background-image: url("~@/assets/icon/空盘空闲.png");
}
|
|
892
|
|
|
893
|
</style>
|