|
@@ -23,14 +23,14 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
config: {
|
|
config: {
|
|
|
- header: ['车间', '计划数', '完成数', '达成比例%'],
|
|
|
|
|
|
|
+ header: ['车间', '计划数', '完成数', '达成率%','不良数','良品率%'],
|
|
|
data: [],
|
|
data: [],
|
|
|
rowNum: 20,
|
|
rowNum: 20,
|
|
|
headerHeight: 35,
|
|
headerHeight: 35,
|
|
|
headerBGC: 'rgba(15,19,37,0.1)',
|
|
headerBGC: 'rgba(15,19,37,0.1)',
|
|
|
oddRowBGC: 'rgba(15,19,37,0.1)',
|
|
oddRowBGC: 'rgba(15,19,37,0.1)',
|
|
|
evenRowBGC: 'rgba(23,28,51,0.1)',
|
|
evenRowBGC: 'rgba(23,28,51,0.1)',
|
|
|
- columnWidth: [200, 190, 150],
|
|
|
|
|
|
|
+ columnWidth: [100, 100, 120,140,100,120],
|
|
|
align: ['center', 'center', 'center', 'center']
|
|
align: ['center', 'center', 'center', 'center']
|
|
|
},
|
|
},
|
|
|
refreshInterval: null,
|
|
refreshInterval: null,
|
|
@@ -88,7 +88,9 @@ export default {
|
|
|
this.createCell(item.v_wccode, rowClass),
|
|
this.createCell(item.v_wccode, rowClass),
|
|
|
this.createCell(item.v_planqty, rowClass),
|
|
this.createCell(item.v_planqty, rowClass),
|
|
|
this.createCell(item.v_madeqty, rowClass),
|
|
this.createCell(item.v_madeqty, rowClass),
|
|
|
- this.createCell(item.v_rate, rowClass)
|
|
|
|
|
|
|
+ this.createCell(item.v_rate, rowClass),
|
|
|
|
|
+ this.createCell(item.v_ngqty, rowClass),
|
|
|
|
|
+ this.createCell(item.v_okrate, rowClass)
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
|
|
|