From c4392bdaa9b6c657eafda5b734bcd4cf95bd75c4 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 14 Apr 2025 17:51:35 +0800 Subject: [PATCH] 2025-04-14 --- .../modules/quote/detail/quoteDetail.vue | 19 ++++++++++++++++--- .../modules/quote/detail/quoteGroupDetail.vue | 19 ++++++++++++++++--- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/views/modules/quote/detail/quoteDetail.vue b/src/views/modules/quote/detail/quoteDetail.vue index ee2da54..051a7b0 100644 --- a/src/views/modules/quote/detail/quoteDetail.vue +++ b/src/views/modules/quote/detail/quoteDetail.vue @@ -904,6 +904,13 @@ export default { createExportData() { return this.dataList; }, + toPartMenu (partNo) { + if (this.$router.resolve(`/part-partInformation`).resolved.name === '404') { + this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}) + } else { + this.$router.push({name:`part-partInformation`,params:{partNo:partNo},}) + } + }, }, watch:{ quote(newVal,oldVal){ @@ -992,9 +999,15 @@ export default { :min-width="item.columnWidth" :label="item.columnLabel"> diff --git a/src/views/modules/quote/detail/quoteGroupDetail.vue b/src/views/modules/quote/detail/quoteGroupDetail.vue index 35b7b66..42c0c40 100644 --- a/src/views/modules/quote/detail/quoteGroupDetail.vue +++ b/src/views/modules/quote/detail/quoteGroupDetail.vue @@ -900,6 +900,13 @@ export default { this.drawerVisible = false; this.saveVisible = false; }, + toPartMenu (partNo) { + if (this.$router.resolve(`/part-partInformation`).resolved.name === '404') { + this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}) + } else { + this.$router.push({name:`part-partInformation`,params:{partNo:partNo},}) + } + }, }, watch:{ quote(newVal,oldVal){ @@ -945,9 +952,15 @@ export default { :min-width="item.columnWidth" :label="item.columnLabel">