From 3e1d551184cb669c9dbaa23cdb9948fe92484fc4 Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期六, 08 十月 2022 18:46:39 +0800 Subject: [PATCH] # --- pages/basics/matSelect.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue index 5f00086..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> @@ -105,7 +105,7 @@ }, showTag(parentId) { let that = this - + uni.showLoading(); uni.request({ url: that.commonUrl + '/tag/list/pda/auth', header: { @@ -119,7 +119,7 @@ 'token':uni.getStorageSync('token'), }, success(result) { - uni.showLoading(); + uni.hideLoading(); that.tag = null that.data = null var res = result.data @@ -139,12 +139,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 +159,7 @@ 'token':uni.getStorageSync('token'), }, success(result) { - + uni.hideLoading(); that.tag = null var res = result.data if (res.code === 200) { @@ -180,7 +179,7 @@ } else { uni.showToast({title: res.msg, icon: "none",position: 'top'}) } - uni.hideLoading(); + } }); }, -- Gitblit v1.9.1