This commit is contained in:
bb_pan 2025-04-18 13:58:47 +08:00
parent 22f562c0b2
commit 29033c0cfa
2 changed files with 9 additions and 1 deletions

View File

@ -160,7 +160,7 @@
<el-col :span="1.5">
<el-button
v-if="!isView"
v-if="!isEdit && !isAdd"
type="warning"
plain
icon="el-icon-download"

View File

@ -53,6 +53,7 @@
placeholder="请选择所属上级"
@select="handleTypeTree"
style="width: 240px"
@input="changeTree"
/>
</el-form-item>
<el-form-item label="是否绑定库管员" prop="isBind">
@ -464,6 +465,13 @@ export default {
this.queryParams.modelName = ''
}
},
changeTree (val) {
console.log('🚀 ~ changeTree ~ val:', val)
if (!val) {
this.queryParams.typeName = ''
this.queryParams.modelName = ''
}
},
//
filterNode(value, data) {
if (!value) return true