Commit 79409412 by 李嘉林

售罄商品根据大后台配置是否展示

parent 27016ee0
...@@ -271,8 +271,7 @@ const componentOptions = { ...@@ -271,8 +271,7 @@ const componentOptions = {
// rows: this.showRowNum() ? this.data.classificationLoadNum : this.getItemNum(), // rows: this.showRowNum() ? this.data.classificationLoadNum : this.getItemNum(),
sortColumn: goodsSort, sortColumn: goodsSort,
sortType: goodsSort != 2 ? 1 : 0, sortType: goodsSort != 2 ? 1 : 0,
whetherShowSoldOutGoods: this.data.datas.componentData whetherShowSoldOutGoods: app.shop_configuration.whetherShowSoldOutGoods,
.whetherShowSoldOutGoods,
whetherQueryCollectCount: true, whetherQueryCollectCount: true,
whetherUseVirtualSalesQty: true, whetherUseVirtualSalesQty: true,
whetherUseVirtualCollectCount: true, whetherUseVirtualCollectCount: true,
...@@ -335,7 +334,7 @@ const componentOptions = { ...@@ -335,7 +334,7 @@ const componentOptions = {
page: 1, page: 1,
rows: terminalProductIds.length, rows: terminalProductIds.length,
terminalProductIds: terminalProductIds, terminalProductIds: terminalProductIds,
whetherShowSoldOutGoods: this.whetherShowSoldOutGoods whetherShowSoldOutGoods: app.shop_configuration.whetherShowSoldOutGoods
}; // 当前页 // 一页多少条 }; // 当前页 // 一页多少条
this.briefProduct(briefQuery); this.briefProduct(briefQuery);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment