zkx 2 年之前
父節點
當前提交
9e78586b4a
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      pagesFinance/statistics/index.vue

+ 3 - 2
pagesFinance/statistics/index.vue

@@ -671,8 +671,9 @@
 
 				this.queryTime = e.year + '-' + e.month;
 				this.startTime = e.year + '-' + e.month + '-1';
+				
 				if (e.month == '12') {
-					this.endTime = (e.year) + "/12/31"
+					this.endTime = (e.year) + "-12-31"
 				} else {
 					var b = e.year + '/' + (parseInt(e.month) + 1) + '/1';
 					var a = beforeTimeStamp(1, b);
@@ -687,7 +688,7 @@
 				this.queryTime2 = e.year + '-' + e.month;
 
 				if (e.month == '12') {
-					this.endTime2 = (e.year) + "/12/31"
+					this.endTime2 = (e.year) + "-12-31"
 				} else {
 					var b = e.year + '/' + (parseInt(e.month) + 1) + '/1';
 					var a = beforeTimeStamp(1, b);