headRight.vue 1.28 KB
<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: [
					['642141001', 'P0001/P1100', 'P0005', '01-09 15:22'],
					['642141002', 'P0002/P1101', 'P0102', '01-09 14:12'],
					['642141003', 'P0011/P1102', 'P1023', '01-09 11:45'],
					['642141004', 'P0101/P1210', 'P1210', '01-09 09:09']
				],
				headerBGC: "#003b51",
				oddRowBGC: "transparent",
				evenRowBGC: "#0b2038",
				rowNum: 3,
				columnWidth: [190, 110, 90, 100]
			}
		}
	},
	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>