fix:光芯日志填写时不良项未清零问题修改
This commit is contained in:
parent
ce49b9f9c4
commit
7f148071d7
|
|
@ -519,7 +519,7 @@ export default {
|
||||||
that.defectform[item.defect_name] = 0;
|
that.defectform[item.defect_name] = 0;
|
||||||
})
|
})
|
||||||
that.qct_defects=res.qct_defects;
|
that.qct_defects=res.qct_defects;
|
||||||
if(that.mlogdefect.length>0){
|
if(that.mlogdefect.length>0&&that.mode!=='add'){
|
||||||
that.qct_defects.forEach(item => {
|
that.qct_defects.forEach(item => {
|
||||||
that.mlogdefect.forEach(item2=>{
|
that.mlogdefect.forEach(item2=>{
|
||||||
if(item.defect==item2.defect){
|
if(item.defect==item2.defect){
|
||||||
|
|
@ -552,7 +552,7 @@ export default {
|
||||||
that.defectform[item.defect_name] = 0;
|
that.defectform[item.defect_name] = 0;
|
||||||
})
|
})
|
||||||
that.qct_defects=res.qct_defects;
|
that.qct_defects=res.qct_defects;
|
||||||
if(that.mlogdefect.length>0){
|
if(that.mlogdefect.length>0&&that.mode!=='add'){
|
||||||
that.qct_defects.forEach(item => {
|
that.qct_defects.forEach(item => {
|
||||||
that.mlogdefect.forEach(item2=>{
|
that.mlogdefect.forEach(item2=>{
|
||||||
if(item.defect==item2.defect){
|
if(item.defect==item2.defect){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue