mirror of
https://gitee.com/krxd/shuyuan.git
synced 2026-04-08 13:25:54 +08:00
feat(erp): 增加食材分类筛选功能
- 在产品列表页面添加食材分类筛选功能 - 实现食材分类树形结构展示和选择 - 修改产品查询接口,支持按分类筛选 - 优化产品选择页面布局和样式
This commit is contained in:
@@ -191,4 +191,12 @@ export function deleteProduct(id : number) {
|
||||
showErrorMessage: true,
|
||||
showSuccessMessage: true,
|
||||
});
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 获取食材分类tree
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getProductClassifyTreeList(params : Record<string, any>) {
|
||||
return request.get(`erp/product/tree`, params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user