feat(project): rebuild schedule supply module with split structure

This commit is contained in:
2026-02-21 14:25:04 +08:00
parent 270c51de59
commit 13fb0e7146

View File

@@ -38,8 +38,6 @@ const moreProductCount = computed(() =>
Math.max(0, props.productNames.length - visibleProducts.value.length),
);
const noProducts = computed(() => props.productNames.length === 0);
function isWeekDayActive(day: number) {
return props.item.weekDays.includes(day);
}
@@ -95,7 +93,9 @@ function isWeekDayActive(day: number) {
<span v-if="moreProductCount > 0" class="ptm-prod-pill ptm-prod-more">
+{{ moreProductCount }}更多
</span>
<span v-if="noProducts" class="ptm-prod-pill">未关联商品</span>
<span v-if="productNames.length === 0" class="ptm-prod-pill">
未关联商品
</span>
</div>
<div class="ptm-card-ft">