This commit is contained in:
2023-06-15 14:14:43 +08:00
parent 0c0fe21681
commit 0535bc1bf8
2 changed files with 38 additions and 22 deletions

View File

@@ -3089,7 +3089,7 @@ export const trappedMaterialCondition = () => {
'TrappedShelf6List': [
{
'bom': '3038C2',
'stand_status': '3',
'stand_status': '5',
'standing_time': '8',
'weight': '1500',
'point_name': '压机1困料货位1',
@@ -3119,7 +3119,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '3038C2',
'stand_status': '3',
'stand_status': '2',
'standing_time': '8',
'weight': '1500',
'point_name': '压机1困料货位3',
@@ -3134,7 +3134,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '3015C2',
'stand_status': '3',
'stand_status': '4',
'standing_time': '8',
'weight': '1500',
'point_name': '压机2困料货位1',
@@ -3164,7 +3164,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '5',
'standing_time': '-',
'weight': '-',
'point_name': '压机2困料货位3',
@@ -3181,7 +3181,7 @@ export const trappedMaterialCondition = () => {
'TrappedShelf40List': [
{
'bom': '-',
'stand_status': '',
'stand_status': '2',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位1',
@@ -3196,7 +3196,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '3',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位3',
@@ -3226,7 +3226,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '4',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位7',
@@ -3271,7 +3271,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '5',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位13',
@@ -3301,7 +3301,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '4',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位17',
@@ -3346,7 +3346,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '3',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位23',
@@ -3391,7 +3391,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '5',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位29',
@@ -3436,7 +3436,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '2',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位35',
@@ -3601,7 +3601,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '3',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位18',
@@ -3646,7 +3646,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '5',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位24',
@@ -3706,7 +3706,7 @@ export const trappedMaterialCondition = () => {
},
{
'bom': '-',
'stand_status': '',
'stand_status': '2',
'standing_time': '-',
'weight': '-',
'point_name': '困料货位32',

View File

@@ -26,28 +26,44 @@
<div v-for="(e,i) in TrappedShelf40List.slice(0, 20)" :key="i" class="picbox" :class="{'mgt5': i === 2 || i === 6 || i === 10 || i === 14 || i === 18}">
<!-- <div v-for="(e,i) in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]" :key="i" class="picbox" :class="{'mgt5': i === 2 || i === 6 || i === 10 || i === 14 || i === 18}"> -->
<!-- <img src="../../../images/workshop/lz.png" alt=""> -->
<img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt="">
<!-- <img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt=""> -->
<img v-show="String(e.stand_status) === ''" src="../../../images/workshop/hj.png" alt="">
<img v-show="String(e.stand_status) === '2'" src="../../../images/workshop/lz_hj_green.png" alt="">
<img v-show="String(e.stand_status) === '5'" src="../../../images/workshop/lz_hj_red.png" alt="">
<img v-show="String(e.stand_status) === '3' || String(e.stand_status) === '4'" src="../../../images/workshop/lz_hj_yellow.png" alt="">
</div>
</div>
<div class="box_l2">
<div v-for="(e,i) in TrappedShelf40List.slice(20, 40)" :key="i" class="picbox" :class="{'mgt5': i === 2 || i === 6 || i === 10 || i === 14 || i === 18}">
<!-- <div v-for="(e,i) in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]" :key="i" class="picbox" :class="{'mgt5': i === 2 || i === 6 || i === 10 || i === 14 || i === 18}"> -->
<!-- <img src="../../../images/workshop/lz.png" alt=""> -->
<img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt="">
<!-- <img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt=""> -->
<img v-show="String(e.stand_status) === ''" src="../../../images/workshop/hj.png" alt="">
<img v-show="String(e.stand_status) === '2'" src="../../../images/workshop/lz_hj_green.png" alt="">
<img v-show="String(e.stand_status) === '5'" src="../../../images/workshop/lz_hj_red.png" alt="">
<img v-show="String(e.stand_status) === '3' || String(e.stand_status) === '4'" src="../../../images/workshop/lz_hj_yellow.png" alt="">
</div>
</div>
<div class="box_r1">
<div v-for="(e,i) in TrappedShelf6List.slice(0, 3)" :key="i" class="picbox">
<!-- <div v-for="(e,i) in [1,2,3]" :key="i" class="picbox"> -->
<!-- <img src="../../../images/workshop/lz.png" alt=""> -->
<img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt="">
<!-- <img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt=""> -->
<img v-show="String(e.stand_status) === ''" src="../../../images/workshop/hj.png" alt="">
<img v-show="String(e.stand_status) === '2'" src="../../../images/workshop/lz_hj_green.png" alt="">
<img v-show="String(e.stand_status) === '5'" src="../../../images/workshop/lz_hj_red.png" alt="">
<img v-show="String(e.stand_status) === '3' || String(e.stand_status) === '4'" src="../../../images/workshop/lz_hj_yellow.png" alt="">
</div>
</div>
<div class="box_r2">
<div v-for="(e,i) in TrappedShelf6List.slice(3, 6)" :key="i" class="picbox">
<!-- <div v-for="(e,i) in [1,2,3]" :key="i" class="picbox"> -->
<!-- <img src="../../../images/workshop/lz.png" alt=""> -->
<img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt="">
<!-- <img :class="e.point_status === '0' ? 'hidden': ''" src="../../../images/workshop/lz.png" alt=""> -->
<img v-show="String(e.stand_status) === ''" src="../../../images/workshop/hj.png" alt="">
<img v-show="String(e.stand_status) === '2'" src="../../../images/workshop/lz_hj_green.png" alt="">
<img v-show="String(e.stand_status) === '5'" src="../../../images/workshop/lz_hj_red.png" alt="">
<img v-show="String(e.stand_status) === '3' || String(e.stand_status) === '4'" src="../../../images/workshop/lz_hj_yellow.png" alt="">
</div>
</div>
</div>
@@ -254,7 +270,7 @@ export default {
transform rotate(90deg)
.picbox
width 100%
margin-bottom 15%
margin-bottom 1%
img
_wh(100%, auto)
.box_l2
@@ -266,7 +282,7 @@ export default {
transform rotate(90deg)
.picbox
width 100%
margin-bottom 15%
margin-bottom 1%
img
_wh(100%, auto)
.box_r1
@@ -294,7 +310,7 @@ export default {
img
_wh(100%, auto)
.mgt5
margin-top 65%
margin-top 55%
.box2
_wh(100%, 40%)
_fj(row)