diff --git a/src/api/crm/receivable/plan/index.ts b/src/api/crm/receivable/plan/index.ts index 3136aede..d5a72871 100644 --- a/src/api/crm/receivable/plan/index.ts +++ b/src/api/crm/receivable/plan/index.ts @@ -11,9 +11,16 @@ export interface ReceivablePlanVO { remindDays: number remindTime: Date customerId: number + customerName?: string contractId: number + contractNo?: string ownerUserId: number + ownerUserName?: string remark: string + creator: string // 创建人 + creatorName?: string // 创建人名称 + createTime: Date // 创建时间 + updateTime: Date // 更新时间 receivable?: { price: number returnTime: Date diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 08d5db98..2bf47b4d 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -539,6 +539,17 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, component: () => import('@/views/crm/contract/detail/index.vue') }, + { + path: 'receivable-plan/detail/:id', + name: 'CrmReceivablePlanDetail', + meta: { + title: '回款计划详情', + noCache: true, + hidden: true, + activeMenu: '/crm/contract' + }, + component: () => import('@/views/crm/receivable/plan/detail/index.vue') + }, { path: 'contact/detail/:id', name: 'CrmContactDetail', diff --git a/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsHeader.vue b/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsHeader.vue new file mode 100644 index 00000000..b0e00443 --- /dev/null +++ b/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsHeader.vue @@ -0,0 +1,44 @@ + + diff --git a/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsInfo.vue b/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsInfo.vue new file mode 100644 index 00000000..c25259b1 --- /dev/null +++ b/src/views/crm/receivable/plan/detail/ReceivablePlanDetailsInfo.vue @@ -0,0 +1,83 @@ + + diff --git a/src/views/crm/receivable/plan/detail/index.vue b/src/views/crm/receivable/plan/detail/index.vue new file mode 100644 index 00000000..cf021e07 --- /dev/null +++ b/src/views/crm/receivable/plan/detail/index.vue @@ -0,0 +1,103 @@ + + diff --git a/src/views/crm/receivable/plan/index.vue b/src/views/crm/receivable/plan/index.vue index 8ddf3a3b..414ac018 100644 --- a/src/views/crm/receivable/plan/index.vue +++ b/src/views/crm/receivable/plan/index.vue @@ -79,8 +79,13 @@ - - + + + { } } -/** 打开客户详情 */ +/** 打开详情 */ const { push } = useRouter() +const openDetail = (id: number) => { + push({ name: 'CrmReceivablePlanDetail', params: { id } }) +} + +/** 打开客户详情 */ const openCustomerDetail = (id: number) => { push({ name: 'CrmCustomerDetail', params: { id } }) }