...
|
...
|
@@ -236,8 +236,8 @@ const formatPriceGiftOne = (it) => { |
|
|
maxSelectNumber: it.max_select_number,
|
|
|
promotionType: it.promotion_type,
|
|
|
tag: PROMOTION_TYPE_TAG_MAP[it.promotion_type],
|
|
|
isGift: 'Gift' === it.promotion_type,
|
|
|
isPriceGift: 'Needpaygift' === it.promotion_type
|
|
|
isGift: it.promotion_type === 'Gift',
|
|
|
isPriceGift: it.promotion_type === 'Needpaygift'
|
|
|
};
|
|
|
|
|
|
gift.goodsList = _.map(it.goods_list, (g) => {
|
...
|
...
|
|