|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="head-container">
|
|
|
- <el-input v-model="materialGroupName" class="mb-20px" clearable placeholder="请输入物料组名称">
|
|
|
+ <el-input v-model="materialGroupName" class="mb-20px" clearable placeholder="请输入分类名称">
|
|
|
<template #prefix>
|
|
|
<Icon icon="ep:search" />
|
|
|
</template>
|
|
@@ -79,7 +79,7 @@ const handleMenuClick = (action) => {
|
|
|
const getTree = async () => {
|
|
|
const res = await MaterialGroupApi.getSimpleMaterialGroupList()
|
|
|
materialGroupList.value = []
|
|
|
- let device: Tree = { id: 0, name: '顶级物料组分类', children: [] }
|
|
|
+ let device: Tree = { id: 0, name: '物料组分类', children: [] }
|
|
|
device.children = handleTree(res)
|
|
|
materialGroupList.value.push(device)
|
|
|
// materialGroupList.value.push(...handleTree(res))
|