浏览代码

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;