|
|
@ -19,9 +19,6 @@
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;">
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;">
|
|
|
|
产品型号
|
|
|
|
产品型号
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;">
|
|
|
|
|
|
|
|
计划数量
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;">
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;">
|
|
|
|
前板计划
|
|
|
|
前板计划
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -35,44 +32,26 @@
|
|
|
|
计划时间
|
|
|
|
计划时间
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<vue-seamless-scroll
|
|
|
|
<vue-seamless-scroll :class-option="scrollTableOption" :data="scrollTableData" class="case-item"
|
|
|
|
:class-option="scrollTableOption"
|
|
|
|
style="height: 84%;overflow: hidden;">
|
|
|
|
:data="scrollTableData"
|
|
|
|
<div v-for="(item, index) in scrollTableData" :key="index">
|
|
|
|
class="case-item"
|
|
|
|
|
|
|
|
style="height: 84%;overflow: hidden;"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
v-for="(item, index) in scrollTableData"
|
|
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div :style='"background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'>
|
|
|
|
<div :style='"background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem">
|
|
|
|
class="scrollTableItem">
|
|
|
|
|
|
|
|
{{ item.value1 }}
|
|
|
|
{{ item.value1 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem">
|
|
|
|
class="scrollTableItem">
|
|
|
|
|
|
|
|
{{ item.value2 }}
|
|
|
|
{{ item.value2 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem" :style="'color:' + (item.value3 > 0 ? 'green' : '#0000')">
|
|
|
|
class="scrollTableItem">
|
|
|
|
|
|
|
|
{{ item.value31 }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="scrollTableItem" :style="'color:'+(item.value3>0?'green':'#0000')">
|
|
|
|
|
|
|
|
{{ item.value3 }}
|
|
|
|
{{ item.value3 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem" :style="'color:' + (item.value32 > 0 ? 'green' : '#0000')">
|
|
|
|
class="scrollTableItem" :style="'color:'+(item.value32>0?'green':'#0000')">
|
|
|
|
|
|
|
|
{{ item.value32 }}
|
|
|
|
{{ item.value32 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem">
|
|
|
|
class="scrollTableItem">
|
|
|
|
|
|
|
|
{{ item.value4 }}
|
|
|
|
{{ item.value4 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div class="scrollTableItem">
|
|
|
|
class="scrollTableItem">
|
|
|
|
|
|
|
|
{{ item.value5 }}
|
|
|
|
{{ item.value5 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -116,7 +95,7 @@ export default {
|
|
|
|
frontNum: 100,
|
|
|
|
frontNum: 100,
|
|
|
|
laterNum: 100,
|
|
|
|
laterNum: 100,
|
|
|
|
title: [
|
|
|
|
title: [
|
|
|
|
'工单计划',
|
|
|
|
'生成计划',
|
|
|
|
'小时产量统计',
|
|
|
|
'小时产量统计',
|
|
|
|
'壳胆库存统计',
|
|
|
|
'壳胆库存统计',
|
|
|
|
'生产型号统计',
|
|
|
|
'生产型号统计',
|
|
|
@ -163,6 +142,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
|
|
|
|
getData().then(e => {
|
|
|
|
getData().then(e => {
|
|
|
|
this.scrollTableData = e.caseShell2.table1
|
|
|
|
this.scrollTableData = e.caseShell2.table1
|
|
|
|
this.$refs.chart1.setData({
|
|
|
|
this.$refs.chart1.setData({
|
|
|
@ -227,6 +207,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -248,6 +240,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -328,6 +332,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -349,6 +365,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -429,6 +457,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -450,6 +490,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -530,6 +582,18 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: '30%',
|
|
|
|
barWidth: '30%',
|
|
|
|
barMaxWidth: 50,
|
|
|
|
barMaxWidth: 50,
|
|
|
|
|
|
|
|
label: {
|
|
|
|
|
|
|
|
normal: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
position: "top",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#a8aab0",
|
|
|
|
|
|
|
|
fontStyle: "normal",
|
|
|
|
|
|
|
|
fontFamily: "微软雅黑",
|
|
|
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
@ -629,7 +693,7 @@ export default {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
width: calc(100% / 7);
|
|
|
|
width: calc(100% / 6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chart1 {
|
|
|
|
.chart1 {
|
|
|
@ -673,6 +737,7 @@ export default {
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inventoryInfo2 {
|
|
|
|
.inventoryInfo2 {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
transform: translateY(-50%);
|
|
|
|