fix:wpr检验修正

This commit is contained in:
shijing 2025-07-17 09:55:11 +08:00
parent eb4590f6b9
commit 09833232bc
1 changed files with 2 additions and 2 deletions

View File

@ -628,7 +628,7 @@ export default {
res.qct_defects.forEach((item) => {
that.addTemplate[item.defect_name] = false;
let obj = Object.assign({}, item);
obj.canEdit = that.process_type=='10'?false:true;
obj.canEdit = that.process_type=='20'?false:true;
that.qct_defects.push(obj);
})
that.qct_defects_origin = that.qct_defects;
@ -636,7 +636,7 @@ export default {
res.qct_testitems.forEach((item2) => {
let obj2 = Object.assign({}, item2);
obj2.value = '';
obj2.canEdit = that.process_type=='10'?false:true;
obj2.canEdit = that.process_type=='20'?false:true;
obj2.addto_wpr = item2.addto_wpr;
if(item2.testitem_field_type=='input-number'||item2.testitem_field_type=='input-int'){