From c1f507bcae08db307a37fd28e5545cee1a5c9427 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 23 Feb 2024 12:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=90=88=E5=90=8C=E7=9A=84=E5=AE=A1=E6=89=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 12 ++++++++++++ .../contract/detail/ContractDetailsHeader.vue | 4 ++-- src/views/crm/contract/detail/index.vue | 7 ++++--- src/views/crm/contract/index.vue | 17 ++++++++++++++++- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 08d5db98..43535cc3 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -539,6 +539,18 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, component: () => import('@/views/crm/contract/detail/index.vue') }, + { + path: 'contract/detail', + name: 'CrmContractDetail2', // 特殊:用于适配 BPM 打开详情 + meta: { + title: '合同详情XXX', + noCache: true, + hidden: true, + canTo: true, + activeMenu: '/crm/contract' + }, + component: () => import('@/views/crm/contract/detail/index.vue') + }, { path: 'contact/detail/:id', name: 'CrmContactDetail', diff --git a/src/views/crm/contract/detail/ContractDetailsHeader.vue b/src/views/crm/contract/detail/ContractDetailsHeader.vue index 59edc8f1..775a3f47 100644 --- a/src/views/crm/contract/detail/ContractDetailsHeader.vue +++ b/src/views/crm/contract/detail/ContractDetailsHeader.vue @@ -24,7 +24,7 @@ {{ erpPriceInputFormatter(contract.totalPrice) }} - {{ contract.orderDate ? formatDate(contract.orderDate) : '空' }} + {{ formatDate(contract.orderDate) }} 待实现 @@ -37,7 +37,7 @@