Browse Source

补料任务

intex
张立 2 weeks ago
parent
commit
667dae1250
  1. 10
      src/pages/repleinsh/job/repleinshDetailBatch.vue

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

@ -389,7 +389,7 @@
return r.batch == batch &&
r.fromLocationCode == result.fromLocationCode
})
console.log(555,this.fromLocationCode)
console.log(111,itemDetail)
//
if (itemDetail == undefined) {
var item = {
@ -433,6 +433,7 @@
toAreaCode:detail.subList[0].toAreaCode,
}
detail.subList.push(item)
console.log(222,item)
} else {
// itemDetail.handleQty = calc.add(itemDetail.handleQty, result.label.qty)
itemDetail.packList = itemDetail.packList && itemDetail.packList.length > 0 ? itemDetail.packList : []
@ -455,6 +456,7 @@
packQty: result.package.packQty,
packUnit: result.package.packUnit,
})
console.log(333,itemDetail.packList)
}
}
detail.handleQty = 0
@ -465,6 +467,7 @@
detail.handleQty = calc.add(parseFloat(detail.handleQty), parseFloat(cur.handleQty))
})
})
console.log(444,detail.subList)
setTimeout(r => {
that.resizeCollapse();
that.$forceUpdate()
@ -646,6 +649,7 @@
return
}
console.log("提交参数", JSON.stringify(params));
return;
repleinshJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
@ -663,7 +667,7 @@
setParams() {
var commitSubList = []
var creator = this.$store.state.user.id
console.log(333, this.detailSource)
console.log(555, this.detailSource)
this.detailSource.forEach(toLocationCode => {
toLocationCode.subList.forEach(item => {
item.packList.forEach(boardNumber => {
@ -763,7 +767,7 @@
this.jobContent.subList = commitSubList
this.jobContent.creator = creator;
console.log(88, this.jobContent)
console.log(666, this.jobContent)
return this.jobContent;
},

Loading…
Cancel
Save