@pisell/pisellos 0.0.69 → 0.0.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.
|
@@ -1221,7 +1221,7 @@ export var BookingByStepImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
1221
1221
|
// 如果资源的 capacity 已经小于了当前需要的 capacity ,则需要把资源给过滤掉
|
|
1222
1222
|
item.renderList = item.renderList.filter(function (n) {
|
|
1223
1223
|
var recordCount = n.capacity || 0;
|
|
1224
|
-
return recordCount
|
|
1224
|
+
return recordCount >= currentCapacity;
|
|
1225
1225
|
});
|
|
1226
1226
|
});
|
|
1227
1227
|
}
|
|
@@ -671,7 +671,7 @@ var BookingByStepImpl = class extends import_BaseModule.BaseModule {
|
|
|
671
671
|
productResources.forEach((item) => {
|
|
672
672
|
item.renderList = item.renderList.filter((n) => {
|
|
673
673
|
const recordCount = n.capacity || 0;
|
|
674
|
-
return recordCount
|
|
674
|
+
return recordCount >= currentCapacity;
|
|
675
675
|
});
|
|
676
676
|
});
|
|
677
677
|
}
|