From a88181e93822696476e4f680348f6209e097bbe2 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 13 六月 2024 09:22:37 +0800 Subject: [PATCH] # --- pages/phyz/checkLocDetl/checkLocDetl.vue | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pages/phyz/checkLocDetl/checkLocDetl.vue b/pages/phyz/checkLocDetl/checkLocDetl.vue index c281ac7..ea7880a 100644 --- a/pages/phyz/checkLocDetl/checkLocDetl.vue +++ b/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('')"> @@ -78,6 +78,12 @@ onShow() { this.baseUrl = uni.getStorageSync('baseUrl'); this.token = uni.getStorageSync('token'); + if (uni.getStorageSync('lev1')) { + // this.lev1 = uni.getStorageSync('lev1'); + } else { + this.lev1 = '' + } + this.getLocMastList() this.barcode = '' }, @@ -117,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')}, @@ -126,7 +133,7 @@ limit: 50, row1: _this.row1, bay1: _this.bay1, - lev1: _this.lev1, + floor: _this.lev1, barcode: barcode }, method: 'GET', @@ -246,6 +253,9 @@ .locSts-P { background-color: #ffaa00; } + .locSts-Q { + background-color: #47a301; + } .locSts-X { background-color: #767676; } -- Gitblit v1.9.1