import type { BasicFetchResult, BasicPageParams, FilterJson } from '@/api'; // eslint-disable-next-line @typescript-eslint/no-namespace namespace RefundService { /** 获取扣款坏账单列表接口参数 */ export type GetRefundListParams = BasicPageParams & Pick; /** 获取扣款坏账单列表接口返回值 */ export type GetRefundListResult = BasicFetchResult; /** * RefundBillListResp,扣款/坏账单列表 */ export interface RefundBillListResp { /** * 单据号 */ billNo?: null | string; /** * 状态 */ billStatus?: number; billStatusName?: null | string; /** * 类型 */ billType?: number; billTypeName?: null | string; /** * 客户ID */ clientId?: number; /** * 客户全称 */ clientName?: null | string; /** * 客户简称 */ clientShortName?: null | string; /** * 发起人 */ createBy?: number; /** * 发起人名字 */ createByName?: null | string; /** * 发起时间 */ createOn?: Date; /** * 币别内码 */ currencyId?: number; /** * 币别 */ currencyName?: null | string; /** * 单据ID */ id?: number; /** * 发票号:收款公司4位缩写+YYYYMM+6位流水号 */ invoiceNo?: null | string; /** * 价税合计 */ totalAmount?: number; } /** 获取扣款坏账单详细 */ /** * RefundBillDetailsResp */ export interface RefundBillDetailsResp { /** * 审核人 */ approveBy?: number; approveByName?: null | string; /** * 审核时间 */ approveOn?: Date | null; /** * 收款退款单证明附件 */ attachmentPath?: null | string; /** * 单据编号:'BD'+YYYYMM+6位流水号 */ billNo?: null | string; /** * 状态 */ billStatus?: number; billStatusName?: null | string; /** * 类型 */ billType?: number; billTypeName?: null | string; /** * 客户内码 */ clientId?: number; /** * 客户简称 */ clientShortName?: null | string; /** * 发起人 */ createBy?: number; /** * 发起人名字 */ createByName?: null | string; /** * 发起时间 */ createOn?: Date; /** * 币别内码 */ currencyId?: number; /** * 币别 */ currencyName?: null | string; /** * 已扣款金额 */ deductiondAmount?: null | string; /** * 单据内码 */ id?: number; /** * 发票的金额 */ invoiceAmount?: null | string; invoiceCreateByName?: null | string; invoiceCreateOn?: Date; invoiceFileId?: null | string; /** * 发票号:收款公司4位缩写+YYYYMM+6位流水号 */ invoiceNo?: null | string; /** * 申请原因 */ reason?: null | string; refundEntrys?: RefundBillEntry[] | null; /** * 价税合计 */ totalAmount?: number; } /** * RefundBillEntry */ export interface RefundBillEntry { /** * 条目已开金额 */ entryDeductionedAmount?: number; /** * 单据内码 */ id?: number; /** * 发票条总金额 */ invoiceEntryAmount?: number; /** * 条目名称 */ invoiceEntryName?: null | string; refundbillId?: number; salOrderNo?: null | string; serviceType?: null | string; /** * 本次扣款金额 */ totalAmount?: number; } } export type { RefundService };