商品管理模块

This commit is contained in:
唐明明
2021-09-16 18:10:28 +08:00
parent 899dd2d9b1
commit f77b357b3e
10 changed files with 7543 additions and 4810 deletions

View File

@@ -26,14 +26,15 @@
},
created() {
managesCategory().then(res => {
console.log(res)
this.loding = false
this.category = res
})
},
methods:{
// 选择分类
onCategory(id){
this.$Router.push({name: 'GoodsMagAdd', params: {id}})
onCategory(cid){
this.$Router.push({name: 'GoodsMagAdd', params: {cid, id: this.category[this.stairIndex].category_id}})
}
}
}