diff --git a/hw-ui/src/views/mes/productOrder/index.vue b/hw-ui/src/views/mes/productOrder/index.vue index 0dffd2ec..d685bb6d 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(() => { });