| | |
| | | import type { PageParam, PageResult } from '../../../packages/effects/request/src'; |
| | | import type { PageParam, PageResult } from '@vben/request'; |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | import type { SystemStorageApi } from '#/api/system/storage'; |
| | | |
| | | export namespace CrmSaleQuotationApi { |
| | | /** 报价单信息 */ |
| | |
| | | discountPercent: number; |
| | | totalPrice: number; |
| | | taxRate?: number; |
| | | fileUrl?: string; |
| | | blobIds?: number[]; |
| | | attachmentList?: SystemStorageApi.StorageBlob[]; |
| | | remark?: string; |
| | | status: number; |
| | | contractId?: number; |
| | |
| | | createTime?: Date; |
| | | updateTime?: Date; |
| | | items?: SaleQuotationItem[]; |
| | | quotationType?: string; // 报价类型(general/power/energy) |
| | | capacity?: number; // 合同容量(kVA) |
| | | maxDemand?: number; // 最大需量(kW) |
| | | unitPrice?: number; // 电度单价(元/kWh) |
| | | tariffMode?: string; // 电价模式 |
| | | powerFactorFee?: number; // 力调电费(元) |
| | | billingCycle?: number; // 结算周期(月) |
| | | } |
| | | |
| | | /** 报价单物料明细 */ |