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:
@ -1,5 +1,6 @@
|
||||
import request from '@/config/axios'
|
||||
import { ProductExpandVO } from '@/api/crm/product'
|
||||
import { TransferReqVO } from '@/api/crm/customer'
|
||||
|
||||
export interface ContractVO {
|
||||
id: number
|
||||
@ -21,6 +22,12 @@ export interface ContractVO {
|
||||
status: number
|
||||
remark: string
|
||||
productItems: ProductExpandVO[]
|
||||
creatorName: string
|
||||
updateTime?: Date
|
||||
createTime?: Date
|
||||
customerName: string
|
||||
contactName: string
|
||||
ownerUserName: string
|
||||
}
|
||||
|
||||
// 查询 CRM 合同列表
|
||||
@ -62,3 +69,8 @@ export const exportContract = async (params) => {
|
||||
export const handleApprove = async (id: number) => {
|
||||
return await request.put({ url: `/crm/contract/approve?id=${id}` })
|
||||
}
|
||||
|
||||
// 合同转移
|
||||
export const transfer = async (data: TransferReqVO) => {
|
||||
return await request.put({ url: '/crm/contract/transfer', data })
|
||||
}
|
||||
|
Reference in New Issue
Block a user