소스 검색

no message

linwenxin 6 달 전
부모
커밋
22de51bb30
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/packageWorkorder/pages/processFeedback.vue

+ 1 - 3
src/packageWorkorder/pages/processFeedback.vue

@@ -441,10 +441,8 @@ export default {
       if (!this.date) {
         return this.$tips(`请先选择${this.typeVal}开始时间`)
       }
-
-      this.minDate2 = Number(new Date(this.date))
+      this.minDate2 = Number(new Date(this.date.split(' ').join('T')))
       this.maxDate2 = Number(this.getEndOfDayTimestamp(this.minDate2))
-      console.log(this.date, this.minDate2, this.maxDate2)
       this.$nextTick(() => {
         this.isShowDatePicker2 = true
       })