Commit f7c7cedc authored by 张伯涛's avatar 张伯涛

修改

parent 71e44c7f
...@@ -87,15 +87,15 @@ ...@@ -87,15 +87,15 @@
{{ scope.row.type || '-' }} {{ scope.row.type || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="defectQty" :show-overflow-tooltip="true"> <!-- <el-table-column align="center" prop="defectQty" :show-overflow-tooltip="true">-->
<template slot="header"> <!-- <template slot="header">-->
<div>计划生产数量</div> <!-- <div>计划生产数量</div>-->
<div>Planned output</div> <!-- <div>Planned output</div>-->
</template> <!-- </template>-->
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
{{ scope.row.plannedOutput || '-' }} <!-- {{ scope.row.plannedOutput || '-' }}-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column align="center" prop="inPut" :show-overflow-tooltip="true"> <el-table-column align="center" prop="inPut" :show-overflow-tooltip="true">
<template #header> <template #header>
<div>实际生产数量</div> <div>实际生产数量</div>
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
/** 生产线监控*/ /** 生产线监控*/
getProLineMonitor() { getProLineMonitor() {
const myChartAge = echarts.init(document.getElementById('dataCharts_proLineMonitor')) const myChartAge = echarts.init(document.getElementById('dataCharts_proLineMonitor'))
const colors = ['#209DFF', '#BC2C29', '#FF8919'] const colors = [ '#BC2C29', '#FF8919']
const xData = [] // x轴显示 const xData = [] // x轴显示
const proOutput = [] // y计划生产数量 const proOutput = [] // y计划生产数量
const inputData = [] // y实际生产数量 const inputData = [] // y实际生产数量
...@@ -331,7 +331,7 @@ export default { ...@@ -331,7 +331,7 @@ export default {
let maxNum1 = 0 let maxNum1 = 0
this.dataList.forEach(item => { this.dataList.forEach(item => {
xData.push(item.type) xData.push(item.type)
proOutput.push(item.plannedOutput) // proOutput.push(item.plannedOutput)
inputData.push(item.inPut) inputData.push(item.inPut)
goodRate.push(item.goodRate) goodRate.push(item.goodRate)
}) })
...@@ -391,13 +391,13 @@ export default { ...@@ -391,13 +391,13 @@ export default {
], ],
series: [ series: [
{ // {
name: '计划生产数量', // name: '计划生产数量',
type: 'bar', // type: 'bar',
barWidth: 18, // barWidth: 18,
barGap: 0, // barGap: 0,
data: proOutput // data: proOutput
}, // },
{ {
name: '实际生产数量', name: '实际生产数量',
type: 'bar', type: 'bar',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment