import type { BasicFetchResult, BasicPageParams, FilterJson } from '@/api'; // eslint-disable-next-line @typescript-eslint/no-namespace namespace ReceiptInvoiceService { /** 获取审核发票列表接口参数 */ export type GetReceiptInvoiceListParams = BasicPageParams & Pick; /** 获取审核发票列表接口返回值 */ export type GetReceiptInvoiceListResult = BasicFetchResult; export interface ReceiptInvoiceItem { id: number; billNo: string; clientId: number; clientName: string; clientShortName: string; invoiceNo: string; saleOrderList: { id: number; billNo: string; clientContactId: number; clientContactName: string; totalAmount: number; }[]; currencyId: number; currencyName: string; totalAmount: number; createBy: number; createByName: string; createOn: Date; } /** 获取审核发票详情 */ export interface GetReceiptInvoiceDetailResult { id: number; billNo: string; billType: number; clientId: number; clientShortName: string; clientRemark: string; invoiceNo: string; currencyId: number; currencyName: string; totalAmount: number; fileId: string; fileName: string; createBy: number; createByName: string; createOn: Date; remark: string; purTitleEle: string; purAddEle: string; purTelEle: string; purEmailEle: string; purTitleTax: string; purTypeTax: number; purTypeTaxName: string; purNumberTax: string; purAddEleTax: string; purAccount: string; purInvoicingOn: Date; saleOrgId: number; saleOrgName: string; orders: { id: number; billNo: string; orderName: string; currencyId: number; currencyName: string; totalAmount: number; orderInvoicedAmount: number; invoiceRelatedAmount: number; costAmount: number; principalName: string; deadline: Date; closedStatus: number; acceptStatus: number; details: { entryName: string; categoryId: number; categoryName: string; slangId: number; slangName: string; tlangId: number; tlangName: string; countryId: number; countryName: string; totalAmount: number; }[]; files: { attachFileId: string; attachName: string; }[]; }[]; operations: { operationType: number; operationTypeName: string; operator: number; operatorName: string; operationOn: Date; remarks: string; }[]; } /** 获取合并发票列表接口返回值 */ export type GetInvoiceMergeListResult = BasicFetchResult; export interface InvoiceMergeItem { id: number; billNo: string; clientId: number; clientShortName: string; invoiceNo: string; saleOrderList: { id: number; billNo: string; clientContactId: number; clientContactName: string; totalAmount: number; }[]; currencyId: number; currencyName: string; totalAmount: number; createBy: number; createByName: string; createOn: Date; } export interface GetMergeListById { id?: number; billNo: string; pMs: string[]; totalAmount: number; billStatus: string; saleOrderList: string[]; createOn: Date; } export interface GetMergeListClientParams { orgId?: number; clientId: number; currencyId: number; billNo: string; taxRate: number; infoIdEle: number; infoIdTax: number; purTitleEle: string; purTitleTax: string; purTelEle: string; purAddEle: string; purAddEleTax: string; purAccount: string; purEmailEle: string; purEmailTax: string; purTypeTax: number; purNumberTax: string; eleTemplateId: number; } } export type { ReceiptInvoiceService };