#
whycq
2022-11-10 fc65b1d8dc534675fd43b7f63ed39f6c9108ddf6
pages/basics/piking.vue
@@ -61,8 +61,7 @@
            </view>
         </view>
      </scroll-view>
      <y-pop>
      </y-pop>
      <view>
         <!-- 修改数量 -->
         <uni-popup ref="revise" @change="change">
@@ -140,6 +139,15 @@
                     for(var i = 0; i < res.data.length;i++){
                        that.matList.push(res.data[i])
                     }
                  } else if (res.code == 403) {
                     uni.showToast({title: res.msg, icon: "none", position: 'top'})
                     setTimeout(() => {
                        uni.reLaunch({
                           url: '../login/login'
                        });
                     }, 1000);
                  } else {
                     uni.showToast({title: res.msg, icon: "none",position: 'top'})
                  }
               }
               
@@ -160,6 +168,8 @@
                  let res = result.data
                  if (res.code === 200) {
                     uni.showToast({title: res.msg, icon: "none", position: 'top'})
                     that.matList = []
                     that.barcode = ''
                  } else if (res.code == 403) {
                     uni.showToast({title: res.msg, icon: "none", position: 'top'})
                     setTimeout(() => {
@@ -311,7 +321,7 @@
         },
         resst() {
            this.matList = []
            this.staNo = ''
            this.barcode = ''
         },
         adjust() {
            let that = this