first version

This commit is contained in:
liu
2026-07-23 20:41:25 +08:00
parent 00a0938a1b
commit 10cff754a4
211 changed files with 11577 additions and 842 deletions
+27
View File
@@ -0,0 +1,27 @@
/** 结算表 */
export default interface ISettlement {
id?: number;
settlement_no?: string;
recon_id?: number;
store_id?: number;
store?: { id: number; name: string };
recon?: { id: number; recon_no: string; title: string };
period_start?: string;
period_end?: string;
total_amount?: string;
actual_amount?: string;
diff_amount?: string;
/** 0待结算 1已结算 */
status?: number;
file_path?: string;
operator_id?: number;
operator?: { id: number; nickname: string };
settled_at?: string;
remark?: string;
created_at?: string;
}
export const SETTLEMENT_STATUS_MAP: Record<number, { text: string; color: string }> = {
0: { text: '待结算', color: 'default' },
1: { text: '已结算', color: 'success' },
};