回筐、账单完成
This commit is contained in:
@@ -74,11 +74,30 @@ export interface IBill {
|
||||
added_amount: string;
|
||||
/** 账单总金额 = 商品金额 + 配送费 + 附加金额 */
|
||||
total_amount: string;
|
||||
/** 支付状态:0未支付 1已支付 */
|
||||
status?: number;
|
||||
/** 付款时间(线下收款手动登记) */
|
||||
paid_at?: string | null;
|
||||
/** 付款备注(线下收款信息) */
|
||||
pay_remark?: string;
|
||||
paid_operator_id?: number;
|
||||
order_count?: number;
|
||||
remark?: string;
|
||||
created_at?: string;
|
||||
/** 门店账单列表/详情接口附带 */
|
||||
store?: { id: number; name: string; address?: string; contact?: string; phone?: string } | null;
|
||||
purchase?: { id: number; purchase_no: string; purchase_date: string; status?: number } | null;
|
||||
operator?: { id: number; nickname: string } | null;
|
||||
paid_operator?: { id: number; nickname: string } | null;
|
||||
orders_count?: number;
|
||||
}
|
||||
|
||||
/** 账单支付状态映射 */
|
||||
export const BILL_STATUS_MAP: Record<number, { text: string; color: string }> = {
|
||||
0: { text: '未支付', color: 'warning' },
|
||||
1: { text: '已支付', color: 'success' },
|
||||
};
|
||||
|
||||
/** 账单生成预览行(按门店汇总,金额只读) */
|
||||
export interface IBillPrepareStore {
|
||||
store_id: number;
|
||||
|
||||
Reference in New Issue
Block a user