配件类型管理

This commit is contained in:
jjLv 2024-10-29 14:22:58 +08:00
parent 150ca02fdb
commit f9e373cf1f
2 changed files with 4 additions and 3 deletions

View File

@ -111,7 +111,7 @@
icon="el-icon-delete-solid"
@click="handleDelete(scope.row)"
v-hasPermi="['machinery:type:edit']"
v-if="scope.row.level==3 || scope.row.level==2"
v-if="(!scope.row.children)"
>
删除
</el-button>
@ -141,7 +141,7 @@
<el-form ref="form" :model="form" :rules="rules" label-width="120px" >
<el-row :gutter="24">
<el-col :span="20">
<el-form-item label="所属上级" prop="parentId">
<el-form-item label="所属上级" prop="parentId" >
<treeselect
v-model="form.parentId"
:options="treeList"
@ -151,6 +151,7 @@
:disable-branch-nodes="false"
placeholder="选择上级菜单"
@select="onSelect"
disabled
/>
</el-form-item>
</el-col>

View File

@ -474,7 +474,7 @@
const supplierId = row.supplierId
getFacturerDetail(supplierId).then((response) => {
this.form = response.data;
this.showHouse = true
this.title = '修改'
})