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()],