From 154f84a89e6d8a78eac40ba6525884886738fd0a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 25 Feb 2024 20:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=90=88=E5=90=8C=E7=9A=84=E5=BE=85=E5=9B=9E=E6=AC=BE=E9=87=91?= =?UTF-8?q?=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/contract/index.ts | 1 + .../backlog/components/ContractAuditList.vue | 21 +++++++++++++++++-- .../backlog/components/ContractRemindList.vue | 21 +++++++++++++++++-- .../contract/detail/ContractDetailsHeader.vue | 5 +++-- src/views/crm/contract/index.vue | 21 +++++++++++++++++-- src/views/crm/receivable/ReceivableForm.vue | 3 +-- src/views/crm/receivable/index.vue | 1 - 7 files changed, 62 insertions(+), 11 deletions(-) diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts index eb7b1505..faee9495 100644 --- a/src/api/crm/contract/index.ts +++ b/src/api/crm/contract/index.ts @@ -21,6 +21,7 @@ export interface ContractVO { totalProductPrice: number discountPercent: number totalPrice: number + totalReceivablePrice: number signContactId: number signContactName?: string signUserId: number diff --git a/src/views/crm/backlog/components/ContractAuditList.vue b/src/views/crm/backlog/components/ContractAuditList.vue index 62a80b4d..9c13237c 100644 --- a/src/views/crm/backlog/components/ContractAuditList.vue +++ b/src/views/crm/backlog/components/ContractAuditList.vue @@ -101,7 +101,24 @@ - + + + + - + + + + {{ formatDate(contract.orderDate) }} - - 待实现 + + {{ erpPriceInputFormatter(contract.totalReceivablePrice) }} + {{ contract.ownerUserName }} diff --git a/src/views/crm/contract/index.vue b/src/views/crm/contract/index.vue index 80529d57..1461df04 100644 --- a/src/views/crm/contract/index.vue +++ b/src/views/crm/contract/index.vue @@ -150,7 +150,24 @@ - + + + + { // 设置金额 const contract = contractList.value.find((item) => item.id === contractId) if (contract) { - // TODO @芋艿:后续可以改成未还款金额 - formData.value.price = contract.totalPrice + formData.value.price = contract.totalPrice - contract.totalReceivablePrice } } } diff --git a/src/views/crm/receivable/index.vue b/src/views/crm/receivable/index.vue index 856a07f1..1a8b32de 100644 --- a/src/views/crm/receivable/index.vue +++ b/src/views/crm/receivable/index.vue @@ -308,7 +308,6 @@ const handleProcessDetail = (row: ReceivableApi.ReceivableVO) => { push({ name: 'BpmProcessInstanceDetail', query: { id: row.processInstanceId } }) } -// TODO puhui999: 回款流程审批表单详情查看后面完善 /** 导出按钮操作 */ const handleExport = async () => { try {