fix: 店铺分类查询商品列表添加店铺id
This commit is contained in:
parent
5745ec68f5
commit
b3cfa37bb0
@ -834,6 +834,13 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
storeId: {
|
||||||
|
type: Number,
|
||||||
|
default() {
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
viewtype: {
|
viewtype: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 1,
|
default: 1,
|
||||||
@ -1569,6 +1576,13 @@ export default {
|
|||||||
params.market_category_ids = that.post.market_category_ids.join(",");
|
params.market_category_ids = that.post.market_category_ids.join(",");
|
||||||
params.product_tags = that.post.product_tags.join(",");
|
params.product_tags = that.post.product_tags.join(",");
|
||||||
|
|
||||||
|
if(this.storeId!=0){
|
||||||
|
params.store_id = this.storeId
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log('storeId',this.storeId);
|
||||||
|
|
||||||
|
|
||||||
that.$.request({
|
that.$.request({
|
||||||
url: url,
|
url: url,
|
||||||
data: params,
|
data: params,
|
||||||
|
|||||||
@ -128,6 +128,7 @@
|
|||||||
<product-list
|
<product-list
|
||||||
ref="productList"
|
ref="productList"
|
||||||
:uniId="ptConfig.uniId"
|
:uniId="ptConfig.uniId"
|
||||||
|
:storeId="shopInfo.store_id"
|
||||||
:isFilterFixed="ptConfig.isFilterFixed"
|
:isFilterFixed="ptConfig.isFilterFixed"
|
||||||
:isShowFilter="ptConfig.isShowFilter"
|
:isShowFilter="ptConfig.isShowFilter"
|
||||||
:isShowLoading="ptConfig.isShowLoading"
|
:isShowLoading="ptConfig.isShowLoading"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user