From dfb54ed17fbbf63a41c2b0c0a72e67f456517e2f Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期三, 27 十二月 2023 13:40:41 +0800
Subject: [PATCH] 委外入库扫码模块刷新列表方法修改;委外出库扫码模块界面增加加工单位,刷新列表方法修改

---
 WebTM/views/indexMenu.html |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/WebTM/views/indexMenu.html b/WebTM/views/indexMenu.html
index 09d1d51..30c7c5a 100644
--- a/WebTM/views/indexMenu.html
+++ b/WebTM/views/indexMenu.html
@@ -11,7 +11,12 @@
     <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
     <script src="../layuiadmin/Scripts/jquery-3.5.1.min.js"></script>
-
+    <script language="JavaScript">//灞忚斀鍚庨��鎸夐挳
+        history.pushState(null, null, document.URL);
+        window.addEventListener('popstate', function () {
+            history.pushState(null, null, document.URL);
+        });
+    </script>
     <script>
         /^http(s*):\/\//.test(location.href) || alert('璇峰厛閮ㄧ讲鍒� localhost 涓嬪啀璁块棶');
     </script>
@@ -169,8 +174,7 @@
     <script>
         // 瀵艰埅鑿滃崟鐨勯棿闅斿儚绱�
         var menuCell = 5;
-        //灞忚斀鍚庨��鎸夐挳
-        javascript: window.history.forward(1);
+
         layui.config({
             base: '../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
         }).extend({
@@ -202,14 +206,14 @@
             //鏄剧ず渚ц竟鑿滃崟
             function set_sideMenuDisPlay() {
                 //鍒ゆ柇鐢ㄦ埛鏄Щ鍔ㄧ杩樻槸PC绔�
-                var judgeMorPCflag = judgeMorPC();
-                if (!judgeMorPCflag) {//绉诲姩绔�
-                    var dd = '<dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill_PDA.html">宸ュ簭杩涚珯鎺ユ敹鍗昉DA</a ></dd > <dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill_PDA.html">宸ュ簭鍑虹珯姹囨姤鍗昉DA</a></dd>';
-                    $("#append").prepend(dd);
-                }
-                if (!judgeMorPCflag) {//绉诲姩绔�
-                    window.location.href = 'index_Mobile.html'
-                }
+                //var judgeMorPCflag = judgeMorPC();
+                //if (!judgeMorPCflag) {//绉诲姩绔�
+                //    var dd = '<dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill_PDA.html">宸ュ簭杩涚珯鎺ユ敹鍗昉DA</a ></dd > <dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill_PDA.html">宸ュ簭鍑虹珯姹囨姤鍗昉DA</a></dd>';
+                //    $("#append").prepend(dd);
+                //}
+                //if (!judgeMorPCflag) {//绉诲姩绔�
+                //    window.location.href = 'index_Mobile.html'
+                //}
 
                 var ajaxLoad = layer.load();
                 //鑾峰彇鑿滃崟鍒楄〃鏁版嵁

--
Gitblit v1.9.1