dengjunjie
2025-03-27 bb56b2b6f21acb7c69c02585e5bc534d2f67715f
ÏîÄ¿´úÂë/ÎߺþÈýÒ»PDA/pages/stash/index.vue
@@ -77,8 +77,20 @@
                     if (res.confirm) {
                        _this.PdaOutEmpty()
                        //console.log('确认')
                     } else if (res.cancel)
                     {
                     } else if (res.cancel) {
                        // console.log('取消')
                     }
                  }
               })
            } else if (url == "入库放货完成") {
               uni.showModal({
                  title: '提示!',
                  content: '是否确定放货完成?',
                  success: function(res) {
                     if (res.confirm) {
                        _this.ReleaseCompleted()
                        //console.log('确认')
                     } else if (res.cancel) {
                        // console.log('取消')
                     }
                  }
@@ -117,6 +129,23 @@
                  }
               })
         },
         ReleaseCompleted() {
            this.$u.post('http://127.0.0.1:9291/api/AGV/ReleaseCompleted').then(
               res => {
                  if (res.status) {
                     this.$refs.uToast.show({
                        title: "放货完成成功",
                        type: "success"
                     })
                     this.qty = "";
                  } else {
                     this.$refs.uToast.show({
                        title: res.message,
                        type: "error"
                     })
                  }
               })
         },
         lock() {
            console.log("lock")
            if (this.hasLogin()) {