Browse Source

YT-650发料任务,扫不在任务中的,目标库位没有带出,应带出

intex_online20241111
zhang_li 3 weeks ago
parent
commit
7f1f0aa403
  1. 12
      src/pages/issue/job/issueDetailBatch.vue

12
src/pages/issue/job/issueDetailBatch.vue

@ -222,6 +222,7 @@
that.subList = res.data.subList;
that.detailSource = getThreeDataSource(that.jobContent)
that.jobContent.detailToLocationCode = res.data.subList[0].toLocationCode
that.toLocationCode= res.data.subList[0].toLocationCode
that.fromLocationCode = that.subList[0].fromLocationCode
//
if (this.scanMessage) {
@ -263,9 +264,7 @@
this.managementType = managementTypeParams
if(managementTypeParams == "BY_BATCH" ||managementTypeParams == "BY_QUANTITY" ){
this.setDataBatch(result)
}else{
this.setData(result)
}
}
},
setDataBatch(result) {
try {
@ -312,10 +311,11 @@
if (isExit == undefined) {
// this.showErrorMessage("" + batch + "" + result
// .fromLocationCode + "")
console.log(this.toLocationCode)
detail.subList.push({
scaned:true,
fromLocationCode:this.fromLocationCode,
toLocationCode:this.toLocationCode,
batch:result.label.batch,
handleQty:result.label.qty,
qty:result.balance.qty,
@ -400,7 +400,9 @@
itemDetail.balanceQty=result.balance.qty
itemDetail.uom=result.balance.uom
itemDetail.packQty=result.package.packQty
itemDetail.packUnit=result.package.packUnit
itemDetail.packUnit=result.package.packUnit
itemDetail.fromlocationCode=this.fromLocationCode
itemDetail.toLocationCode=this.toLocationCode
// itemDetail.toInventoryStatus = "OK"
// itemDetail.packList.forEach(pac => {
// pac.scaned = true

Loading…
Cancel
Save