import type { PageParam } from '@/api'; /** * 合同 */ export interface Contract { // 合同id contractId?: any; // 项目id projectId?: any; // 承租方 companyId?: any; // 出租方 customerId?: any; // 业务负责人 customerContact?: string; // 合同编号 contactNumber?: string; // 签订日期 signDate?: string; // 开始日期 startDate?: string; // 截止日期 endDate?: string; // 合同金额 contractAmount?: number; // 合同约定金额 contactAgreeAmount?: string; // 合同是否已存档 isInStock?: number; // 是否自动结算 autoSettle?: number; // 结算方式 settleMethod?: number; // 跨月结算日期 extendMonthDate?: number; userId?: any; projectName?: any; customerName?: any; companyName?: any; } /** * 合同搜索条件 */ export interface ContractParam extends PageParam { contactNumber?: string; createTimeStart?: string; createTimeEnd?: string; betweenTime?: any; } export const ContractSettleMethod = [ '跨月结算', '自然月结算', '按日结算', '系数结算-跨月', '系数结算-自然月', ]