diff --git a/src/views/collect/CollectOrderTabs.vue b/src/views/collect/CollectOrderTabs.vue index 5835a41d..e55e2d6f 100644 --- a/src/views/collect/CollectOrderTabs.vue +++ b/src/views/collect/CollectOrderTabs.vue @@ -637,7 +637,8 @@ export default { component: DevicesIoCreateOrderOut, // 假设你需要传递的参数 componentProps: { - fromSplitType: 'out' + fromSplitType: 'out', + fifoSplitTag: 0 } }, { @@ -1062,7 +1063,8 @@ export default { component: DevicesIoCreateOrderOut, // 假设你需要传递的参数 componentProps: { - fromSplitType: 'out' + fromSplitType: 'out', + fifoSplitTag: 0 } } ] diff --git a/src/views/collect/IoCreateOrder.vue b/src/views/collect/IoCreateOrder.vue index a48e23eb..b221fa7d 100644 --- a/src/views/collect/IoCreateOrder.vue +++ b/src/views/collect/IoCreateOrder.vue @@ -1022,6 +1022,9 @@ export default { this.redMesgOld = true } } + if (this.queueStatus == 0){ + this.getOrder() + } } }) @@ -2356,17 +2359,24 @@ export default { getOrder() { let query = { workPlaceCode: this.workplaceId, - workPlaceQueueCode: this.curQueue.code + workPlaceQueueCode: this.curQueue.code, + action: this.orderFormData.action, + fifoSplitTag: this.fifoSplitTag } getProcessingOrder(query).then(res => { if (res.code == 20000) { if (res.data != null) { - this.refreshOrder(res.data) - }else { + this.orderFormData = res.data this.scanCode = '' this.result = '' this.refreshCodesPanel() - this.init() + // this.refreshOrder(res.data) + }else { + this.refreshCodesPanel() + // this.scanCode = '' + // this.result = '' + // this.refreshCodesPanel() + // this.init() } } // this.redMesg = false diff --git a/src/views/collect/device/DevicesIoCreateOrder.vue b/src/views/collect/device/DevicesIoCreateOrder.vue index b7f567b6..61e556b2 100644 --- a/src/views/collect/device/DevicesIoCreateOrder.vue +++ b/src/views/collect/device/DevicesIoCreateOrder.vue @@ -55,8 +55,8 @@ 上货完成