fix(api): 对齐 crm/erp 模块前端 API 类型与后端 VO

CRM 模块:
- customer/business/contact/clue: ownerUserDept→ownerUserDeptName(字段名修正)
- contract/receivable: processInstanceId number→string
- contact: qq string→number(后端是 Long)

ERP 模块:
- stock/move: outTime→moveTime(字段名修正,与后端一致)
vo
xingyu4j 2026-06-07 12:56:48 +08:00
parent c8acf583b9
commit ec32e7003a
7 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ export namespace CrmBusinessApi {
contactNextTime: Date;
ownerUserId: number;
ownerUserName?: string; // 负责人的用户名称
ownerUserDept?: string; // 负责人的部门名称
ownerUserDeptName?: string; // 负责人的部门名称
statusTypeId: number;
statusTypeName?: string;
statusId: number;

View File

@ -15,7 +15,7 @@ export namespace CrmClueApi {
contactNextTime: Date; // 下次联系时间
ownerUserId: number; // 负责人的用户编号
ownerUserName?: string; // 负责人的用户名称
ownerUserDept?: string; // 负责人的部门名称
ownerUserDeptName?: string; // 负责人的部门名称
transformStatus: boolean; // 转化状态
customerId: number; // 客户编号
customerName?: string; // 客户名称

View File

@ -16,10 +16,10 @@ export namespace CrmContactApi {
contactNextTime: Date; // 下次联系时间
ownerUserId: number; // 负责人的用户编号
ownerUserName?: string; // 负责人的用户名称
ownerUserDept?: string; // 负责人的部门名称
ownerUserDeptName?: string; // 负责人的部门名称
mobile: string; // 手机号
telephone: string; // 电话
qq: string; // QQ
qq: number; // QQ
wechat: string; // wechat
email: string; // email
areaId: number; // 所在地

View File

@ -18,7 +18,7 @@ export namespace CrmContractApi {
ownerUserId: number;
ownerUserName?: string;
ownerUserDeptName?: string;
processInstanceId: number;
processInstanceId: string;
auditStatus: number;
orderDate: Date;
startTime: Date;

View File

@ -15,7 +15,7 @@ export namespace CrmCustomerApi {
contactNextTime: Date; // 下次联系时间
ownerUserId: number; // 负责人的用户编号
ownerUserName?: string; // 负责人的用户名称
ownerUserDept?: string; // 负责人的部门名称
ownerUserDeptName?: string; // 负责人的部门名称
ownerUserDeptName?: string; // 负责人的部门名称
lockStatus?: boolean;
dealStatus?: boolean;

View File

@ -14,7 +14,7 @@ export namespace CrmReceivableApi {
contractId?: number;
contract?: Contract;
auditStatus: number;
processInstanceId: number;
processInstanceId: string;
returnTime: Date;
returnType: number;
price: number;

View File

@ -7,7 +7,7 @@ export namespace ErpStockMoveApi {
export interface StockMove {
id?: number; // 调拨编号
no: string; // 调拨单号
outTime: Date; // 调拨时间
moveTime: Date; // 调拨时间
totalCount: number; // 合计数量
totalPrice: number; // 合计金额,单位:元
status: number; // 状态