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

修改

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