Authored by 郭成尧

Merge branch 'feature/bugfix61' into release/6.1

... ... @@ -438,23 +438,12 @@ function transformJit(packageList) {
packages: []
};
_.forEach(packageList, (pValue, pKey) => {
_.forEach(packageList, pValue => {
let perPackageData = {
packageType: '包裹' + (pKey + 1) + ':' + pValue.title,
packageType: pValue.title,
goods: []
};
if (pValue.shopping_cost !== '0.00') {
_.assign(perPackageData, {
expressCost: pValue.shopping_cost
});
}
if (pValue.shopping_cut_cost !== '0.00') {
_.assign(perPackageData, {
discount: pValue.shopping_cut_cost
});
}
_.forEach(pValue.goods_list, gValue => {
perPackageData.goods.push({
thumb: gValue.goods_images,
... ...