###
whycq
2022-02-15 d5a6b28258858c9359ee81a235030100f25e6a4c
pages/basics/comb.vue
@@ -117,17 +117,20 @@
            if(that.matNo.length===0){
               return;
            }
            console.log('http://'+ that.baseUrl + ':8082/xgmwms' + "/matCode/auth")
            uni.request({
               url:that.baseUrl+"/matCode/auth",
               url: that.baseUrl + "/matCode/auth",
               header:{
                  'content-type':'application/x-www-form-urlencoded',
                  'token':localStorage.getItem('token'),
               },
                  'token':uni.getStorageSync('token')
                  },
               data:{
                  id:thatId
               },
               method:'POST',
               success:function(res){
                  console.log(res)
                  let data = res.data.data
                  
                  if(res.data.code === 200){
@@ -213,8 +216,17 @@
            }
            uni.request({
               
               url:that.baseUrl+"/mobile/comb/auth",
               header:{'token':localStorage.getItem('token')},
               url: that.baseUrl + "/mobile/comb/auth",
               header:{
                  // #ifdef H5
                  'token':uni.getStorageSync('token')
                  // #endif
                  // #ifdef APP-PLUS
                  'token': uni.getStorageSync('token')
                  // Authorization:uni.getStorageSync('token')
                  // #endif
                  },
               data:{
                  barcode:barcode,
                  combMats:that.matData