From fc33ea1120569328b4a6fe757de36fa187b89e68 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Wed, 9 Oct 2024 16:12:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=88=86=E5=8D=95=E7=9A=84=E9=9B=86?= =?UTF-8?q?=E8=A3=85=E7=AE=B1=E6=95=B0=E6=8D=AE=E6=B1=A1=E6=9F=93=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CostEntry/actionBar.vue | 2 +- .../default/tabs/components/TabContent.vue | 9 ++- .../seaexport/detail/components/container.vue | 59 +++++++++++++++---- .../detail/components/ladingInfo.tsx | 2 +- .../detail/components/ladingInfo.vue | 11 ++-- .../operation/seaexport/detail/index.vue | 25 ++++++-- .../seaexport/detail/modules/cargoInfo.vue | 11 +++- .../seaexport/detail/modules/goodsTable.vue | 54 +++++++++-------- .../detail/modules/operationArea.vue | 26 ++++---- .../seaexport/detail/modules/otherInfo.vue | 2 +- src/views/taskmanage/index.vue | 3 +- 11 files changed, 137 insertions(+), 67 deletions(-) diff --git a/src/components/CostEntry/actionBar.vue b/src/components/CostEntry/actionBar.vue index 2f326ff3..6555f60f 100644 --- a/src/components/CostEntry/actionBar.vue +++ b/src/components/CostEntry/actionBar.vue @@ -427,7 +427,7 @@ } // 整票提交 const submitRP = () => { - + submitAll() } // 提交全部 const submitAll = () => { diff --git a/src/layouts/default/tabs/components/TabContent.vue b/src/layouts/default/tabs/components/TabContent.vue index c79557f7..96f70cdf 100644 --- a/src/layouts/default/tabs/components/TabContent.vue +++ b/src/layouts/default/tabs/components/TabContent.vue @@ -27,7 +27,7 @@ import { useDesign } from '/@/hooks/web/useDesign' import { useI18n } from '/@/hooks/web/useI18n' import { useTabDropdown } from '../useTabDropdown' - + import { useRoute } from 'vue-router' export default defineComponent({ name: 'TabContent', components: { Dropdown, Icon }, @@ -41,14 +41,17 @@ setup(props) { const { prefixCls } = useDesign('multiple-tabs-content') const { t } = useI18n() - + const route = useRoute() const getTitle = computed(() => { const { tabItem: { meta } = {} } = props return meta && t(meta.title as string) }) function RText(data) { let Rdata = '' - if (data == '海运出口-详情') { + if (route?.query?.tabName) { + // 路由参数存在tab标签页名称直接赋值 + Rdata = route.query.tabName + } else if (data == '海运出口-详情') { if (props.tabItem.query.isCopy) { if (props.tabItem.query.copyId) { Rdata = `海运出口-复制${Number(props.tabItem.query.copyId) + 1}` diff --git a/src/views/operation/seaexport/detail/components/container.vue b/src/views/operation/seaexport/detail/components/container.vue index 970d28dd..c1ac76c1 100644 --- a/src/views/operation/seaexport/detail/components/container.vue +++ b/src/views/operation/seaexport/detail/components/container.vue @@ -32,7 +32,7 @@ - 调入主单信息 + 调入主单集装箱信息 @@ -41,10 +41,10 @@