Commit 44c88c4a authored by zhoutong's avatar zhoutong

入仓储位规则调整 / 后台-出货-理货-储位规则调整-前端

parent 10b69f04
...@@ -171,7 +171,16 @@ export default { ...@@ -171,7 +171,16 @@ export default {
}); });
}); });
}); });
this.tallyList = list; let relist = []
list.forEach(l=>{
let index = relist.findIndex(i=>i.orderId == l.orderId && i.positionNo == l.positionNo)
if(index == -1){
relist.push(l)
}else{
relist[index].warehouseInInfo.cartonsNum = parseInt(relist[index].warehouseInInfo.cartonsNum)+parseInt(l.warehouseInInfo.cartonsNum)
}
})
this.tallyList = relist;
}); });
}, },
// 选中 // 选中
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment