diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue index 63fd55c6..2509958c 100644 --- a/src/pages/inventoryMove/coms/comMoveRecord.vue +++ b/src/pages/inventoryMove/coms/comMoveRecord.vue @@ -588,7 +588,7 @@ if (checkDirectoryItemExist(this.itemTypeList, itemType)) { if (checkDirectoryItemExist(this.itemStatusList, itemStatus)) { - this.$refs.scanPopup.getScanResult(result) + this.$refs.okToHoldRecordPackRef.itemCode=result.label.itemCode } else { this.$refs.okToHoldRecordPackRef.itemCode = '' var hint = getListItemStatusDesc(this.itemStatusList); diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue index 9d5c0471..34093675 100644 --- a/src/pages/issue/job/issueDetailBatch.vue +++ b/src/pages/issue/job/issueDetailBatch.vue @@ -485,7 +485,7 @@ }); //目前任务只到一个库位 var itemCodes = [] - let locationCode = this.detailSource[0].toLocationCode + let locationCode = this.toLocationCode this.detailSource.forEach(toLocation => { itemCodes.push(toLocation.itemCode) })