feat(settlement): 合伙人账单生成后直接同步并支持打款凭证

去掉总部发送与合伙人确认,财务打款后上传凭证,合伙人即可查看状态。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-26 13:04:03 +08:00
parent cb63d382ad
commit 550697c346
15 changed files with 256 additions and 541 deletions
+4
View File
@@ -146,9 +146,11 @@ export type PartnerBillStatus =
export const PARTNER_BILL_STATUS_LABELS: Record<PartnerBillStatus, string> = {
PENDING_REVIEW: '待审核',
/** 历史状态:新账单不再进入 */
AWAITING_CONFIRM: '待合伙人确认',
UNPAID: '未打款',
PAID: '已打款',
/** 历史状态:新账单不再进入 */
REJECTED: '已驳回',
};
@@ -184,6 +186,8 @@ export interface PartnerBillDto {
confirmedAt?: string | null;
sentAt?: string | null;
paidAt?: string | null;
paymentRef?: string | null;
paymentProofUrls?: string[];
rejectReason?: string | null;
}