From c5e5228e7849a0caad53e4fa7bcb9958da2e8f3e Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 25 Feb 2024 19:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=9B=9E=E6=AC=BE=E7=9A=84=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/receivable/index.ts | 10 ++ src/router/modules/remaining.ts | 13 ++- .../detail/ReceivableDetailsHeader.vue | 43 ++++++++ .../detail/ReceivableDetailsInfo.vue | 62 ++++++++++++ src/views/crm/receivable/detail/index.vue | 98 +++++++++++++++++++ src/views/crm/receivable/index.vue | 8 +- .../crm/receivable/plan/detail/index.vue | 2 +- 7 files changed, 233 insertions(+), 3 deletions(-) create mode 100644 src/views/crm/receivable/detail/ReceivableDetailsHeader.vue create mode 100644 src/views/crm/receivable/detail/ReceivableDetailsInfo.vue create mode 100644 src/views/crm/receivable/detail/index.vue diff --git a/src/api/crm/receivable/index.ts b/src/api/crm/receivable/index.ts index 7d2d3a2d..1c184925 100644 --- a/src/api/crm/receivable/index.ts +++ b/src/api/crm/receivable/index.ts @@ -5,14 +5,24 @@ export interface ReceivableVO { no: string planId: number customerId: number + customerName?: string contractId: number + contract?: { + no: string + totalPrice: number + } auditStatus: number processInstanceId: number returnTime: Date returnType: string price: number ownerUserId: number + ownerUserName?: string remark: string + creator: string // 创建人 + creatorName?: string // 创建人名称 + createTime: Date // 创建时间 + updateTime: Date // 更新时间 } // 查询回款列表 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 2bf47b4d..f63bee6e 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -546,10 +546,21 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '回款计划详情', noCache: true, hidden: true, - activeMenu: '/crm/contract' + activeMenu: '/crm/receivable-plan' }, component: () => import('@/views/crm/receivable/plan/detail/index.vue') }, + { + path: 'receivable/detail/:id', + name: 'CrmReceivableDetail', + meta: { + title: '回款详情', + noCache: true, + hidden: true, + activeMenu: '/crm/receivable' + }, + component: () => import('@/views/crm/receivable/detail/index.vue') + }, { path: 'contact/detail/:id', name: 'CrmContactDetail', diff --git a/src/views/crm/receivable/detail/ReceivableDetailsHeader.vue b/src/views/crm/receivable/detail/ReceivableDetailsHeader.vue new file mode 100644 index 00000000..62201dec --- /dev/null +++ b/src/views/crm/receivable/detail/ReceivableDetailsHeader.vue @@ -0,0 +1,43 @@ + + diff --git a/src/views/crm/receivable/detail/ReceivableDetailsInfo.vue b/src/views/crm/receivable/detail/ReceivableDetailsInfo.vue new file mode 100644 index 00000000..003029fb --- /dev/null +++ b/src/views/crm/receivable/detail/ReceivableDetailsInfo.vue @@ -0,0 +1,62 @@ + + diff --git a/src/views/crm/receivable/detail/index.vue b/src/views/crm/receivable/detail/index.vue new file mode 100644 index 00000000..51a3ad20 --- /dev/null +++ b/src/views/crm/receivable/detail/index.vue @@ -0,0 +1,98 @@ + + diff --git a/src/views/crm/receivable/index.vue b/src/views/crm/receivable/index.vue index 0ec29bdb..856a07f1 100644 --- a/src/views/crm/receivable/index.vue +++ b/src/views/crm/receivable/index.vue @@ -72,7 +72,13 @@ - + + +