From 5a29707780e00b600afd053b62d38af5d267102b Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期日, 28 四月 2024 09:36:25 +0800
Subject: [PATCH] #
---
pages/phyz/checkLocDetl/checkLocDetl.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/checkLocDetl/checkLocDetl.vue b/pages/phyz/checkLocDetl/checkLocDetl.vue
index ee99c06..22ada60 100644
--- a/pages/phyz/checkLocDetl/checkLocDetl.vue
+++ b/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',
--
Gitblit v1.9.1