diff --git a/src/mycomponents/scan/winComScanBalance.vue b/src/mycomponents/scan/winComScanBalance.vue index 27ba1463..6e379343 100644 --- a/src/mycomponents/scan/winComScanBalance.vue +++ b/src/mycomponents/scan/winComScanBalance.vue @@ -109,6 +109,7 @@ export default { itemCode: result.package.itemCode, batch: result.label.batch, packingNumber: result.label.packingNumber, + parentPackingNumber: result.package.parentNumber, inventoryStatus: this.fromInventoryStatuses, areaType: this.fromLocationAreaTypeList, bussinessCode: this.bussinessCode diff --git a/src/mycomponents/scan/winScanPackJob.vue b/src/mycomponents/scan/winScanPackJob.vue index beba0fe4..4afb9ece 100644 --- a/src/mycomponents/scan/winScanPackJob.vue +++ b/src/mycomponents/scan/winScanPackJob.vue @@ -50,7 +50,7 @@ const openScanPopup = () => { // 关闭 const closeScanPopup = (content) => { show.value = false - comscan.value.losefocus() + packLoseFocus() emit('close', '') } // 扫描结果 diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue index 4157792e..18fefa7c 100644 --- a/src/pages/issue/job/issueJob.vue +++ b/src/pages/issue/job/issueJob.vue @@ -316,6 +316,9 @@ const getDataListByType = (code) => { const showMessage = (message) => { comMessageRef.value.showErrorMessage(message, (res) => { if (res) { + if (scanPopup.value) { + scanPopup.value.packGetFocus() + } } }) }