Przeglądaj źródła

义乌最多导出30天

zhouna 4 lat temu
rodzic
commit
533bb04fee
3 zmienionych plików z 3 dodań i 2 usunięć
  1. 1 1
      src/js/qcListDeptYw.js
  2. 1 1
      src/js/qcListYw.js
  3. 1 0
      src/js/utils.js

+ 1 - 1
src/js/qcListDeptYw.js

@@ -1170,7 +1170,7 @@ $((function($){
             "deptName":deptName=="全部"?"":deptName||'',
             "statisticsType":statisticsType,*/
         }
-        let time = exportTimeLimit.defectTime
+        let time = exportTimeLimit.yiwuTime
         if((new Date(behosDateEnd) - new Date(behosDateStart))/24/60/60/1000 > time){
             $.alerModal({"message":`最多只能导出${time}天`,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
             return

+ 1 - 1
src/js/qcListYw.js

@@ -1191,7 +1191,7 @@ $((function($){
             //"mrTimeStart": fpCheckDateStart.replace(/\//g,'-'), //首页核查起始时间
             //"mrTimeEnd": fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
         }
-        let time = exportTimeLimit.defectTime
+        let time = exportTimeLimit.yiwuTime
         if((new Date(behosDateEnd) - new Date(behosDateStart))/24/60/60/1000 > time){
             $.alerModal({"message":`最多只能导出${time}天`,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
             return

+ 1 - 0
src/js/utils.js

@@ -70,6 +70,7 @@ const pageMap = {
 const exportTimeLimit = {
   defectTime: 90,
   normalTime: 7,
+  yiwuTime:30,
 };
 
 //重写assign方法