diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts
index ee06ad6d..4f566a3a 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 @@
-
+
+
+
+ {{ erpPriceInputFormatter(scope.row.totalPrice - scope.row.totalReceivablePrice) }}
+
+
-
+
+
+
+ {{ erpPriceInputFormatter(scope.row.totalPrice - scope.row.totalReceivablePrice) }}
+
+
{{ 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 @@
-
+
+
+
+ {{ erpPriceInputFormatter(scope.row.totalPrice - scope.row.totalReceivablePrice) }}
+
+
{
// 设置金额
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 {