diff --git a/apps/l2/src/views/l2/track/rect.vue b/apps/l2/src/views/l2/track/rect.vue
index c0feba5..1ff7b4a 100644
--- a/apps/l2/src/views/l2/track/rect.vue
+++ b/apps/l2/src/views/l2/track/rect.vue
@@ -345,7 +345,7 @@
{{ getOperationText(signalData.operation) }}
-
钢卷号: {{ signalData.entryMatId }}
+ 钢卷号: {{ producingCoilId || signalData.entryMatId || '-' }}
计划ID: {{ signalData.planId || '-' }}
开卷机: {{ signalData.porIdx }}
@@ -647,6 +647,19 @@ export default {
)
},
+ // 当前生产中的计划(取状态为生产中的首条)
+ producingPlan() {
+ return this.planQueue.find(plan => ['PRODUCING', 'PRODUCTING'].includes(plan.status))
+ },
+
+ // 当前生产中的钢卷号
+ producingCoilId() {
+ if (this.producingPlan) {
+ return this.producingPlan.coilid || this.producingPlan.matId || ''
+ }
+ return ''
+ },
+
// 显示的计划列表(根据tab切换)
displayedPlans() {
if (this.activeQueueTab === 'current') {