From b95f96d36c98cc0249f7758ab78a309a9f08abfd Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 11 十月 2022 13:45:30 +0800
Subject: [PATCH] #

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

diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue
index a8b6db0..aac13f7 100644
--- a/pages/basics/matSelect.vue
+++ b/pages/basics/matSelect.vue
@@ -30,7 +30,7 @@
 							<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>
@@ -119,7 +119,7 @@
 						'token':uni.getStorageSync('token'),
 					},
 					success(result) {
-						console.log(result)
+						uni.hideLoading();
 						that.tag = null
 						that.data = null
 						var res = result.data
@@ -139,12 +139,12 @@
 						} 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) {
 					return;
@@ -159,14 +159,13 @@
 						'token':uni.getStorageSync('token'),
 				    },
 					success(result) {
-						console.log(result)
+						uni.hideLoading();
 						that.tag = null
 						var res = result.data
 						if (res.code === 200) {
 							if (res.data != null && res.data.length > 0) {
-								uni.showLoading();
 								that.data = res.data
-								uni.hideLoading();
+								
 							} else {
 								// that.tagId = parentId
 							}
@@ -180,7 +179,7 @@
 						} else {
 							uni.showToast({title: res.msg, icon: "none",position: 'top'})
 						}
-						
+			
 					}
 				});
 			},

--
Gitblit v1.9.1