From 60a50d7a976f33a172421546fd891f33a21043e5 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 29 十月 2025 11:50:22 +0800
Subject: [PATCH] 优化

---
 新建文件夹/WMS/src/extension/inbound/inboundOrder.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/extension/inbound/inboundOrder.js" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/extension/inbound/inboundOrder.js"
index 8f7553b..4b13a4b 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/extension/inbound/inboundOrder.js"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/extension/inbound/inboundOrder.js"
@@ -22,10 +22,12 @@
     Bt.onClick = function () {
       let rows = this.$refs.table.getSelected();
       if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
-      const allIds = rows.map(item => item.id);
-      
+      if(rows.length>1) return this.$error("鍙兘閫夋嫨涓�鏉℃暟鎹�!");
+      // const allIds = rows.map(item => item.id);
+      const id=rows[0].id
+
       // 杩欓噷娣诲姞浣犵殑涓氬姟閫昏緫
-      this.http.post("api/YourApi", allIds).then((x) => {
+      this.http.post(`/api/CabinOrder/FinishInOrder?key${id}`).then((x) => {
         if (x.status) {
           this.$Message.success('鎿嶄綔鎴愬姛');
           this.refresh();

--
Gitblit v1.9.3