mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 11:25:07 +08:00
CRM:完善回款计划
This commit is contained in:
@ -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 })
|
||||
|
@ -90,6 +90,11 @@ export const importCustomerTemplate = () => {
|
||||
return request.download({ url: '/crm/customer/get-import-template' })
|
||||
}
|
||||
|
||||
// 导入客户
|
||||
export const handleImport = async (formData) => {
|
||||
return await request.upload({ url: `/crm/customer/import`, data: formData })
|
||||
}
|
||||
|
||||
// 客户列表
|
||||
export const getCustomerSimpleList = async () => {
|
||||
return await request.get({ url: `/crm/customer/simple-list` })
|
||||
|
@ -4,8 +4,7 @@ export interface ReceivablePlanVO {
|
||||
id: number
|
||||
period: number
|
||||
receivableId: number
|
||||
status: number
|
||||
checkStatus: string
|
||||
finishStatus: number
|
||||
processInstanceId: number
|
||||
price: number
|
||||
returnTime: Date
|
||||
@ -14,7 +13,6 @@ export interface ReceivablePlanVO {
|
||||
customerId: number
|
||||
contractId: number
|
||||
ownerUserId: number
|
||||
sort: number
|
||||
remark: string
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user