From d19bfb73e27833905399939f19659cbfff628295 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 22 Feb 2024 12:45:15 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=95=86=E6=9C=BA=E4=BA=A7=E5=93=81=E7=9A=84=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit cf7036d34b4a096fb952020e0c59a99ecfcb255b) --- src/api/crm/business/index.ts | 13 ++++ .../business/detail/BusinessProductList.vue | 66 +++++++++++++++++++ src/views/crm/business/detail/index.vue | 4 ++ 3 files changed, 83 insertions(+) create mode 100644 src/views/crm/business/detail/BusinessProductList.vue diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts index 8dd06563..05b0d5cd 100644 --- a/src/api/crm/business/index.ts +++ b/src/api/crm/business/index.ts @@ -27,6 +27,19 @@ export interface BusinessVO { creatorName?: string // 创建人名称 createTime: Date // 创建时间 updateTime: Date // 更新时间 + products?: [ + { + id: number + productId: number + productName: string + productNo: string + productUnit: number + productPrice: number + businessPrice: number + count: number + totalPrice: number + } + ] } // 查询 CRM 商机列表 diff --git a/src/views/crm/business/detail/BusinessProductList.vue b/src/views/crm/business/detail/BusinessProductList.vue new file mode 100644 index 00000000..f995f3e5 --- /dev/null +++ b/src/views/crm/business/detail/BusinessProductList.vue @@ -0,0 +1,66 @@ + + diff --git a/src/views/crm/business/detail/index.vue b/src/views/crm/business/detail/index.vue index dd8787c2..2d17f39d 100644 --- a/src/views/crm/business/detail/index.vue +++ b/src/views/crm/business/detail/index.vue @@ -23,6 +23,10 @@ :customer-id="business.customerId" /> + + + +