Browse Source

提交一下

1
mo 4 năm trước cách đây
mục cha
commit
53b6984e6f
1 tập tin đã thay đổi với 3 bổ sung8 xóa
  1. 3 8
      src/views/reportForm/index.vue

+ 3 - 8
src/views/reportForm/index.vue

@@ -770,10 +770,7 @@ export default {
       let endTime, startTime;
       if (this.AccountTimer && this.AccountTimer.length > 1) {
         startTime = this.AccountTimer[0];
-        let end = this.AccountTimer[1];
-        end = new Date(end);
-        end = new Date(end.getFullYear(), end.getMonth() + 1, 0);
-        endTime = dayjs(end).format("YYYY-MM-DD");
+        endTime = this.AccountTimer[1];
       }else{
         startTime=null;
         endTime=null;
@@ -793,10 +790,8 @@ export default {
       let endTime, startTime;
       if (this.AccountDetailTimer && this.AccountDetailTimer.length > 1) {
         startTime = this.AccountDetailTimer[0];
-        let end = this.AccountDetailTimer[1];
-        end = new Date(end);
-        end = new Date(end.getFullYear(), end.getMonth() + 1, 0);
-        endTime = dayjs(end).format("YYYY-MM-DD");
+        endTime = this.AccountDetailTimer[1];
+
       }else{
         startTime=null;
         endTime=null;