fix:玻纤交接物料时扫码问题修复
This commit is contained in:
parent
6b235697ff
commit
3d912696c9
|
|
@ -546,7 +546,7 @@ export default {
|
|||
if(mtype==30){
|
||||
this.change_batch = true;
|
||||
}
|
||||
this.form.handoverb = data;
|
||||
this.form.handoverb = data?data:[];
|
||||
this.visible = true;
|
||||
return this;
|
||||
},
|
||||
|
|
@ -603,7 +603,7 @@ export default {
|
|||
countChange(){
|
||||
let that = this;
|
||||
let totalCount = 0;
|
||||
if(this.form.handoverb.length>0){
|
||||
if(this.form.handoverb&&this.form.handoverb.length&&this.form.handoverb.length>0){
|
||||
this.form.handoverb.forEach(item=>{
|
||||
totalCount += Number(item.count);
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue