#
whycq
2024-02-07 666e98f2fb2fad2f12d44125d637767984826d44
Monitor-APP/pages/home/home.vue
@@ -420,7 +420,7 @@
            infoType: 0,
            text: '',
            infoText: {
               title: 'AGV拣选信息',
               title: '',
               staNo: "",
               matnr: "",
               maknx: "",
@@ -471,7 +471,6 @@
         },
         getVisualized() {
            let that = this
            console.log(this.devNo);
            let param = {devNo: `${that.devNo}`}
            uni.request({
               url: `${that.commonUrl}/rpc/info`,
@@ -489,7 +488,19 @@
                  console.log(res);
                  that.result = res
                  if (res.code === 200 && res.data) {
                     that.locs = res.data
                     that.locs = res.data.agvWrkDetls
                     if (res.data.agvWrkMast) {
                        if (res.data.agvWrkMast.ioType == 107) {
                           that.infoText.title = '盘点出库'
                        } else if (res.data.agvWrkMast.ioType == 103) {
                           that.infoText.title = '拣料出库'
                        } else {
                           that.infoText.title = '全板出库'
                        }
                     } else{
                        that.infoText.title = '入库作业'
                     }
                  }
               }
            })