add 设备加工数量
This commit is contained in:
@@ -503,7 +503,7 @@ export default {
|
||||
// 设置span的行数
|
||||
this.spanInfo[rowIndex] = data.length;
|
||||
for (const equipment of data) {
|
||||
rowIndex+=1
|
||||
rowIndex += 1;
|
||||
for (const [key, hourData] of Object.entries(equipment.hourData)) {
|
||||
const { equipmentName, totalQuantity } = equipment;
|
||||
const { inQuantity, outQuantity, nokQuantity, scrapRatio } =
|
||||
@@ -518,12 +518,10 @@ export default {
|
||||
row[key + '__out'] = outQuantity;
|
||||
row[key + '__nok'] = nokQuantity;
|
||||
row[key + '__ratio'] = scrapRatio;
|
||||
console.log('row', row);
|
||||
return;
|
||||
this.list.push(row);
|
||||
}
|
||||
return;
|
||||
}
|
||||
console.log('list:', this.list, 'spanInfo:', this.spanInfo);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user