From dd05ce0fe597c0f4c9e3a02228e1b4f6188546aa Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 28 十月 2025 19:12:02 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhiHuiQiCe/FangCangZhiNeng

---
 新建文件夹/WMS/src/extension/inbound/inboundOrder.js |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 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 0d7ae41..8f7553b 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"
@@ -17,11 +17,35 @@
     methods: {
        //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹
       onInit() {  
+        let Bt=this.buttons.find(x=>x.value=="Complete")
+        if(Bt){
+    Bt.onClick = function () {
+      let rows = this.$refs.table.getSelected();
+      if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
+      const allIds = rows.map(item => item.id);
+      
+      // 杩欓噷娣诲姞浣犵殑涓氬姟閫昏緫
+      this.http.post("api/YourApi", allIds).then((x) => {
+        if (x.status) {
+          this.$Message.success('鎿嶄綔鎴愬姛');
+          this.refresh();
+        } else {
+          return this.$error(x.message);
+        }
+      });
+    }
+  }
       },
+
+  
+
       onInited() {
         //妗嗘灦鍒濆鍖栭厤缃悗
         //濡傛灉瑕侀厤缃槑缁嗚〃,鍦ㄦ鏂规硶鎿嶄綔
         //this.detailOptions.columns.forEach(column=>{ });
+
+
+              
       },
       searchBefore(param) {
         //鐣岄潰鏌ヨ鍓�,鍙互缁檖aram.wheres娣诲姞鏌ヨ鍙傛暟

--
Gitblit v1.9.3