From 52e70ccd76680e8959cf2def3353917953cc08ec Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 12 Mar 2025 10:16:43 +0800 Subject: [PATCH] =?UTF-8?q?3/12=20=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E5=8D=95=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/CollectOrderTabs.vue | 6 ++-- src/views/collect/IoCreateOrder.vue | 18 ++++++++--- .../collect/device/DevicesIoCreateOrder.vue | 31 ++++++++++++++++--- 3 files changed, 44 insertions(+), 11 deletions(-) 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 @@ 上货完成