fix:bx交接扫码时只显示最新结果的纠正

This commit is contained in:
shijing 2025-05-09 09:23:59 +08:00
parent 1ff6a6f4b3
commit 17c3c6e452
1 changed files with 3 additions and 3 deletions

View File

@ -750,7 +750,7 @@ export default {
if(that.form.handoverb&&that.form.handoverb.length>0){ if(that.form.handoverb&&that.form.handoverb.length>0){
that.form.handoverb.push(obj); that.form.handoverb.push(obj);
}else{ }else{
that.form.handoverb = []; // that.form.handoverb = [];
that.form.handoverb.push(obj); that.form.handoverb.push(obj);
} }
that.wm_in = ""; that.wm_in = "";
@ -793,7 +793,7 @@ export default {
if(that.form.handoverb&&that.form.handoverb.length>0){ if(that.form.handoverb&&that.form.handoverb.length>0){
that.form.handoverb.push(obj2); that.form.handoverb.push(obj2);
}else{ }else{
that.form.handoverb = []; // that.form.handoverb = [];
that.form.handoverb.push(obj2); that.form.handoverb.push(obj2);
} }
that.wm_in = ""; that.wm_in = "";
@ -856,7 +856,7 @@ export default {
obj3.wpr = res[0].id; obj3.wpr = res[0].id;
obj3.number = res[0].number; obj3.number = res[0].number;
obj2.handoverbw.push(obj3); obj2.handoverbw.push(obj3);
that.form.handoverb = []; // that.form.handoverb = [];
that.form.handoverb.push(obj2); that.form.handoverb.push(obj2);
} }
}) })