28 lines
755 B
TypeScript
28 lines
755 B
TypeScript
/** 结算表 */
|
|
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' },
|
|
};
|