lvhao пре 2 месеци
родитељ
комит
8d284621a1
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      template/erp/commodity.html

+ 6 - 2
template/erp/commodity.html

@@ -83,8 +83,12 @@ $(".excel_daochu").on("click",function(){
             q += "&"+name+"="+value;                
         }
     })
-    
-    window.location.href="/commodity/excel_export?"+q;
+    layx.load('loadId','勿慌,正在导出,请稍后...');
+   let r =   window.location.href="/commodity/excel_export?"+q;
+   setTimeout(function(){
+        layx.destroy('loadId');
+    },10000);
+    //layx.destroy('loadId');
 })
 </script>
 {Template footer}