分拣判断
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
<div class="b-item"><span>数量:</span><span>{{topSec1.planQty}}</span></div>
|
<div class="b-item"><span>数量:</span><span>{{topSec1.planQty}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="e-box" v-if="this.topSec2 === []"> -->
|
||||||
<div class="e-box">
|
<div class="e-box">
|
||||||
<div class="a-box">
|
<div class="a-box">
|
||||||
<!-- <div class="a-title">分拣线2:</div> -->
|
<!-- <div class="a-title">分拣线2:</div> -->
|
||||||
@@ -233,16 +234,17 @@ export default {
|
|||||||
},
|
},
|
||||||
async _cockpitsorting () {
|
async _cockpitsorting () {
|
||||||
let res = await cockpitsorting()
|
let res = await cockpitsorting()
|
||||||
this.topSec1 = res.sortingLine.sortingLines[0]
|
|
||||||
this.topSec2 = res.sortingLine.sortingLines[1] || []
|
|
||||||
this.topSec3 = res.sortingLine.rgSortingLine
|
|
||||||
this.topObj = res.sortingLine
|
|
||||||
this.setEchart01()
|
|
||||||
this.setEchart02()
|
|
||||||
this.setEchart03()
|
|
||||||
this.lastWorkOrderList = [...res.lastWorkOrderList]
|
|
||||||
this.chaiduoArr = [...res.unstackingList]
|
this.chaiduoArr = [...res.unstackingList]
|
||||||
this.maduoArr = [...res.stackingList]
|
this.maduoArr = [...res.stackingList]
|
||||||
|
this.lastWorkOrderList = [...res.lastWorkOrderList]
|
||||||
|
// 头部三个图
|
||||||
|
this.topObj = res.sortingLine
|
||||||
|
this.topSec3 = res.sortingLine.rgSortingLine
|
||||||
|
this.topSec1 = res.sortingLine.sortingLines[0] || []
|
||||||
|
this.topSec2 = res.sortingLine.sortingLines[1] || []
|
||||||
|
this.setEchart03()
|
||||||
|
this.setEchart01()
|
||||||
|
this.setEchart02()
|
||||||
},
|
},
|
||||||
setEchart01 () {
|
setEchart01 () {
|
||||||
let colors = ['#1980EA', '#67D470', '#B4C9EF', '#EF5252', '#BCBF5C', '#6d5edd', '#bf41bb']
|
let colors = ['#1980EA', '#67D470', '#B4C9EF', '#EF5252', '#BCBF5C', '#6d5edd', '#bf41bb']
|
||||||
|
|||||||
Reference in New Issue
Block a user