fix:输入物料的wpr列表显示缺陷项

This commit is contained in:
shijing 2026-06-09 09:28:11 +08:00
parent 71bb8eba40
commit 5172fe960c
1 changed files with 7 additions and 0 deletions

View File

@ -620,6 +620,13 @@ export default {
that.testitems.push(obj) that.testitems.push(obj)
} }
}) })
res.qct_defects.forEach((item) => {
that.addTemplate[item.defect_name] = false;
let obj = Object.assign({}, item);
obj.canEdit = that.processType=='20'?false:true;
that.qct_defects.push(obj);
})
that.qct_defects_origin = that.qct_defects;
that.getList(); that.getList();
}); });
}, },