소스 검색

Merge branch '03/03GRADE'

lex-xin 4 년 전
부모
커밋
d75e3fae23
1개의 변경된 파일3개의 추가작업 그리고 8개의 파일을 삭제
  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;