bodyRight.vue
1.62 KB
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
<template>
<div>
<div class="title-text">出库任务</div>
<div class="body">
<dv-scroll-board :config="config" style="width:98%;height:90%" />
</div>
</div>
</template>
<script>
export default {
data() {
return {
sysinfo: [],
config: {
header: ['条码', '起点/终点', '当前位置', '创建时间'],
data: [
['842141001', 'P0001/P1101', 'P0007', '01-09 17:12'],
['742141005', 'P0002/P1201', 'P0112', '01-09 15:33'],
['642141049', 'P0011/P1103', 'P1103', '01-09 12:55'],
['542143881', 'P0101/P1101', 'P1210', '01-09 10:09']
],
headerBGC: "#003b51",
oddRowBGC: "transparent",
evenRowBGC: "#0b2038",
rowNum: 4
}
}
},
methods: {
sed(data) {
this.config = {
header: ['条码', '起点/终点', '当前位置', '创建时间'],
data: data,
headerBGC: "#003b51",
oddRowBGC: "transparent",
evenRowBGC: "#0b2038",
rowNum: 3,
columnWidth: [120, 180, 110, 130]
}
},
},
mounted() {
debugger
},
}
</script>
<style lang="scss" scoped>
.title-text {
width: 100%;
height: 3vh;
font-size: 2vh;
font-weight: 600;
color: #fff;
text-align: left;
padding-left: 1vw;
}
.body {
margin-top: 1vh;
height: 90%;
display: flex;
justify-content: center;
}
</style>