@@ -197,7 +189,36 @@ export default {
},
WarehousingList:[],
handleSelect:[],
- chooselist:[]
+ chooselist:[],
+ classifyList:[{
+ label: '物料分类',
+ children: [{
+ label: '成品',
+ id:110
+ },{
+ label: '铝合金锭',
+ id:100
+ },{
+ label: '锌合金锭',
+ id:101
+ },{
+ label: '模具配件',
+ id:111
+ },{
+ label: '配件',
+ id:102
+ },{
+ label: '辅料',
+ id:108
+ },{
+ label: '模具',
+ id:101
+ }]
+ }],
+ defaultProps: {
+ children: 'children',
+ label: 'label'
+ },
};
},
mounted() {
@@ -205,6 +226,12 @@ export default {
this.queryTable()
},
methods: {
+ //商品分类点击某个(树)
+ handleNodeClick(data) {
+ this.searchForm.chiff=data.id
+ this.paging.page=1
+ this.queryTable()
+ },
// 仓库列表
getBranchList(){
getBranchList().then((res)=>{