From 9aa7e0105929824c1abbd0aabdd8645eaf97cf39 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Fri, 23 Aug 2024 14:50:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=87=8F=E4=B8=80=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/DealOrder.vue | 6 ++++-- src/views/collect/DealOrderBlank.vue | 6 ++++-- src/views/collect/PanelOrderManuTagCode.vue | 5 +++-- src/views/collect/PannelOrderBiz.vue | 1 + 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue index f59b2e25..c28974dc 100644 --- a/src/views/collect/DealOrder.vue +++ b/src/views/collect/DealOrder.vue @@ -418,9 +418,10 @@ export default { }, methods: { - getBillNo(billNo){ + getBillNo(billNo,workPlaceCode){ let post = { billNo: billNo, + workPlaceCode: workPlaceCode, page: 1, limit: 10, } @@ -455,7 +456,8 @@ export default { this.findFromInvList(""); } if (this.formData.billNo != null){ - this.getBillNo(this.formData.billNo) + this.getBillNo(this.formData.billNo,this.formData.workplaceCode) + this.startDeal(); }else { this.findCurOrder(); } diff --git a/src/views/collect/DealOrderBlank.vue b/src/views/collect/DealOrderBlank.vue index 126eb7bd..549183be 100644 --- a/src/views/collect/DealOrderBlank.vue +++ b/src/views/collect/DealOrderBlank.vue @@ -418,9 +418,10 @@ export default { }, methods: { - getBillNo(billNo){ + getBillNo(billNo,workPlaceCode){ let post = { billNo: billNo, + workPlaceCode: workPlaceCode, page: 1, limit: 10, } @@ -455,7 +456,8 @@ export default { this.findFromInvList(""); } if (this.formData.billNo != null){ - this.getBillNo(this.formData.billNo) + this.getBillNo(this.formData.billNo,this.formData.workplaceCode) + this.startDeal(); }else { this.findCurOrder(); } diff --git a/src/views/collect/PanelOrderManuTagCode.vue b/src/views/collect/PanelOrderManuTagCode.vue index 543dffcb..4f123f34 100644 --- a/src/views/collect/PanelOrderManuTagCode.vue +++ b/src/views/collect/PanelOrderManuTagCode.vue @@ -212,8 +212,9 @@ export default { codeRemove(post).then((response) => { if (response.code === 20000) { this.$message.success("操作成功!"); - this.refreshPanel(this) - this.getList() + // this.refreshPanel(this) + this.getList(this); + this.closeScanDialog() } else { this.$message.error(response.message); } diff --git a/src/views/collect/PannelOrderBiz.vue b/src/views/collect/PannelOrderBiz.vue index 947f6736..0d4696d8 100644 --- a/src/views/collect/PannelOrderBiz.vue +++ b/src/views/collect/PannelOrderBiz.vue @@ -292,6 +292,7 @@ export default { closeScanDialog() { this.getPrescribeDetail(this); + this.refreshPanel(this) }, rowStyle({row, rowIndex}) {