...
|
...
|
@@ -139,7 +139,7 @@ const formatCartGoods = (cartGoods, isAdvanceCart, inValid, isOffShelves, analys |
|
|
productPrice: transPrice(it.last_vip_price), // self::transPrice($value['real_price']);
|
|
|
productNum: Number(it.buy_number),
|
|
|
storageNum: Number(it.storage_number),
|
|
|
isSoldOut: parseInt(it.storage_number, 10) === 0 || parseInt(it.off_shelves, 10) === 1,// 已售罄
|
|
|
isSoldOut: parseInt(it.storage_number, 10) === 0 || parseInt(it.off_shelves, 10) === 1, // 已售罄
|
|
|
isVipPrice: it.sales_price !== it.last_vip_price && it.discount_tag === 'V',
|
|
|
isStuPrice: it.sales_price !== it.last_vip_price && it.discount_tag === 'S',
|
|
|
yohoIcon: Number(it.get_yoho_coin) || 0,
|
...
|
...
|
@@ -534,6 +534,7 @@ const formatPromotionPools = (pools, selectedGiftsList, isAdvance, analysis) => |
|
|
return pool;
|
|
|
});
|
|
|
};
|
|
|
|
|
|
// 失效处理
|
|
|
const formatSoldOutPools = (pools, selectedGiftsList, isAdvance, analysis) => {
|
|
|
return _.map(pools, p => {
|
...
|
...
|
|