#
whycq
2024-11-28 248ef3ba3de9994dc83d2b36690542893f9fb6e6
pages/phyz/stationManage/stationDetl.vue
@@ -257,7 +257,7 @@
               </view>
               <view class="btn">
                  <button class="btn-left" @click="processedClose">取消</button>
                  <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">确认离场</button>
                  <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">加工完成</button>
               </view>
            </view>
         </uni-popup>
@@ -434,6 +434,7 @@
         },
         emptyPakinConfirm() {
            let _this = this;
            this.barcode = this.barcode.replace(/\s+/g, '')
            _this.emptyPakinDis = true
            if (this.barcode.length != 6) {
               _this.emptyPakinDis = false
@@ -1015,8 +1016,24 @@
            });
         },
         processed() {
            this.$refs.process.open()
            let _this = this
            uni.navigateTo({
               url: './confirmProcessed',
               success(res) {
                  res.eventChannel.emit('item', {
                     item: _this.wrkDetls
                  })
               },
               // events: {
               //    acceptDataFromOpenedPage: function(data) {
               //       _this.getOrderDetlList(this.searchValue1,10)
               //    }
               // }
            })
         },
         // processed() {
         //    this.$refs.process.open()
         // },
         processedClose() {
            this.$refs.process.close()
         },
@@ -1041,7 +1058,7 @@
                        that.barcode = ''
                        that.reloadStation()
                     },1000)
                     uni.showToast({ title: '退库任务申请成功', icon: "success", position: 'top' })
                     uni.showToast({ title: '操作成功', icon: "success", position: 'top' })
                  } else if (res.code == 403) {
                     uni.showToast({ title: res.msg, icon: "error", position: 'top' })
                     setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);