优化采购单
This commit is contained in:
@@ -73,6 +73,12 @@ export default interface IStoreOrder {
|
||||
remark?: string;
|
||||
items?: IStoreOrderItem[];
|
||||
created_at?: string;
|
||||
purchase?: {
|
||||
id: number;
|
||||
purchase_no: string;
|
||||
purchase_date: string;
|
||||
status: number;
|
||||
}
|
||||
}
|
||||
|
||||
export const STORE_ORDER_STATUS_MAP: Record<number, { text: string; color: string }> = {
|
||||
@@ -83,13 +89,3 @@ export const STORE_ORDER_STATUS_MAP: Record<number, { text: string; color: strin
|
||||
4: { text: '已完成', color: 'success' },
|
||||
9: { text: '已取消', color: 'error' },
|
||||
};
|
||||
|
||||
/** 待汇总预览行 */
|
||||
export interface IOrderSummaryRow {
|
||||
product_id: number;
|
||||
product_name: string;
|
||||
product_spec: string;
|
||||
unit: string;
|
||||
total_quantity: string;
|
||||
store_count: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user