...
|
...
|
@@ -218,14 +218,12 @@ const tool = { |
|
|
* @returns {{}}
|
|
|
*/
|
|
|
processBundle(bundleData, skn, gid) {
|
|
|
// let discountPrice = (_.get(bundleData, 'bundleInfo.salesPrice', 0) -
|
|
|
// _.get(bundleData, 'bundleInfo.discountPrice', 0));
|
|
|
// let priceShow = _.split(discountPrice + '', '.')[0];
|
|
|
let subPrice = _.get(bundleData, 'bundleInfo.subPrice', 0);
|
|
|
|
|
|
return {
|
|
|
title: '优惠套装',
|
|
|
href: helpers.urlFormat('/product/bundle/detail', {skn: skn, gid: gid}),
|
|
|
description: '立省¥' + _.get(bundleData, 'bundleInfo.subPrice', 0),
|
|
|
description: subPrice ? '立省¥' + subPrice : 0,
|
|
|
productList: productProcess.processProductList(bundleData && bundleData.productList)
|
|
|
};
|
|
|
},
|
...
|
...
|
|