From 8b7e44a4d4f8ac06d23089868c563e1cd38a661e Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 29 四月 2025 14:42:58 +0800 Subject: [PATCH] 1.原材料下单路由跳转修改 --- src/layout/components/TagsView/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 73d03a4..3b014fb 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -168,7 +168,11 @@ closeSelectedTag(view) { this.$tab.closePage(view).then(({ visitedViews }) => { if (this.isActive(view)) { - this.toLastView(visitedViews, view) + if (view.fullPath.includes('/materialOrder/customsInspectionOrder') || view.fullPath.includes('/materialOrder/customsInspectionView')) { + this.$router.push('/business/materialOrder') + } else { + this.toLastView(visitedViews, view) + } } }) }, -- Gitblit v1.9.3