diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 73f33655..6ca1c795 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 @@