Showing
1 changed file
with
1 additions
and
1 deletions
@@ -275,7 +275,7 @@ exports.handleOutletstrendGoodData = (origin) => { | @@ -275,7 +275,7 @@ exports.handleOutletstrendGoodData = (origin) => { | ||
275 | dest.title = '潮品推荐'; | 275 | dest.title = '潮品推荐'; |
276 | dest.goods = productProcess.processProductList(origin.product_list); | 276 | dest.goods = productProcess.processProductList(origin.product_list); |
277 | _.forEach(dest.goods, (value, key) => { | 277 | _.forEach(dest.goods, (value, key) => { |
278 | - dest.goods[key].discount = (value.sales_price / value.market_price).toFixed(2) * 10; | 278 | + dest.goods[key].discount = (value.salesPrice / value.marketPrice).toFixed(2) * 10; |
279 | }); | 279 | }); |
280 | 280 | ||
281 | return dest; | 281 | return dest; |
-
Please register or login to post a comment