优化
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
import type { PageResult } from '@/modules/first-leg/api/firstLeg'
|
||||
|
||||
export type FinanceBillStatus = 'DRAFT' | 'ISSUED' | 'PARTIALLY_PAID' | 'PAID' | 'VOIDED'
|
||||
|
||||
export interface FinanceBillQuery {
|
||||
keyword?: string
|
||||
status?: FinanceBillStatus
|
||||
page?: number
|
||||
size?: number
|
||||
}
|
||||
|
||||
export interface FinanceBillSummary {
|
||||
id: string
|
||||
billNo: string
|
||||
customerName: string
|
||||
currencyCode: 'CNY'
|
||||
totalAmount: string
|
||||
receivedAmount: string
|
||||
outstandingAmount: string
|
||||
issueDate: string | null
|
||||
dueDate: string | null
|
||||
status: FinanceBillStatus
|
||||
}
|
||||
|
||||
export interface FinanceBillLine {
|
||||
id: string
|
||||
orderId: string | null
|
||||
feeNo: string | null
|
||||
feeName: string
|
||||
amount: string
|
||||
currencyCode: 'CNY'
|
||||
}
|
||||
|
||||
export interface FinanceReceiptRecord {
|
||||
id: string
|
||||
receiptNo: string
|
||||
receivedAt: string
|
||||
amount: string
|
||||
currencyCode: 'CNY'
|
||||
method: string | null
|
||||
voucherNo: string | null
|
||||
allocatedAmount: string
|
||||
}
|
||||
|
||||
export interface FinanceBillDetail extends FinanceBillSummary {
|
||||
lines: FinanceBillLine[]
|
||||
receipts: FinanceReceiptRecord[]
|
||||
}
|
||||
|
||||
export interface FinanceBillPage extends PageResult<FinanceBillSummary> {
|
||||
totalBilledAmount: string
|
||||
totalReceivedAmount: string
|
||||
totalOutstandingAmount: string
|
||||
currencyCode: 'CNY'
|
||||
}
|
||||
Reference in New Issue
Block a user