...
|
...
|
@@ -71,8 +71,8 @@ const formatAdvanceGoods = (gifts, isGift) => { |
|
|
id: good.product_skn,
|
|
|
name: good.product_name,
|
|
|
thumb: good.goods_images ? helpers.image(good.goods_images, 120, 160) : '',
|
|
|
price: transPrice(good.last_price),
|
|
|
marketPrice: isGift ? '0.00' : transPrice(good.market_price),
|
|
|
price: isGift ? '0.00' : transPrice(good.last_price),
|
|
|
salesPrice: good.last_price !== good.sales_price ? transPrice(good.sales_price) : false,
|
|
|
count: good.storage_number
|
|
|
};
|
|
|
})
|
...
|
...
|
@@ -105,6 +105,7 @@ const formatCartGoods = (goodData, isAdvanceCart, isValid, inValidLow) => { |
|
|
size: goodData.size_name,
|
|
|
checked: goodData.selected === 'Y',
|
|
|
price: transPrice(goodData.last_vip_price),
|
|
|
salesPrice: goodData.sales_price !== goodData.last_vip_price ? transPrice(goodData.sales_price) : false,
|
|
|
isVipPrice: goodData.sales_price !== goodData.last_vip_price && goodData.discount_tag === 'V',
|
|
|
isStudents: goodData.sales_price !== goodData.last_vip_price && goodData.discount_tag === 'S',
|
|
|
count: goodData.buy_number,
|
...
|
...
|
|