feat(wms): 新增钢卷状态管理和库位查询功能

refactor(warehouse): 将仓库相关术语统一修改为库位
style(warehouse): 优化库位管理界面表单布局
fix(warehouse): 修复树形组件数据展示问题

新增钢卷状态管理功能,支持在列表中直接修改状态
为钢卷管理添加库位查询条件,优化数据展示逻辑
统一将仓库相关术语修改为库位,保持系统一致性
移除部分无用代码和注释,优化界面布局
This commit is contained in:
砂糖
2025-10-31 15:07:03 +08:00
parent 6028f90246
commit 77f43fa334
8 changed files with 812 additions and 54 deletions

View File

@@ -38,7 +38,7 @@ export default {
methods: {
getWarehouseTree() {
listWarehouse().then(response => {
this.treeData = this.handleTree(response.data, 'warehouseId', 'parentId');
this.treeData = [{ warehouseName: '全部', value: undefined }, ...this.handleTree(response.data, 'warehouseId', 'parentId')];
});
},
handleTree(data, id, parentId) {