diff --git a/src/views/inout/IoCheckErrorOrder.vue b/src/views/inout/IoCheckErrorOrder.vue index f3c387a..ec609ef 100644 --- a/src/views/inout/IoCheckErrorOrder.vue +++ b/src/views/inout/IoCheckErrorOrder.vue @@ -627,10 +627,10 @@ export default { }, getBusType() { if (this.subInvList.length > 0) { - this.filterQuery.locStorageCode = this.subInvList.find(item => item.code == this.filterQuery.invWarehouseCode).parentId + this.filterQuery.locStorageCode = this.subInvList.find(item => item.code == this.filterQuery.invCode).parentId } let query = { - code: this.filterQuery.invWarehouseCode, + code: this.filterQuery.invCode, enabled: true, vueType: "supDelivery", }; @@ -750,6 +750,7 @@ export default { }) .catch(() => { }); + this.getBusType(); }, getSubInvList() { let query = {