liyg пре 2 година
родитељ
комит
02ac1b47ad

+ 3 - 6
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -1637,9 +1637,6 @@ export default {
   created() {
     this.orgCode=getCookie('orgCode');
     this.userId=getCookie('userId');
-     this.noticeInterval=setInterval(() => {
-        this.getinformation();
-    }, 1000*10);
     if (this.orgCodeList.includes(getCookie('orgCode'))) {
       this.isShowOperate = true
     }
@@ -1662,9 +1659,9 @@ export default {
         'select',
         'exceptionHandle'
       ]
-      // this.noticeInterval=setInterval(() => {
-      //   this.getinformation();
-      // }, 1000*1);
+      this.noticeInterval=setInterval(() => {
+        this.getinformation();
+      }, 1000*10);
     }
     //只要涉及提交即必须设计防抖,在初始化时绑定防抖函数
     this.updateCapacityDebounce = this.debounce(() => {