|
@@ -1,5 +1,9 @@
|
|
<template>
|
|
<template>
|
|
- <div :key="viewKey" class="screen-container">
|
|
|
|
|
|
+ <div
|
|
|
|
+ :key="viewKey"
|
|
|
|
+ class="screen-container"
|
|
|
|
+ @click.stop="animationState = !animationState"
|
|
|
|
+ >
|
|
<common-header title="线边库库存统计" />
|
|
<common-header title="线边库库存统计" />
|
|
<div class="screen-content">
|
|
<div class="screen-content">
|
|
<div class="chartsCarouselBox itemBackgroud">
|
|
<div class="chartsCarouselBox itemBackgroud">
|
|
@@ -10,7 +14,7 @@
|
|
<div class="a2 center1Text">出库数量</div>
|
|
<div class="a2 center1Text">出库数量</div>
|
|
<div class="a2 center1Text">库存预警</div>
|
|
<div class="a2 center1Text">库存预警</div>
|
|
</div>
|
|
</div>
|
|
- <div class="carouselBody">
|
|
|
|
|
|
+ <div v-if="animationState" class="carouselBody">
|
|
<TransitionGroup name="list" tag="ul">
|
|
<TransitionGroup name="list" tag="ul">
|
|
<li
|
|
<li
|
|
class="carouselItem tableStyle"
|
|
class="carouselItem tableStyle"
|
|
@@ -45,6 +49,41 @@
|
|
</li>
|
|
</li>
|
|
</TransitionGroup>
|
|
</TransitionGroup>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else class="carouselBody">
|
|
|
|
+ <div name="list" tag="ul">
|
|
|
|
+ <li
|
|
|
|
+ class="carouselItem tableStyle"
|
|
|
|
+ :key="item"
|
|
|
|
+ style="height: 9.6vh"
|
|
|
|
+ v-for="item in showDatas"
|
|
|
|
+ >
|
|
|
|
+ <div class="a1 infoBackgroud centerText textComent">
|
|
|
|
+ {{ item.materialName }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="a2 infoBackgroud centerText textComent">
|
|
|
|
+ {{ item.allNum }}
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="a2 infoBackgroud centerText textComent"
|
|
|
|
+ style="font-weight: bolder"
|
|
|
|
+ >
|
|
|
|
+ {{ item.inNum }}
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="a2 infoBackgroud centerText textComent"
|
|
|
|
+ style="font-weight: bolder"
|
|
|
|
+ >
|
|
|
|
+ {{ item.outNum }}
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="a2 infoBackgroud centerText textComent"
|
|
|
|
+ style="font-weight: bolder"
|
|
|
|
+ >
|
|
|
|
+ {{ item.warningNum }}
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -54,6 +93,7 @@
|
|
import CommonHeader from "@/views/report/statistics/screens/common-header.vue";
|
|
import CommonHeader from "@/views/report/statistics/screens/common-header.vue";
|
|
import { getLineSideStock, getOffLineInfo } from "@/api/bigScreen";
|
|
import { getLineSideStock, getOffLineInfo } from "@/api/bigScreen";
|
|
import { useTimeInterval } from "@/hooks/timeInterval";
|
|
import { useTimeInterval } from "@/hooks/timeInterval";
|
|
|
|
+const animationState = ref(true);
|
|
const viewKey = ref(false);
|
|
const viewKey = ref(false);
|
|
const checkFullscreen = () => {
|
|
const checkFullscreen = () => {
|
|
viewKey.value = !viewKey.value;
|
|
viewKey.value = !viewKey.value;
|