From 3c9abd089fd8e8ba3e7e6df7c803d9e6a5b892c2 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期五, 20 三月 2026 15:58:58 +0800
Subject: [PATCH] #检查导出功能:  1.商品档案无异常  2.库存明细管理(异常)已修复  3.库存明细统计无异常  4.工作档查询维护无异常  5.工作档明细查询无异常  6.工作历史档查询无异常  7.工作明细历史档查询无异常  8.入库通知历史档无异常  9.库存移动流水记录(异常)已修复  10.机台工位绑定无异常  11.库存调整记录无异常  12.工作档维护日志(异常)已修复  13.操作日志无异常

---
 src/main/webapp/static/js/report/locMap.js |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/report/locMap.js b/src/main/webapp/static/js/report/locMap.js
index 3a3e6e8..e8f5ac8 100644
--- a/src/main/webapp/static/js/report/locMap.js
+++ b/src/main/webapp/static/js/report/locMap.js
@@ -3,7 +3,30 @@
     var layer = layui.layer;
     var form = layui.form;
 
+    getLocMapRows();
     getLocTable(1);
+
+    function getLocMapRows() {
+        $.ajax({
+            url: baseUrl+"/report/viewLocMapList/rows.action",
+            headers: {'token': localStorage.getItem('token')},
+            method: 'POST',
+            async: false,
+            success: function (res) {
+                if (res.code === 200) {
+                    var tpl = $("#locMastRowTemplate").html();
+                    var template = Handlebars.compile(tpl);
+                    var html = template(res);
+                    $('#rowSelect').append(html);
+                    form.render('select');
+                } else if (res.code === 403) {
+                    top.location.href = baseUrl+"/";
+                } else {
+                    layer.msg(res.msg)
+                }
+            }
+        });
+    }
 
     function getLocTable(row){
         $.ajax({
@@ -18,7 +41,7 @@
                     var html = template(res.data);
                     $('#locMap').html(html);
                 } else if (res.code === 403) {
-                    top.location.href = "/";
+                    top.location.href = baseUrl+"/";
                 } else {
                     layer.msg(res.msg)
                 }
@@ -41,6 +64,7 @@
         || html.trim()==='S'
         || html.trim()==='D'
         || html.trim()==='O'
+        || html.trim()==='Z'
     ){
 
     } else {

--
Gitblit v1.9.1