projects/mesxc-zjl #377

Merged
juzi merged 3 commits from projects/mesxc-zjl into projects/mesxc-test 2024-04-27 10:46:41 +08:00
Showing only changes of commit c0214c9eb7 - Show all commits

View File

@ -382,9 +382,17 @@ export default {
obj.lineName = data[i].lineName;
obj.procedure = data[i].productDet[j].name;
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);
}
}