diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index 68db287b..2b18bd54 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -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'){