l2后端牛该修改

This commit is contained in:
2025-12-16 13:21:02 +08:00
parent 133d41c4e5
commit c1d428b381

View File

@@ -345,7 +345,7 @@
{{ getOperationText(signalData.operation) }}
</span>
</div>
<div><strong>钢卷号:</strong> {{ signalData.entryMatId }}</div>
<div><strong>钢卷号:</strong> {{ producingCoilId || signalData.entryMatId || '-' }}</div>
<div><strong>计划ID:</strong> {{ signalData.planId || '-' }}</div>
<div v-if="signalData.porIdx !== null && signalData.porIdx !== undefined">
<strong>开卷机:</strong> {{ 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') {