From 207823b94f5627fae49d29b51b5ce7186a70c8e0 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 04 一月 2025 09:59:48 +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