From 3ca1401ff81f256f54533110b48c68e7fa6bfca5 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 01 十一月 2025 00:50:53 +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..692ceca 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