From f250fe4befac5c9bacaa6eae9fa87738a70663dd Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期三, 15 一月 2025 08:45:54 +0800
Subject: [PATCH] 增加AGV重置按钮

---
 代码管理/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
index f884b50..e3e3741 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
@@ -51,6 +51,22 @@
                         });
                 }
             }
+            var AGVResetButton = this.buttons.find((x) => x.value == "AGVReset");
+            if (AGVResetButton) {
+                AGVResetButton.onClick = () => {
+                    let rows = this.$refs.table.getSelected();
+                    console.log("rows"+rows);
+                   
+                    this.http
+                        .post("/api/Task/AGVResetTask", {}, true)
+                        .then((x) => {
+                            if (!x.status) return this.$message.error(x.message);
+                            this.options = x.data;
+                            console.log(this.options);
+                        });
+                }
+            }
+
             //浜哄伐鍏ュ簱鎸夐挳
             var ManualButton = this.buttons.find((x) => x.value == "ManualInbound");
             if (ManualButton) {

--
Gitblit v1.9.3