refactor(erp): 更新产品分类和单位选择逻辑

- 优化库存和采购相关页面布局
- 修复供应商和仓库选择功能
- 调整统计页面显示内容
- 优化表单验证逻辑
This commit is contained in:
郑彪辉
2025-04-29 23:41:03 +08:00
parent 907bc6c61d
commit 73b9a68605
19 changed files with 109 additions and 79 deletions

View File

@@ -20,6 +20,14 @@ export function getProductTypeSelect() {
export function getProductTypeInfo(id : number) {
return request.get(`erp/product/type/${id}`);
}
// /**
// * 根据分类id查询商品
// * @param type 商品分类id
// * @returns
// */
// export function getProductByTypeList(type : number) {
// return request.get(`erp/product/getListsByType/${type}`);
// }
/**
* 添加商品分类