From 17ec0146913e299db974fe118582c69b0c1ce36f Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 13 十一月 2023 11:18:56 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/order/order.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js
index b4b43ba..f8e4e03 100644
--- a/src/main/webapp/static/js/order/order.js
+++ b/src/main/webapp/static/js/order/order.js
@@ -1,4 +1,5 @@
 var insTbCount = 0;
+var tableCache2 = [];
 layui.config({
     base: baseUrl + "/static/layui/lay/modules/"
 }).extend({
@@ -701,11 +702,13 @@
                         }
                         ,yes: function(index, layero){
                             //鎸夐挳銆愰��搴撱�戠殑鍥炶皟
-                            pakout(tableCache, index);
+                            pakout(tableCache2, index);
+                            tableCache2 = []
                         }
                         ,btn2: function(index, layero){
                             //鎸夐挳銆愮◢鍚庡鐞嗐�戠殑鍥炶皟
                             layer.close(index)
+                            tableCache2 = []
                             //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                         }
                     });
@@ -716,6 +719,11 @@
                 }
             }
         })
+
+        // 澶嶉�夋浜嬩欢
+        table.on('checkbox(stoPreTab)', function(obj){
+            tableCache2.push(obj.data)
+        });
     }
 
     function pakout(tableCache, layerIndex) {

--
Gitblit v1.9.1