#
whycq
2024-06-12 2dbb3a82f3e10218a7743a8dc318882dc888eef4
pages/phyz/checkLocDetl/checkLocDetl.vue
@@ -1,9 +1,9 @@
<template>
   <view>
      <view class="code">
         <uni-search-bar  v-model="searchValue1"
         <!-- <uni-search-bar  v-model="searchValue1"
            maxlength="500" ancel="cancel" @confirm="searchValueInput1()" @clear="clearVal" placeholder="输入 / 扫描 货架码">
         </uni-search-bar>
         </uni-search-bar> -->
         <view style="display: flex;padding: 10rpx 20rpx;">
            <view class="dropdown">
               <input type="text" style="flex: 1;" v-model="row1"  placeholder="请输入排" @confirm="getLocMastList('')">
@@ -79,9 +79,9 @@
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         if (uni.getStorageSync('lev1')) {
            this.lev1 = uni.getStorageSync('lev1');
            // this.lev1 = uni.getStorageSync('lev1');
         } else {
            this.lev1 = 2
            this.lev1 = ''
         }
         
         this.getLocMastList()
@@ -124,7 +124,7 @@
         },
         getLocMastList(barcode) {
            let _this = this
            uni.setStorageSync('lev1', this.lev1);
            // uni.setStorageSync('lev1', this.lev1);
            uni.request({
               url: `${_this.baseUrl}/agv/locMast/list/auth`,
               header: {'token': uni.getStorageSync('token')},