From d43d600ab53bae6c5c57892c0ce51603f7b8d50e Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期二, 01 十一月 2022 15:18:39 +0800
Subject: [PATCH] #

---
 pages/basics/matSelect.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue
index 5f00086..97df00f 100644
--- a/pages/basics/matSelect.vue
+++ b/pages/basics/matSelect.vue
@@ -30,11 +30,14 @@
 							<view class="cu-tag bg-cyan ">鍟嗗搧</view>
 						</view>
 						<view class="matnr"><text style="width: 400rpx;">{{item.matnr}}</text></view>
-						<view class="matnr"><text style="width: 400rpx;">{{item.maktx}}</text></view>
+						<view class="matnr"><text style="width: 400rpx;">{{item.specs}}</text></view>
 					</view>
 				</label>
 			</checkbox-group>
 		</scroll-view>
+		<!-- <view class="record">
+			
+		</view> -->
 		</view>
 </template>
 
@@ -105,7 +108,7 @@
 			},
 			showTag(parentId) {
 				let that = this
-				
+				uni.showLoading();
 				uni.request({
 				    url: that.commonUrl + '/tag/list/pda/auth',
 					header: {
@@ -119,7 +122,7 @@
 						'token':uni.getStorageSync('token'),
 					},
 					success(result) {
-						uni.showLoading();
+						uni.hideLoading();
 						that.tag = null
 						that.data = null
 						var res = result.data
@@ -139,12 +142,11 @@
 						} else {
 							uni.showToast({title: res.msg, icon: "none",position: 'top'})
 						}
-						uni.hideLoading();
+						
 					}
 				});
 			},
 			showMat(tagId) {
-				uni.vibrateShort();
 				uni.showLoading();
 				let that = this
 				if (tagId == null || tagId == '' || tagId == undefined) {
@@ -160,7 +162,7 @@
 						'token':uni.getStorageSync('token'),
 				    },
 					success(result) {
-						
+						uni.hideLoading();
 						that.tag = null
 						var res = result.data
 						if (res.code === 200) {
@@ -180,7 +182,7 @@
 						} else {
 							uni.showToast({title: res.msg, icon: "none",position: 'top'})
 						}
-						uni.hideLoading();
+			
 					}
 				});
 			},
@@ -197,6 +199,14 @@
 </script>
 
 <style>
+	.record {
+		z-index: 1;
+		position: fixed;
+		top: 188rpx;
+		width: 100%;
+		min-height: 50rpx;
+		background-color: #6f6f6f;
+	}
 	.matnr {
 		margin-left: 60rpx;
 		margin-top: 20rpx;

--
Gitblit v1.9.1