困料货位

This commit is contained in:
2023-11-06 10:05:10 +08:00
parent 2d3657cd8a
commit 161e73cf97
2 changed files with 231 additions and 269 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -588,17 +588,6 @@
></device-pop>
</div>
</div>
<!-- <div class="machine_block machine_block_5">
<div class="lz_hj_wrap">
<div class="lz_hj" v-for="(e, i) in storageLocation" :key="i">
<img v-show="e.pointStatus === 2" src="../assets/images/device/hj.png" alt="">
<img v-show="e.pointStatus === 3 && e.status === 1" src="../assets/images/device/lz_hj_green.png" alt="">
<img v-show="e.pointStatus === 3 && e.status === 2" src="../assets/images/device/lz_hj_yellow.png" alt="">
<img v-show="e.pointStatus === 3 && e.status === 3" src="../assets/images/device/lz_hj_gray.png" alt="">
<img v-show="e.pointStatus === 3 && e.status === 4" src="../assets/images/device/lz_hj_red.png" alt="">
</div>
</div>
</div> -->
<div class="machine_block machine_block_6">
<div class="lz_hlj_wrap">
<div class="lz_wrap">
@@ -683,7 +672,6 @@ export default {
timer3: null,
mixingMachine: [],
unloadLocation: [],
storageLocation: [],
palletizingRobot: {},
sunloadLocation: [],
depalletizingRobot: {},
@@ -725,8 +713,6 @@ export default {
this.mixingMachine = [...res.mix.mixingMachine]
// 混料机下料位
this.unloadLocation = [...res.mix.unloadLocation]
// 困料货架
// this.storageLocation = [...res.stand.storageLocation]
// 分拣区
this.palletizingRobot = res.sort.palletizingRobot.length > 0 ? [...res.sort.palletizingRobot][0] : {}
this.sunloadLocation = [...res.sort.unloadLocation]
@@ -739,13 +725,13 @@ export default {
// 压机上料位
let loadLocation = []
if (i < 3) {
loadLocation = res.press.loadLocation.slice(2 * i, 2 * i + 2)
loadLocation = res.stand.storageLocation.slice(2 * i, 2 * i + 2)
} else if (i === 3) {
loadLocation = res.press.loadLocation.slice(6, 10)
loadLocation = res.stand.storageLocation.slice(6, 10)
} else if (i === 4) {
loadLocation = res.press.loadLocation.slice(10, 12)
loadLocation = res.stand.storageLocation.slice(10, 12)
} else if (i === 5) {
loadLocation = res.press.loadLocation.slice(12, 24)
loadLocation = res.stand.storageLocation.slice(12, 24)
}
// 压机
let pressMachine = i < 3 ? res.press.pressMachine.slice(2 * i, 2 * i + 2) : res.press.pressMachine.slice(i + 3, i + 4)