refactor(仓库管理): 优化复合架功能并移除无用代码

- 将CoilSelector默认标签页改为'my'
- 为WarehouseBird和WarehouseInterlaced组件添加id属性传递
- 实现复合架功能的条件渲染和权限控制
- 移除废弃的category相关代码和视图
- 在coil/merge.vue中使用WarehouseSelect组件替代原下拉框
This commit is contained in:
砂糖
2025-12-24 10:00:26 +08:00
parent dabc6657e0
commit 9d686b23dc
8 changed files with 44 additions and 333 deletions

View File

@@ -1,44 +0,0 @@
import request from '@/utils/request'
// 查询通用分类列表
export function listCategory(query) {
return request({
url: '/wms/category/list',
method: 'get',
params: query
})
}
// 查询通用分类详细
export function getCategory(categoryId) {
return request({
url: '/wms/category/' + categoryId,
method: 'get'
})
}
// 新增通用分类
export function addCategory(data) {
return request({
url: '/wms/category',
method: 'post',
data: data
})
}
// 修改通用分类
export function updateCategory(data) {
return request({
url: '/wms/category',
method: 'put',
data: data
})
}
// 删除通用分类
export function delCategory(categoryId) {
return request({
url: '/wms/category/' + categoryId,
method: 'delete'
})
}