#
whycq
2022-02-21 8efa54a50763289e6457220ba527b40e35d33afc
pages/basics/comb.vue
@@ -24,8 +24,8 @@
         
      </view>
      <view>
         <button class="cu-btn bg-yellow pda-btn" @click="comb()">组托</button>
         <button class="cu-btn bg-grey pda-btn" @click="reset">重置</button>
         <button class="cu-btn bg-yellow pda-btn" @click="comb()">组 托</button>
         <button class="cu-btn bg-grey pda-btn" @click="reset">重 置</button>
      </view>
      <view>
         <!-- 普通弹窗 -->
@@ -117,7 +117,6 @@
            if(that.matNo.length===0){
               return;
            }
            console.log('http://'+ that.baseUrl + ':8082/xgmwms' + "/matCode/auth")
            uni.request({
               url: that.baseUrl + "/matCode/auth",
               
@@ -130,7 +129,6 @@
               },
               method:'POST',
               success:function(res){
                  console.log(res)
                  let data = res.data.data
                  
                  if(res.data.code === 200){
@@ -199,7 +197,6 @@
            let that = this
            let barcode = that.code
            if(barcode.length === 0){
               console.log(1)
               that.messageToggle('error')
               that.messageText = '托盘条码为空'
               return;
@@ -233,7 +230,6 @@
               },
               method:'POST',
               success:function(res){
                  console.log(res)
                  if(res.data.code===200){
                     that.reset()
                     that.messageToggle('success')