From f34da12c558d57d156529e23c04e2388e60b94e5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 14 六月 2023 10:27:17 +0800
Subject: [PATCH] #组托逻辑

---
 src/main/webapp/views/report/locDetl.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/report/locDetl.html b/src/main/webapp/views/report/locDetl.html
index 9e3ee3d..d0a9eff 100644
--- a/src/main/webapp/views/report/locDetl.html
+++ b/src/main/webapp/views/report/locDetl.html
@@ -42,8 +42,13 @@
         table = layui.table;
         var $ = layui.jquery;
         var form = layui.form;
+        const urlParams = new URLSearchParams(window.location.search);
+        const locNo = urlParams.get('locNo');
+        console.log(locNo); // 杈撳嚭鑾峰彇鍒扮殑 locNo 鍙傛暟鍊�
 
-        $('#locNo').val(parent.locNo);
+        $('#locNo').val(locNo);
+
+
 
         // 鏁版嵁娓叉煋
         tableIns = table.render({
@@ -53,7 +58,7 @@
             page: true,
             limit: 20,
             skin: 'line',
-            where: {loc_no: parent.locNo},
+            where: {loc_no: locNo},
             even: true,
             cellMinWidth: 50,
             cols: [getCol()],

--
Gitblit v1.9.1