#
whycq
2024-05-07 172d04fc9d2d7afb28dd3de207f05bbf90a1b58e
pages/phyz/checkLocDetl/checkLocDetl.vue
@@ -78,7 +78,14 @@
      onShow() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         if (uni.getStorageSync('lev1')) {
            this.lev1 = uni.getStorageSync('lev1');
         } else {
            this.lev1 = 2
         }
         this.getLocMastList()
         this.barcode = ''
      },
      methods: {
         clear(e) {
@@ -116,7 +123,8 @@
            }, 100);
         },
         getLocMastList(barcode) {
            let _this = this
            let _this = this
            uni.setStorageSync('lev1', this.lev1);
            uni.request({
               url: `${_this.baseUrl}/agv/locMast/list/auth`,
               header: {'token': uni.getStorageSync('token')},
@@ -125,7 +133,7 @@
                  limit: 50,
                  row1: _this.row1,
                  bay1: _this.bay1,
                  lev1: _this.lev1,
                  floor: _this.lev1,
                  barcode: barcode
               },
               method: 'GET',