|
|
@ -8,23 +8,23 @@
|
|
|
|
<div class="title1">班组</div>
|
|
|
|
<div class="title1">班组</div>
|
|
|
|
<div class="title2">上线数量</div>
|
|
|
|
<div class="title2">上线数量</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="nowClass">总装</div>
|
|
|
|
<div class="nowClass">{{ info.bz }}</div>
|
|
|
|
<div class="num">1122</div>
|
|
|
|
<div class="num">{{ info.sxsl }}</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info1Title">产品条码</div>
|
|
|
|
<div class="info1Title">产品条码</div>
|
|
|
|
<div class="info1">B23120783055009802101</div>
|
|
|
|
<div class="info1">{{ info.tm }}</div>
|
|
|
|
<div class="info2Title">扫描时间</div>
|
|
|
|
<div class="info2Title">扫描时间</div>
|
|
|
|
<div class="info2">2023/12/7 12:01:53</div>
|
|
|
|
<div class="info2">{{ info.sj }}</div>
|
|
|
|
<div class="info3Title">产品型号</div>
|
|
|
|
<div class="info3Title">产品型号</div>
|
|
|
|
<div class="info3">发泡箱体,BCD-530WPG,标准白</div>
|
|
|
|
<div class="info3">{{ info.xh }}</div>
|
|
|
|
<div class="info4Title">订单编号</div>
|
|
|
|
<div class="info4Title">订单编号</div>
|
|
|
|
<div class="info4">11232394</div>
|
|
|
|
<div class="info4">{{ info.bh }}</div>
|
|
|
|
<div class="info5Title">订单数量</div>
|
|
|
|
<div class="info5Title">订单数量</div>
|
|
|
|
<div class="info5">300</div>
|
|
|
|
<div class="info5">{{ info.ddsl }}</div>
|
|
|
|
<div class="info6Title">上线数量</div>
|
|
|
|
<div class="info6Title">上线数量</div>
|
|
|
|
<div class="info6">63</div>
|
|
|
|
<div class="info6">{{ info.sxsl2 }}</div>
|
|
|
|
<div class="info7Title">提示信息</div>
|
|
|
|
<div class="info7Title">提示信息</div>
|
|
|
|
<div class="info7">扫描成功</div>
|
|
|
|
<div class="info7">{{ info.tsxx }}</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="scrollTable">
|
|
|
|
<div class="scrollTable">
|
|
|
|
<div style="background-color: #094170">
|
|
|
|
<div style="background-color: #094170">
|
|
|
@ -102,6 +102,7 @@ import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
|
import Chart from "../../../components/board/Chart";
|
|
|
|
import Chart from "../../../components/board/Chart";
|
|
|
|
import * as echarts from 'echarts'
|
|
|
|
import * as echarts from 'echarts'
|
|
|
|
import {getData} from "@/api/board/getData";
|
|
|
|
import {getData} from "@/api/board/getData";
|
|
|
|
|
|
|
|
import {mixData} from "@/api/board/mixData";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -130,6 +131,7 @@ export default {
|
|
|
|
left: 5.5
|
|
|
|
left: 5.5
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
info: {},
|
|
|
|
scrollTableOption: {
|
|
|
|
scrollTableOption: {
|
|
|
|
step: 0.5, // 数值越大速度滚动越快
|
|
|
|
step: 0.5, // 数值越大速度滚动越快
|
|
|
|
limitMoveNum: 5, // 开始无缝滚动的数据量 this.dataList.length
|
|
|
|
limitMoveNum: 5, // 开始无缝滚动的数据量 this.dataList.length
|
|
|
@ -141,162 +143,190 @@ export default {
|
|
|
|
waitTime: 0,
|
|
|
|
waitTime: 0,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
scrollTableData: [],
|
|
|
|
scrollTableData: [],
|
|
|
|
|
|
|
|
RequestDataSet: [
|
|
|
|
}
|
|
|
|
{
|
|
|
|
},
|
|
|
|
e: 'zzsc-01',
|
|
|
|
mounted() {
|
|
|
|
i: "",
|
|
|
|
getData().then(e => {
|
|
|
|
f: (e) => {
|
|
|
|
this.scrollTableData = e.table7
|
|
|
|
this.info = e
|
|
|
|
this.$refs.chart1.setData({
|
|
|
|
}
|
|
|
|
tooltip: {
|
|
|
|
|
|
|
|
trigger: "axis",
|
|
|
|
|
|
|
|
axisPointer: {
|
|
|
|
|
|
|
|
// 坐标轴指示器,坐标轴触发有效
|
|
|
|
|
|
|
|
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
grid: {
|
|
|
|
|
|
|
|
left: "0",
|
|
|
|
|
|
|
|
right: "4%",
|
|
|
|
|
|
|
|
bottom: "0",
|
|
|
|
|
|
|
|
top: 20,
|
|
|
|
|
|
|
|
containLabel: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
xAxis: {
|
|
|
|
|
|
|
|
type: "category",
|
|
|
|
|
|
|
|
data: e.chart4.x,
|
|
|
|
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "white",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
// interval: 0,
|
|
|
|
|
|
|
|
// rotate: 40,
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
e: 'zzsc-02',
|
|
|
|
|
|
|
|
i: "",
|
|
|
|
|
|
|
|
f: (e) => {
|
|
|
|
|
|
|
|
this.$refs.chart1.setData({
|
|
|
|
|
|
|
|
tooltip: {
|
|
|
|
|
|
|
|
trigger: "axis",
|
|
|
|
|
|
|
|
axisPointer: {
|
|
|
|
|
|
|
|
// 坐标轴指示器,坐标轴触发有效
|
|
|
|
|
|
|
|
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
grid: {
|
|
|
|
|
|
|
|
left: "0",
|
|
|
|
|
|
|
|
right: "4%",
|
|
|
|
|
|
|
|
bottom: "0",
|
|
|
|
|
|
|
|
top: 20,
|
|
|
|
|
|
|
|
containLabel: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
xAxis: {
|
|
|
|
|
|
|
|
type: "category",
|
|
|
|
|
|
|
|
data: e.x,
|
|
|
|
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "white",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
// interval: 0,
|
|
|
|
|
|
|
|
// rotate: 40,
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
yAxis: {
|
|
|
|
yAxis: {
|
|
|
|
type: "value",
|
|
|
|
type: "value",
|
|
|
|
axisLine: {
|
|
|
|
axisLine: {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
|
color: "white",
|
|
|
|
color: "white",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
splitLine: {
|
|
|
|
splitLine: {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
axisLabel: {},
|
|
|
|
axisLabel: {},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
series: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: "数量",
|
|
|
|
|
|
|
|
type: "bar",
|
|
|
|
|
|
|
|
barWidth: "30%",
|
|
|
|
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
itemStyle: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
offset: 0,
|
|
|
|
|
|
|
|
color: "#0bca98",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
offset: 1,
|
|
|
|
|
|
|
|
color: "#16a144",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
data: e.y.data,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
series: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
e: 'zzsc-03',
|
|
|
|
name: "数量",
|
|
|
|
i: "",
|
|
|
|
type: "bar",
|
|
|
|
f: (e) => {
|
|
|
|
barWidth: "30%",
|
|
|
|
this.$refs.chart2.setData({
|
|
|
|
barMaxWidth: 50,
|
|
|
|
grid: {
|
|
|
|
itemStyle: {
|
|
|
|
left: "0",
|
|
|
|
normal: {
|
|
|
|
right: "4%",
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
bottom: '2%',
|
|
|
|
{
|
|
|
|
top: "10%",
|
|
|
|
offset: 0,
|
|
|
|
containLabel: true,
|
|
|
|
color: "#0bca98",
|
|
|
|
},
|
|
|
|
|
|
|
|
xAxis: {
|
|
|
|
|
|
|
|
data: e.x,
|
|
|
|
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "#3d5269",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
},
|
|
|
|
offset: 1,
|
|
|
|
axisLabel: {
|
|
|
|
color: "#16a144",
|
|
|
|
interval: 0,
|
|
|
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
yAxis: {
|
|
|
|
|
|
|
|
nameTextStyle: {
|
|
|
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "#3d5269",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
|
|
fontSize: 10,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
splitLine: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "#2d3d53",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]),
|
|
|
|
},
|
|
|
|
|
|
|
|
interval: 500,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
series: [
|
|
|
|
data: e.chart4.y.data,
|
|
|
|
{
|
|
|
|
},
|
|
|
|
type: "bar",
|
|
|
|
],
|
|
|
|
barWidth: '40%',
|
|
|
|
})
|
|
|
|
itemStyle: {
|
|
|
|
this.$refs.chart2.setData({
|
|
|
|
normal: {
|
|
|
|
grid: {
|
|
|
|
color: new echarts.graphic.LinearGradient(
|
|
|
|
left: "0",
|
|
|
|
0,
|
|
|
|
right: "4%",
|
|
|
|
0,
|
|
|
|
bottom: '2%',
|
|
|
|
0,
|
|
|
|
top: "10%",
|
|
|
|
1,
|
|
|
|
containLabel: true,
|
|
|
|
[
|
|
|
|
},
|
|
|
|
{
|
|
|
|
xAxis: {
|
|
|
|
offset: 0,
|
|
|
|
data: e.chart3.x,
|
|
|
|
color: "#5ef3ff",
|
|
|
|
axisLine: {
|
|
|
|
},
|
|
|
|
lineStyle: {
|
|
|
|
{
|
|
|
|
color: "#3d5269",
|
|
|
|
offset: 1,
|
|
|
|
},
|
|
|
|
color: "#06a4f4",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
axisLabel: {
|
|
|
|
],
|
|
|
|
interval: 0,
|
|
|
|
false
|
|
|
|
color: "#fff",
|
|
|
|
),
|
|
|
|
fontSize: 14,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
yAxis: {
|
|
|
|
|
|
|
|
nameTextStyle: {
|
|
|
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "#3d5269",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
|
|
fontSize: 10,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
splitLine: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
color: "#2d3d53",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
interval: 500,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
series: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: "bar",
|
|
|
|
|
|
|
|
barWidth: '40%',
|
|
|
|
|
|
|
|
itemStyle: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
color: new echarts.graphic.LinearGradient(
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
1,
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
offset: 0,
|
|
|
|
|
|
|
|
color: "#5ef3ff",
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
},
|
|
|
|
offset: 1,
|
|
|
|
label: {
|
|
|
|
color: "#06a4f4",
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
|
|
|
fontWeight: "bold",
|
|
|
|
|
|
|
|
color: "#ffffff",
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
false
|
|
|
|
data: e.y.data,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
})
|
|
|
|
label: {
|
|
|
|
}
|
|
|
|
normal: {
|
|
|
|
},
|
|
|
|
show: true,
|
|
|
|
{
|
|
|
|
fontSize: 12,
|
|
|
|
e: 'zzsc-04',
|
|
|
|
fontWeight: "bold",
|
|
|
|
i: "",
|
|
|
|
color: "#ffffff",
|
|
|
|
f: (e) => {
|
|
|
|
position: "top",
|
|
|
|
this.scrollTableData = e
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: e.chart3.y.data,
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
this.RequestDataSet.forEach(val => {
|
|
|
|
|
|
|
|
mixData(val)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {}
|
|
|
|
methods: {}
|
|
|
@ -447,7 +477,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.info3Title {
|
|
|
|
.info3Title {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: 13.5%;
|
|
|
|
top: 13.5%;
|
|
|
@ -489,7 +518,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.info5Title {
|
|
|
|
.info5Title {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: 18%;
|
|
|
|
top: 18%;
|
|
|
|