From 58a1b8b7db72225e0c2acca4f76399899f1bda4f Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期五, 09 一月 2026 15:14:41 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js b/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js
index 2632621..efd68fc 100644
--- a/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js
+++ b/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js
@@ -181,6 +181,43 @@
           }
         }
       });
+
+      this.columns.push({
+        field: '鎿嶄綔',
+        title: '鎿嶄綔',
+        width: 90,
+        fixed: 'right',
+        align: 'center',
+        formatter: (row) => {
+            return (
+                '<i style="cursor: pointer;color: #2d8cf0;"class="el-icon-view">鐩存帴鍑哄簱</i>'
+            );
+        },
+        click: (row) => {
+            this.$confirm("鏄惁纭鍑哄簱","鍑哄簱鎿嶄綔纭",{
+            confirmButtonText: "纭畾",
+            cancelButtonText: "鍙栨秷",
+            type: "warning",
+            center: true,
+            }).then(() => {
+              let rows = this.$refs.table.getSelected();
+              if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
+              if (rows.length > 1) return this.$error("璇烽�夋嫨涓�鏉℃暟鎹�!");
+              const keys = rows.map(row => row.id);
+              // 鍙戦�丳OST璇锋眰锛屽皢ID鏁扮粍浣滀负璇锋眰浣撳彂閫�
+              this.http
+              .post("api/Task/WMSGenerateSTOutboundTask", keys, "鏁版嵁澶勭悊涓�...")
+              .then((x) => {
+                  if (x.status) {
+                  this.$Message.success('鎿嶄綔鎴愬姛');
+                  this.refresh();
+                } else {
+                  return this.$error(x.message);
+                }
+              });
+            });
+        }
+    });
     },
     onInited() {
       //妗嗘灦鍒濆鍖栭厤缃悗

--
Gitblit v1.9.3