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) })