#
whycq
2024-03-18 6c9cbdf482ce1330704dc635c510ec51a1115a9f
pages/basics/matSelect.vue
@@ -29,8 +29,9 @@
                  <view class="tag">
                     <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" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.matnr}}</text></view>
                  <view class="matnr" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.maktx}}</text></view>
                  <view class="matnr" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.specs}}</text></view>
               </view>
            </label>
         </checkbox-group>
@@ -46,10 +47,6 @@
            condition:null,
            tag: [],
            data: [],
            baseHttp:'http://',
            baseIP:'',
            basePORT:'',
            baseUrl:'/lywms'
         }
      },
      onLoad() {
@@ -58,7 +55,7 @@
         const eventChannel = this.getOpenerEventChannel();
         
         // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
         eventChannel.on('acceptDataFromOpenerPage', function(data) {
         eventChannel.on('commonUrl', function(data) {
            that.commonUrl = data.commonUrl
            that.showTag(1)
         })
@@ -154,7 +151,6 @@
               return;
            }
            uni.request({
               // url: "http://localhost:8081/jkwms/mat/list/pda/auth",
                url: that.commonUrl + '/mat/list/pda/auth',
                data: {
                  tagId: tagId
@@ -164,6 +160,7 @@
                  'token':uni.getStorageSync('token'),
                },
               success(result) {
                  console.log(result)
                  that.tag = null
                  var res = result.data
                  if (res.code === 200) {
@@ -285,7 +282,7 @@
   }
   .demo-list {
      border-bottom: 1px solid #d8d8d8;
      height: 180rpx;
      height: 220rpx;
      margin: 15rpx;
      border-radius: 20rpx;
   }