first version
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/** 供应商 */
|
||||
export default interface ISupplier {
|
||||
id?: number;
|
||||
name?: string;
|
||||
contact?: string;
|
||||
phone?: string;
|
||||
address?: string;
|
||||
/** 主营品类 */
|
||||
main_products?: string;
|
||||
status?: number;
|
||||
remark?: string;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
export const SUPPLIER_STATUS_MAP: Record<number, { text: string; color: string }> = {
|
||||
0: { text: '停用', color: 'error' },
|
||||
1: { text: '正常', color: 'success' },
|
||||
};
|
||||
Reference in New Issue
Block a user