diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue
index 9a8b7258..f3dfb187 100644
--- a/src/views/system/dept/invWarehouse.vue
+++ b/src/views/system/dept/invWarehouse.vue
@@ -29,29 +29,32 @@
border
highlight-current-row
@current-change="handSubInvCurrentChange"
+ row-key="id"
+ :default-expand-all="isExpandAll"
+ :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
>
-
+
{
this.loading = false;
this.total = response.data.total;
- this.list = response.data.list || [];
+ let invlist = response.data.list || [];
+ this.list = this.handleTree(invlist, "code", "parentCode");
+
})
.catch(() => {
this.loading = false;
diff --git a/src/views/system/dept/invWarehouse1.vue b/src/views/system/dept/invWarehouse1.vue
deleted file mode 100644
index 3cce4dae..00000000
--- a/src/views/system/dept/invWarehouse1.vue
+++ /dev/null
@@ -1,1837 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 添加仓库
-
-
- 导入
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 管理用户
-
- 管理单据类型
-
- 管理货位
-
- 编辑
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 关联单据类型
-
-
-
-
-
-
-
-
-
-
-
- {{ busTableTitle }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选入
-
-
-
-
-
-
-
-
- 移除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 关联
-
- 解绑
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 关联
-
- 解绑
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 禁用
- 正常
-
-
-
-
-
-
-
- 是否允许供应商使用
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ enableMap[scope.row.advanceType] }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index c9920d22..6b893276 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -22,7 +22,9 @@
重置
- 搜索
+ 搜索
+
新增
@@ -87,15 +89,18 @@
编辑
新增
删除