Browse Source

号口品跳转详情扫描不成功问题

intex
张立 1 day ago
parent
commit
4925b0cdb7
  1. 9
      src/pages/productReceipt/job/productReceiptDetail.vue

9
src/pages/productReceipt/job/productReceiptDetail.vue

@ -255,9 +255,7 @@
that.toLocationCode = that.subList[0].toLocationCode
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes)
that.detailSource = getDataSource(that.subList)
if (that.scanMessage) {
this.$refs.scanPopup.simulateScan(that.scanMessage);
}
//
var itemCodes = []
this.detailSource.forEach(item => {
@ -279,6 +277,9 @@
}
})
if (that.scanMessage) {
this.$refs.scanPopup.simulateScan(that.scanMessage);
}
}
})
} else {
@ -313,7 +314,6 @@
var qty = label.qty;
var itemCode = label.itemCode;
var detail = this.detailSource.find(r => r.itemCode == itemCode);
if (detail == undefined) {
this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
@ -380,6 +380,7 @@
this.showErrorMessage("包装[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中")
}
}
uni.hideLoading()
}
},

Loading…
Cancel
Save