@pisell/pisellos 2.2.69 → 2.2.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1672,14 +1672,13 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
1672
1672
|
// num: item.num, // 使用拆分后的 num
|
|
1673
1673
|
});
|
|
1674
1674
|
});
|
|
1675
|
-
debugger;
|
|
1676
1675
|
newBundle.push(_objectSpread(_objectSpread({}, bundleItem), {}, {
|
|
1677
1676
|
_id: item._id,
|
|
1678
1677
|
product_id: bundleItem.product_id,
|
|
1679
1678
|
price: item.price,
|
|
1680
1679
|
num: item.num,
|
|
1681
1680
|
discount_list: updatedDiscountList,
|
|
1682
|
-
bundle_selling_price: bundleItem.bundle_selling_price !== undefined
|
|
1681
|
+
bundle_selling_price: bundleItem.bundle_selling_price !== undefined ? item.price : undefined
|
|
1683
1682
|
}));
|
|
1684
1683
|
});
|
|
1685
1684
|
}
|
|
@@ -1368,7 +1368,6 @@ var RulesModule = class extends import_BaseModule.BaseModule {
|
|
|
1368
1368
|
// num: item.num, // 使用拆分后的 num
|
|
1369
1369
|
};
|
|
1370
1370
|
});
|
|
1371
|
-
debugger;
|
|
1372
1371
|
newBundle.push({
|
|
1373
1372
|
...bundleItem,
|
|
1374
1373
|
_id: item._id,
|
|
@@ -1376,7 +1375,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
|
|
|
1376
1375
|
price: item.price,
|
|
1377
1376
|
num: item.num,
|
|
1378
1377
|
discount_list: updatedDiscountList2,
|
|
1379
|
-
bundle_selling_price: bundleItem.bundle_selling_price !== void 0
|
|
1378
|
+
bundle_selling_price: bundleItem.bundle_selling_price !== void 0 ? item.price : void 0
|
|
1380
1379
|
});
|
|
1381
1380
|
});
|
|
1382
1381
|
}
|