From 5dc390fa8622361cd2f1e3f20e4db412e80ef815 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 25 Feb 2024 09:23:36 +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=20plan=20=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 5cb86589c6466836ae5632b50091c3c760d3b65d) --- src/api/crm/receivable/plan/index.ts | 4 + src/views/crm/customer/CustomerImportForm.vue | 1 + src/views/crm/receivable/plan/index.vue | 95 +++++++++++++++++-- 3 files changed, 90 insertions(+), 10 deletions(-) diff --git a/src/api/crm/receivable/plan/index.ts b/src/api/crm/receivable/plan/index.ts index be5a4535..3136aede 100644 --- a/src/api/crm/receivable/plan/index.ts +++ b/src/api/crm/receivable/plan/index.ts @@ -14,6 +14,10 @@ export interface ReceivablePlanVO { contractId: number ownerUserId: number remark: string + receivable?: { + price: number + returnTime: Date + } } // 查询回款计划列表 diff --git a/src/views/crm/customer/CustomerImportForm.vue b/src/views/crm/customer/CustomerImportForm.vue index af802ab2..7f92dc83 100644 --- a/src/views/crm/customer/CustomerImportForm.vue +++ b/src/views/crm/customer/CustomerImportForm.vue @@ -81,6 +81,7 @@ const submitForm = async () => { const formData = new FormData() formData.append('updateSupport', updateSupport.value) formData.append('file', fileList.value[0].raw) + // TODO @芋艿:后面是不是可以采用这种形式,去掉 uploadHeaders await CustomerApi.handleImport(formData) } diff --git a/src/views/crm/receivable/plan/index.vue b/src/views/crm/receivable/plan/index.vue index 39923080..8ddf3a3b 100644 --- a/src/views/crm/receivable/plan/index.vue +++ b/src/views/crm/receivable/plan/index.vue @@ -67,10 +67,27 @@ - + + + + - + - + + + + + + + + + + + + + + +