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

Loading…
Cancel
Save