mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 03:15:07 +08:00
✨ CRM:完善回款 plan 新增/修改
This commit is contained in:
@ -66,9 +66,9 @@ export const getContract = async (id: number) => {
|
||||
}
|
||||
|
||||
// 查询 CRM 合同下拉列表
|
||||
export const getCrmContractSimpleListByCustomerId = async (customerId: number) => {
|
||||
export const getContractSimpleList = async (customerId: number) => {
|
||||
return await request.get({
|
||||
url: `/crm/contract/list-all-simple-by-customer?customerId=${customerId}`
|
||||
url: `/crm/contract/simple-list?customerId=${customerId}`
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -5,10 +5,10 @@ export interface ReceivablePlanVO {
|
||||
period: number
|
||||
receivableId: number
|
||||
finishStatus: number
|
||||
processInstanceId: number
|
||||
price: number
|
||||
returnTime: Date
|
||||
remindDays: number
|
||||
returnType: number
|
||||
remindTime: Date
|
||||
customerId: number
|
||||
customerName?: string
|
||||
@ -43,6 +43,7 @@ export const getReceivablePlan = async (id: number) => {
|
||||
}
|
||||
|
||||
// 查询回款计划下拉数据
|
||||
// TODO @芋艿:再看看这里
|
||||
export const getReceivablePlanListByContractId = async (customerId: number, contractId: number) => {
|
||||
return await request.get({
|
||||
url: `/crm/receivable-plan/list-all-simple-by-customer?customerId=${customerId}&contractId=${contractId}`
|
||||
|
Reference in New Issue
Block a user