配件类型管理
This commit is contained in:
parent
150ca02fdb
commit
f9e373cf1f
|
|
@ -111,7 +111,7 @@
|
||||||
icon="el-icon-delete-solid"
|
icon="el-icon-delete-solid"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['machinery:type:edit']"
|
v-hasPermi="['machinery:type:edit']"
|
||||||
v-if="scope.row.level==3 || scope.row.level==2"
|
v-if="(!scope.row.children)"
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px" >
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px" >
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="20">
|
<el-col :span="20">
|
||||||
<el-form-item label="所属上级" prop="parentId">
|
<el-form-item label="所属上级" prop="parentId" >
|
||||||
<treeselect
|
<treeselect
|
||||||
v-model="form.parentId"
|
v-model="form.parentId"
|
||||||
:options="treeList"
|
:options="treeList"
|
||||||
|
|
@ -151,6 +151,7 @@
|
||||||
:disable-branch-nodes="false"
|
:disable-branch-nodes="false"
|
||||||
placeholder="选择上级菜单"
|
placeholder="选择上级菜单"
|
||||||
@select="onSelect"
|
@select="onSelect"
|
||||||
|
disabled
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue