#
whycq
2024-09-24 55d1702f1207e32be196ecc94e702bdd9890a0d2
pages/order/unFullpltList.vue
@@ -155,7 +155,7 @@
         })
         eventChannel.on('detls', function(data) {
            _this.detls = data.detls
            _this.maxAnfme = data.detls.anfme - data.detls.qty
            _this.maxAnfme = data.detls.anfme - data.detls.workQty
         })
      },
      methods: {
@@ -178,6 +178,10 @@
            switch (locMast.locSts) {
               case 'F':
                  this.locNo = locMast.locNo
                  if (locMast.fullPlt == 'Y') {
                     uni.showToast({ title: '当前库位已标记为满板', icon: 'error',position: 'top' })
                     return
                  }
                  this.$refs.stapop.open('center')
                  break;
               case 'P':
@@ -188,6 +192,9 @@
            }
            
            
         },
         mergeOutCancel() {
            this.$refs.stapop.close()
         },
         // 并板出库
         mergeOut() {
@@ -203,10 +210,16 @@
               },
               success(result) {
                  var res = result.data
                  console.log(res);
                  _this.agvStartDis = false
                  if (res.code === 200) {
                     _this.$refs.stapop.close()
                     uni.showToast({ title: '出库成功', icon: "error", position: 'top' })
                     setTimeout(()=> {
                        _this.getOpenerEventChannel().emit('acceptDataFromOpenedPage', {data: 1});
                        uni.navigateBack({
                           delta:2
                        })
                     },1000)
                  } else if (res.code == 403) {
                     uni.showToast({ title: res.msg, icon: "error", position: 'top' })
                     setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
@@ -219,6 +232,9 @@
               }
            });
         },
         mergeCancel() {
            this.$refs.merge.close()
         },
         // 并板组托
         mergeConfirm() {
            let _this = this