24包装
This commit is contained in:
parent
da85e5211a
commit
c0214c9eb7
@ -382,9 +382,17 @@ export default {
|
|||||||
obj.lineName = data[i].lineName;
|
obj.lineName = data[i].lineName;
|
||||||
obj.procedure = data[i].productDet[j].name;
|
obj.procedure = data[i].productDet[j].name;
|
||||||
data[i].productDet[j].data.map((item) => {
|
data[i].productDet[j].data.map((item) => {
|
||||||
obj[item.timeStr] = item.input || null;
|
obj[item.timeStr] = item.output
|
||||||
|
? item.output
|
||||||
|
: item.input
|
||||||
|
? item.input
|
||||||
|
: null;
|
||||||
});
|
});
|
||||||
obj.sum = data[i].productDet[j].allInput;
|
obj.sum = data[i].productDet[j].allOutput
|
||||||
|
? data[i].productDet[j].allOutput
|
||||||
|
: data[i].productDet[j].allInput
|
||||||
|
? data[i].productDet[j].allInput
|
||||||
|
: null;
|
||||||
this.tableData2.push(obj);
|
this.tableData2.push(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user