@pisell/pisellos 0.0.277 → 0.0.278
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.
|
@@ -2593,7 +2593,7 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
2593
2593
|
return acc;
|
|
2594
2594
|
}, 0);
|
|
2595
2595
|
// 如果已使用容量超过了当前类型资源的容量,则不可用
|
|
2596
|
-
if (
|
|
2596
|
+
if (otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
|
|
2597
2597
|
bookingLeft = 0;
|
|
2598
2598
|
count = 0;
|
|
2599
2599
|
}
|
|
@@ -1819,7 +1819,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
|
|
|
1819
1819
|
acc += Array.from(mSet.values()).reduce((acc2, curr2) => acc2 + curr2, 0);
|
|
1820
1820
|
return acc;
|
|
1821
1821
|
}, 0);
|
|
1822
|
-
if (
|
|
1822
|
+
if (otherCartNeedCapacity + usedCapacity >= currentTypeResourcesCapacity) {
|
|
1823
1823
|
bookingLeft = 0;
|
|
1824
1824
|
count = 0;
|
|
1825
1825
|
}
|