zkx 2 năm trước cách đây
mục cha
commit
9e78586b4a
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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);