瀏覽代碼

取消外部初始时间限制

jbb 2 年之前
父節點
當前提交
f496ff70a2
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/views/reportForms/order-statistics/external-statistics.vue

+ 8 - 8
src/views/reportForms/order-statistics/external-statistics.vue

@@ -192,14 +192,14 @@ export default {
     // 初次加载当月数据(列表、图)
     getThisMonthData() {
       this.$nextTick(() => {
-        let nowDate = new Date()
-        let date = {
-          year: nowDate.getFullYear(),
-          month: nowDate.getMonth() + 1
-        }
-        if (date.month >= 1 && date.month <= 9) {
-          date.month = '0' + date.month
-        }
+        // let nowDate = new Date()
+        // let date = {
+        //   year: nowDate.getFullYear(),
+        //   month: nowDate.getMonth() + 1
+        // }
+        // if (date.month >= 1 && date.month <= 9) {
+        //   date.month = '0' + date.month
+        // }
         //this.defaultMonth = date.year + '-' + date.month
 
         //this.queryParam.startYearMonth = this.defaultMonth