...
|
...
|
@@ -407,7 +407,9 @@ const helpers = { |
|
|
* @param list
|
|
|
* @returns {*}
|
|
|
*/
|
|
|
handleProductList(list, q) {
|
|
|
handleProductList(list, q, showBrand) {
|
|
|
showBrand = typeof showBrand === 'undefined' ? true : showBrand;
|
|
|
|
|
|
if (_.isArray(list)) {
|
|
|
list.forEach(g => {
|
|
|
let goodsList = g.goodsList;
|
...
|
...
|
@@ -426,6 +428,7 @@ const helpers = { |
|
|
}
|
|
|
g.salesPrice = g.salesPrice || g.marketPrice;
|
|
|
g.defaultImages = defaultImages;
|
|
|
g.showBrand = showBrand;
|
|
|
if (g.salesPrice === g.marketPrice) {
|
|
|
delete g.marketPrice;
|
|
|
}
|
...
|
...
|
|