#
whycq
2024-07-02 4109a5f3adb87196b250e1a9c19c18d69b64e30d
Monitor-APP/pages/home/home.vue
@@ -423,9 +423,9 @@
            this.getOther()
            // this.getDate()
            this.getDate2()
            this.getInfo()
            // this.getInfo()
            // this.getError()
            // this.getInfo2()
            this.getInfo2()
            // this.getError2()
            this.getUrl()
            this.controller()
@@ -449,33 +449,13 @@
            let that = this
            var result = ycqdata.dataInfo2
            var   res = result.data
            if (res.data && res.data !== "") {
            if (res.data && res.data.length > 0) {
               if (that.infoType == 2 || that.infoType == 3) {
                  return;
               }
               // infoType1:只有拣料等信息
               that.infoType = 1
               switch (res.data[0].ioType) {
                  case 101:
                     that.infoText.title = '全板出库'
                     break;
                  case 103:
                     that.infoText.title = '检料出库'
                     break;
                  case 107:
                     that.infoText.title = '盘点出库'
                     break;
                  case 1:
                     that.infoText.title = '入库'
                     break;
                  case 10:
                     that.infoText.title = '空托入库'
                     break;
                  case 110:
                     that.infoText.title = '空托出库'
                     break;
               }
               that.infoText.title = res.data[0].ioType$
               that.swiperList = res.data
            } else {
               if (that.infoType == 2 || that.infoType == 3) {
@@ -518,33 +498,13 @@
                  that.timeOuts = false
                  that.times = 0
                  var   res = result.data
                  if (res.data && res.data !== "") {
                  if (res.data && res.data.length > 0) {
                     if (that.infoType == 2 || that.infoType == 3) {
                        return;
                     }
                     // infoType1:只有拣料等信息
                     that.infoType = 1
                     switch (res.data[0].ioType) {
                        case 101:
                           that.infoText.title = '全板出库'
                           break;
                        case 103:
                           that.infoText.title = '检料出库'
                           break;
                        case 107:
                           that.infoText.title = '盘点出库'
                           break;
                        case 1:
                           that.infoText.title = '入库'
                           break;
                        case 10:
                           that.infoText.title = '空托入库'
                           break;
                        case 110:
                           that.infoText.title = '空托出库'
                           break;
                     }
                     that.infoText.title = res.data[0].ioType
                     that.swiperList = res.data
                  } else {
                     if (that.infoType == 2 || that.infoType == 3) {