Merge branch 'master' of http://49.232.154.205:10100/liujingchao/klp-mono
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user