From cfb3f2c7e9cde8cc2eb2a19263d0802c0c5410a3 Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期一, 06 四月 2026 15:41:04 +0800
Subject: [PATCH] mes接口

---
 项目代码/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.js |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.js"
index ea3e848..0fd1708 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.js"
@@ -916,6 +916,38 @@
       this.$success("鎴愬姛");
     })
   },
+  async boundOrder(rows) {
+    this.boxOptions.title = '鎵ц璁㈠崟';
+    this.currentAction = this.const.EDIT;
+    if (rows) {
+      if (!(rows instanceof Array)) {
+        rows = [rows];
+      }
+    } else {
+      rows = this.$refs.table.getSelected();
+    }
+    if (rows.length == 0) {
+      return this.$error('璇烽�夋嫨瑕佺紪杈戠殑琛�!');
+    }
+    if (rows.length != 1) {
+      return this.$error('鍙兘閫夋嫨涓�琛屾暟鎹繘琛岀紪杈�!');
+    }
+    //璁板綍褰撳墠缂栬緫鐨勮
+    this.currentRow = rows[0];
+    let w = this.currentRow.id;
+    axios
+    .post("api/Task/ExecuteOrder/?k=" + w, {
+      rows: 100
+    })
+    .then(x => {
+      if(x==null||x==""){
+        this.$success("鎴愬姛");
+      }else{
+        this.$message(x.data);
+        console.log(x.data+"///");
+      }
+    });
+  },
   async add() {
     this.boxOptions.title = this.table.cnName + '(鏂板缓)';
     //鏂板缓

--
Gitblit v1.9.3