CRM:增加回款的待办事项逻辑

This commit is contained in:
YunaiV
2024-02-26 12:24:47 +08:00
parent 154f84a89e
commit d220ffae6a
18 changed files with 456 additions and 339 deletions

View File

@@ -64,3 +64,8 @@ export const exportReceivable = async (params) => {
export const submitReceivable = async (id: number) => {
return await request.put({ url: `/crm/receivable/submit?id=${id}` })
}
// 获得待审核回款数量
export const getAuditReceivableCount = async () => {
return await request.get({ url: '/crm/receivable/audit-count' })
}

View File

@@ -67,3 +67,8 @@ export const deleteReceivablePlan = async (id: number) => {
export const exportReceivablePlan = async (params) => {
return await request.download({ url: `/crm/receivable-plan/export-excel`, params })
}
// 获得待回款提醒数量
export const getReceivablePlanRemindCount = async () => {
return await request.get({ url: '/crm/receivable-plan/remind-count' })
}