#
whycq
2022-10-08 46ba73c9645ad937bbf14dba810177d568be49be
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();
               }
            });
         },