fix:wpr检验修正
This commit is contained in:
parent
eb4590f6b9
commit
09833232bc
|
|
@ -628,7 +628,7 @@ export default {
|
||||||
res.qct_defects.forEach((item) => {
|
res.qct_defects.forEach((item) => {
|
||||||
that.addTemplate[item.defect_name] = false;
|
that.addTemplate[item.defect_name] = false;
|
||||||
let obj = Object.assign({}, item);
|
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.push(obj);
|
||||||
})
|
})
|
||||||
that.qct_defects_origin = that.qct_defects;
|
that.qct_defects_origin = that.qct_defects;
|
||||||
|
|
@ -636,7 +636,7 @@ export default {
|
||||||
res.qct_testitems.forEach((item2) => {
|
res.qct_testitems.forEach((item2) => {
|
||||||
let obj2 = Object.assign({}, item2);
|
let obj2 = Object.assign({}, item2);
|
||||||
obj2.value = '';
|
obj2.value = '';
|
||||||
obj2.canEdit = that.process_type=='10'?false:true;
|
obj2.canEdit = that.process_type=='20'?false:true;
|
||||||
|
|
||||||
obj2.addto_wpr = item2.addto_wpr;
|
obj2.addto_wpr = item2.addto_wpr;
|
||||||
if(item2.testitem_field_type=='input-number'||item2.testitem_field_type=='input-int'){
|
if(item2.testitem_field_type=='input-number'||item2.testitem_field_type=='input-int'){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue