lvhao 1 kuukausi sitten
vanhempi
commit
d4a4e16863
2 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 0 1
      core/CoreApp/controllers/Whlabelfz.php
  2. 4 0
      template/erp/whlabel_enter.html

+ 0 - 1
core/CoreApp/controllers/Whlabelfz.php

@@ -420,7 +420,6 @@ class Whlabelfz extends Start_Controller
 		if ($ktime && $jtime) {
 			$where .= " and enter > '$ktime' and enter < '$jtime'";
 		}
-		
 		//取得信息列表
 		$info_list = $this->whlabel->find_pc($where, 'enter,warehouse,sku', 'id,warehouse,sku,title,enter,features');
 		if(!empty($info_list)){

+ 4 - 0
template/erp/whlabel_enter.html

@@ -89,8 +89,12 @@ $(".export_excel").on("click",function(){
         }
     })
     str = str.substring(0,str.length-1);
+    layx.load('loadId','数据准备中,请稍后',{shadable:0.6});
     var url = "/whlabelfz/whlabel_cprk_excel?"+str;
     window.location.href = url;
+    setTimeout(function(){
+        layx.destroy('loadId');
+    },1300);
 })
 </script>
 <script type="text/javascript" src="{$theme}js/laydate.js"></script>