#
whycq
2023-12-22 176b2474b86f5b5122c56996cac7fa2140bfb0f4
Monitor-APP/pages/home/home.vue
@@ -215,11 +215,15 @@
                     <view class="text-content">
                        <!-- head -->
                        <view class="swiper-head">
                           <view style="width: 25%;">目标站:{{infoText.staNo}}</view>
                           <view style="width: 25%;">商品编号</view>
                           <view style="width: 25%;">商品名称</view>
                           <!-- <view style="width: 20%;">规格</view> -->
                           <view style="width: 25%;">数量</view>
                           <view style="width: 10vw;">目标站:{{infoText.staNo}}</view>
                           <view style="flex: 1;">商品编号</view>
                           <view style="flex: 1;">商品名称</view>
                           <view style="flex: 1;">规格</view>
                           <!-- <view style="flex: 1;">批号</view> -->
                           <view style="width: 10vw;">数量</view>
                           <!-- <view style="flex: 1;">箱码</view> -->
                           <view style="width: 10vw;">库存数量</view>
                           <view style="width: 10vw;">现存数量</view>
                        </view>
                        <!-- body -->
                        <view class="swiper-body">
@@ -231,11 +235,14 @@
                           display-multiple-items="8"
                           circular="true" :autoplay="true" :interval="3000" :duration="1000">
                              <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i">
                                 <view style="width: 25%;">No:{{i+1}}</view>
                                 <view style="width: 25%;">{{item.matNo}}</view>
                                 <view style="width: 25%;">{{item.maknx}}</view>
                                 <!-- <view style="width: 20%;">{{item.specs}}</view> -->
                                 <view style="width: 25%;">{{item.count}}</view>
                                 <view style="width: 10vw;">No:{{i+1}}</view>
                                 <view style="flex: 1;">{{item.matNo}}</view>
                                 <view style="flex: 1;">{{item.maknx}}</view>
                                 <view style="flex:1">{{item.specs}}</view>
                                 <view style="width: 10vw;">{{item.count}}</view>
                                 <!-- <view style="flex: 1;">{{item.zpallet}}</view> -->
                                 <view style="width: 10vw;">{{item.anfme}}</view>
                                 <view style="width: 10vw;">{{parseInt(item.anfme) - parseInt(item.count)}}</view>
                              </swiper-item>
                           </swiper>
                        </view>
@@ -245,9 +252,9 @@
            </view>
         </view>
         <!-- <view class="btn"> -->
            <!-- <button >拣料回库</button> -->
            <!-- <button  size="mini" type="primary" @click="">拣料回库</button> -->
         <!-- </view> -->
            <!-- <button >拣料回库</button>
            <button  size="mini" type="primary" @click="">盘点回库</button>
         </view> -->
      </uni-transition>
      <!-- 异常信息 -->
      <uni-transition :duration="duration" :mode-class="errorInfoMode" :show="errorInfoViewShow">
@@ -438,9 +445,9 @@
                  this.initlineChart()
                  this.initPieChart()
                  this.getOther()
               },3000)
            },1000)
         },1000)
               },500)
            },500)
         },500)
      },
      onLoad() {
         
@@ -455,13 +462,10 @@
         },1000)
         
         setInterval(()=>{
            this.getDate2()
            this.getUrl()
            this.getInfo()
            this.getError()
            // this.getInfo2()
            // this.getError2()
            this.controller()
            this.getServerData()
            this.initlineChart()
            this.initPieChart()
            this.getOther()
         },600000)
      },
      methods: {