左侧树过滤
This commit is contained in:
parent
501806a899
commit
6cca5b5226
@ -162,6 +162,7 @@ export default {
|
||||
multiple: true,
|
||||
// 显示搜索条件
|
||||
showSearch: true,
|
||||
itemTypeName: null,
|
||||
// 总条数
|
||||
total: 0,
|
||||
//物料产品分类树
|
||||
@ -204,6 +205,12 @@ export default {
|
||||
form: {},
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
// 根据名称筛选分类树
|
||||
itemTypeName(val) {
|
||||
this.$refs.tree.filter(val);
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
this.getTreeselect();
|
||||
|
Loading…
Reference in New Issue
Block a user