CRM:完善回款计划

This commit is contained in:
puhui999
2024-02-24 23:01:29 +08:00
parent 8f8591fc45
commit 6725318f27
6 changed files with 232 additions and 193 deletions

View File

@@ -65,6 +65,13 @@ export const getContract = async (id: number) => {
return await request.get({ url: `/crm/contract/get?id=` + id })
}
// 查询 CRM 合同下拉列表
export const getCrmContractSimpleListByCustomerId = async (customerId: number) => {
return await request.get({
url: `/crm/contract/list-all-simple-by-customer?customerId=${customerId}`
})
}
// 新增 CRM 合同
export const createContract = async (data: ContractVO) => {
return await request.post({ url: `/crm/contract/create`, data })