CRM:完善合同的待回款金额

This commit is contained in:
YunaiV
2024-02-25 20:50:30 +08:00
parent 25665f548e
commit 154f84a89e
7 changed files with 62 additions and 11 deletions

View File

@ -270,8 +270,7 @@ const handleContractChange = async (contractId: number) => {
// 设置金额
const contract = contractList.value.find((item) => item.id === contractId)
if (contract) {
// TODO @芋艿:后续可以改成未还款金额
formData.value.price = contract.totalPrice
formData.value.price = contract.totalPrice - contract.totalReceivablePrice
}
}
}

View File

@ -308,7 +308,6 @@ const handleProcessDetail = (row: ReceivableApi.ReceivableVO) => {
push({ name: 'BpmProcessInstanceDetail', query: { id: row.processInstanceId } })
}
// TODO puhui999: 回款流程审批表单详情查看后面完善
/** 导出按钮操作 */
const handleExport = async () => {
try {