whycq
2023-11-09 61c1945d810e4e14a1c7b61b2761acf181104f42
Monitor-APP/pages/home/home.vue
@@ -40,13 +40,13 @@
                        <view style="flex: 3;">订单号</view>
                        <view style="flex: 3;">物料号</view>
                        <view style="flex: 1;">数量</view>
                        <view style="flex: 1;">库存</view>
                        <view style="flex: 1;">结余</view>
                     </view>
                     <view class="flex-row" v-for="k in item.agvWaitPakin.orderNo">
                        <view style="flex: 3;">{{k.orderNo}}</view>
                        <view style="flex: 3;">{{item.agvWaitPakin.matnr}}</view>
                        <view style="flex: 1;">{{k.anfme}}</view>
                        <view style="flex: 1;">{{item.agvWaitPakin.anfme + item.agvWaitPakin.volume}}</view>
                        <view style="flex: 1;">{{item.agvWaitPakin.volume}}</view>
                     </view>
                  </view>
                  
@@ -55,18 +55,23 @@
                        <view style="flex: 3;">订单号</view>
                        <view style="flex: 3;">物料号</view>
                        <view style="flex: 1;">数量</view>
                        <view style="flex: 1;">库存</view>
                        <view style="flex: 1;">结余</view>
                     </view>
                     <view class="flex-row" v-for="k in item.agvWrkDetl.orderNo">
                        <view style="flex: 3;">{{k.orderNo}}</view>
                        <view style="flex: 3;">{{item.agvWrkDetl.matnr}}</view>
                        <view style="flex: 1;">{{k.anfme}}</view>
                        <view style="flex: 1;">{{item.agvWrkDetl.anfme + item.agvWrkDetl.volume}}</view>
                        <view style="flex: 1;">{{item.agvWrkDetl.volume}}</view>
                     </view>
                  </view>
                  <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 103 && item.agvWrkDetl">
                     <view style="width: 60%;background-color: #007aff;height: 3vh;display: flex;align-items: center;justify-content: center;font-size: 10rpx;
                        border-radius: 8rpx;" @click="pickIn(item.devNo)">拣料回库</view>
                  </view>
                  <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 107 && item.agvWrkDetl">
                     <view style="width: 60%;background-color: #007aff;height: 3vh;display: flex;align-items: center;justify-content: center;font-size: 10rpx;
                        border-radius: 8rpx;" @click="pickIn(item.devNo)">盘点回库</view>
                  </view>
                  
                  <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 101 && item.agvWrkDetl">
@@ -320,11 +325,14 @@
         // 容器离场
         containerMoveOut(e) {
            let _this = this
            let devNo = {devNo:[e]}
            // console.log(JSON.stringify(devNo));
            uni.request({
               url: `${_this.commonUrl}/agv/basDevp/visualized/container/moveOut`,
               data: {devNo: e},
               data: JSON.stringify(devNo),
               method: 'POST',
               success(res) {
               }
            })
         },