Browse Source

YT-2770补料记录中补料数量显示不正确,库存事务和库存余额也不正确

intex
张立 2 weeks ago
parent
commit
be3cbe27a3
  1. 5
      src/pages/repleinsh/job/repleinshDetailBatch.vue

5
src/pages/repleinsh/job/repleinshDetailBatch.vue

@ -572,7 +572,7 @@
detail.handleQty = calc.add(detail.handleQty, cur.handleQty)
})
})
console.log(333, this.detailSource)
// console.log(333, this.detailSource)
setTimeout(r => {
that.resizeCollapse();
that.$forceUpdate()
@ -663,6 +663,7 @@
setParams() {
var commitSubList = []
var creator = this.$store.state.user.id
console.log(333, this.detailSource)
this.detailSource.forEach(toLocationCode => {
toLocationCode.subList.forEach(item => {
item.packList.forEach(boardNumber => {
@ -698,7 +699,7 @@
subItem.recordList = [];
// batch.Records.forEach(r => {
let record = {};
record.handleQty = item.handleQty;
record.handleQty = boardNumber.handleQty;
record.qty = item.qty;
record.fromBatch = item.batch;
record.fromContainerNumber = item.containerNumber;

Loading…
Cancel
Save