|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
|
|
|
}else{
|
|
|
this.form.catId = 0
|
|
|
- getCategoryToGoods({status:'',page:this.list.page,...this.form,flower:0,searchText:this.searchText}).then(res => {
|
|
|
+ getCategoryToGoods({status:'',page:this.list.page,...this.form,flower:'',searchText:this.searchText}).then(res => {
|
|
|
this.completes(res)
|
|
|
})
|
|
|
}
|
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
this.getPlantClass()
|
|
|
},
|
|
|
getPlantClass() {
|
|
|
- categoryListInfo({flower:0}).then(res => {
|
|
|
+ categoryListInfo({flower:''}).then(res => {
|
|
|
this.tabbar = res.data;
|
|
|
if(this.tabbar && this.tabbar[0] && this.tabbar[0].id){
|
|
|
this.form.catId = this.tabbar[0].id
|
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getPlantList() {
|
|
|
- return getCategoryToGoods({status:'',page:this.list.page,...this.form,flower:0,searchText:this.searchText}).then(res => {
|
|
|
+ return getCategoryToGoods({status:'',page:this.list.page,...this.form,flower:'',searchText:this.searchText}).then(res => {
|
|
|
this.completes(res)
|
|
|
})
|
|
|
},
|