展示未分配数量

This commit is contained in:
2025-10-23 14:42:00 +08:00
parent 2fe6f0c576
commit 2e5c04d2d4
2 changed files with 15 additions and 2 deletions

View File

@@ -21,6 +21,9 @@
{{ formatRFC3339(batch.end_date) }}
</template>
</span>
<span v-if="batch.unassigned_pig_count !== undefined && batch.unassigned_pig_count > 0" class="red-text">
未分配数量: {{ batch.unassigned_pig_count }}
</span>
</div>
</div>
<div class="batch-actions">
@@ -221,4 +224,8 @@ export default {
text-align: center;
padding: 20px 0;
}
.batch-info-line .red-text {
color: red;
}
</style>