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