fix: 10车间mlog编辑
This commit is contained in:
parent
6cb3e526aa
commit
4855ab4028
|
@ -458,20 +458,20 @@ export default {
|
|||
});
|
||||
},
|
||||
table_edit(row) {
|
||||
let arr = [];
|
||||
let mlogb = row.mlogb;
|
||||
this.brothersListorigin.forEach(item => {
|
||||
let obj = {};
|
||||
obj.count_ok = null;
|
||||
obj.material_out = item;
|
||||
for (let i = 0; i < mlogb.length; i++) {
|
||||
if (mlogb[i].material_out == item) {
|
||||
obj.count_ok = mlogb[i].count_ok;
|
||||
}
|
||||
}
|
||||
arr.push(obj)
|
||||
})
|
||||
this.brothersList = arr;
|
||||
// let arr = [];
|
||||
// let mlogb = row.mlogb;
|
||||
// this.brothersListorigin.forEach(item => {
|
||||
// let obj = {};
|
||||
// obj.count_ok = null;
|
||||
// obj.material_out = item;
|
||||
// for (let i = 0; i < mlogb.length; i++) {
|
||||
// if (mlogb[i].material_out == item) {
|
||||
// obj.count_ok = mlogb[i].count_ok;
|
||||
// }
|
||||
// }
|
||||
// arr.push(obj)
|
||||
// })
|
||||
// this.brothersList = arr;
|
||||
this.dialogSave = true;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.saveDialog.open("edit").setData(row);
|
||||
|
|
Loading…
Reference in New Issue