From c611fe16c458905303f4c160f228ae70d73c229f Mon Sep 17 00:00:00 2001 From: yinq Date: Sun, 7 Apr 2024 17:35:47 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E4=BA=A7=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E5=8F=91=E5=B8=83=E8=B7=B3=E8=BD=AC=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=B4=BE=E5=B7=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/mes/productOrder/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hw-ui/src/views/mes/productOrder/index.vue b/hw-ui/src/views/mes/productOrder/index.vue index 0dffd2e..d685bb6 100644 --- a/hw-ui/src/views/mes/productOrder/index.vue +++ b/hw-ui/src/views/mes/productOrder/index.vue @@ -795,8 +795,12 @@ export default { }).then(() => { productOrderPublish(this.form).then(response => { this.$modal.msgSuccess("发布成功"); - this.getList(); - this.$router.push("/mes/plan/productplan"); + + const productOrderId = row.productOrderId || this.ids[0]; + const orderCode = row.orderCode; + const params = {queryParams: this.queryParams}; + this.$tab.closeOpenPage(router.currentRoute); + this.$tab.openPage("工单[" + orderCode + "]生产派工", '/mes/product-plan/index/' + productOrderId, params); }); }).catch(() => { });