lvhao 18 stundas atpakaļ
vecāks
revīzija
a3182ccfbb
2 mainītis faili ar 16 papildinājumiem un 4 dzēšanām
  1. 1 1
      template/erp/footer.html
  2. 15 3
      template/erp/js/index.js

+ 1 - 1
template/erp/footer.html

@@ -118,6 +118,6 @@ window.onbeforeunload = function() {
             }
         };
 </script>
-<script src="{$theme}js/index.js?v=202409110001"></script>
+<script src="{$theme}js/index.js?v=202509110001"></script>
 </body>
 </html>

+ 15 - 3
template/erp/js/index.js

@@ -156,9 +156,21 @@ function searchspan(v) {
 				}
 				
             } else {
-                $(".save").hide();
-              layx.destroy('loadId');
-			    layx.msg('没有更多内容了',{dialogIcon:'warn', position:'cc'});
+				if(c.cwxx){
+					$(".save").hide();
+					layx.destroy('loadId');
+					layx.msg(c.cwxx, {
+						dialogIcon: 'warn',
+						position: 'cc'
+					});
+				}else{
+					$(".save").hide();
+					layx.destroy('loadId');
+					layx.msg('没有更多内容了', {
+						dialogIcon: 'warn',
+						position: 'cc'
+					});
+				}
             }
 			if(typeof c.exdata != "undefined")
 				{