feat(settlement): 门店账单确认打款支持上传凭证照片

财务确认打款与提现通过可附带 OSS 凭证图,详情与导出展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-30 15:25:56 +08:00
parent b375fab44a
commit e68eb4d38c
11 changed files with 293 additions and 114 deletions
+11
View File
@@ -66,6 +66,14 @@ export interface StoreWithdrawSummaryDto {
bankAccount?: StoreWithdrawBankAccountDto | null;
}
/** 确认打款 / 提现通过时可附带的凭证照片上限 */
export const PAYMENT_PROOF_IMAGE_MAX_COUNT = 9;
export interface ConfirmFinancePayDto {
paymentRef?: string;
paymentProofUrls?: string[];
}
export interface StoreWithdrawRequestDto {
id: string;
withdrawNo: string;
@@ -78,6 +86,7 @@ export interface StoreWithdrawRequestDto {
reviewedAt?: string | null;
paidAt?: string | null;
paymentRef?: string | null;
paymentProofUrls?: string[];
}
export interface StorePayoutDto {
@@ -171,6 +180,8 @@ export interface StoreBillDto {
payoutAmount: number;
status: FinancePayStatus;
paidAt?: string | null;
paymentRef?: string | null;
paymentProofUrls?: string[];
}
export interface WineryBillDto {