|
@@ -143,6 +143,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return{
|
|
|
+ shopID:0,
|
|
|
isSuperv:false,
|
|
|
isProductChecked:false,
|
|
|
validFlagText:'',
|
|
@@ -206,7 +207,7 @@
|
|
|
break;
|
|
|
}
|
|
|
this.$api.getComStorage('userInfo').then((resolve) =>{
|
|
|
- this.listQuery.shopID = resolve.shopID
|
|
|
+ this.listQuery.shopID = this.shopID = resolve.shopID
|
|
|
this.GetProductListInfo()
|
|
|
this.GetPrimaryClassification()
|
|
|
})
|
|
@@ -261,7 +262,9 @@
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
+ this.dataList = []
|
|
|
this.isEmpty = true
|
|
|
+ this.pullUpOn = true
|
|
|
}
|
|
|
}).catch(error =>{
|
|
|
this.$util.msg(error.msg,2000);
|
|
@@ -321,6 +324,7 @@
|
|
|
},
|
|
|
handSearchClear(){//重置搜索条件
|
|
|
this.listQuery = Object.assign({}, defaultListQuery)
|
|
|
+ this.listQuery.shopID = this.shopID
|
|
|
this.validFlagText='';
|
|
|
this.featuredFlagText='';
|
|
|
this.firstClassificationText='';
|