来料检验优化

yangwl
shaoyong 8 months ago
parent 4c17ec66c7
commit 8a81c8221e

@ -226,7 +226,15 @@ export default {
this.handleQuery();
},
getAllRowData() {
this.rowData = this.$refs.myTable.data;
const rowArray = this.$refs.myTable.data;
this.rowData = rowArray.map(obj => {
const found = this.defectList.find(subObj => subObj.defectCode === obj.defectCode);
if (found) {
return { ...obj, defectSubclass: found.defectSubclass };
} else {
return obj;
}
});
},
//

Loading…
Cancel
Save