Преглед на файлове

提交没来的创建计划点击就报错的问题

Lijy преди 2 дни
родител
ревизия
bc6f731241
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      fhKeeper/formulahousekeeper/timesheet_mld/src/components/taskComponent.vue

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet_mld/src/components/taskComponent.vue

@@ -1195,11 +1195,12 @@ export default {
             this.mileageCup = false
             this.addFormVisible = true;
             this.curProjectId = obj.stage.projectId;
+            const startDates = obj.addForm.startDate ? obj.addForm.startDate + '08:00:00' : ''
             this.addForm = {
                 projectId: obj.stage.projectId, 
                 groupId: obj.stage.groupId, 
                 stagesId: obj.stage.id, 
-                startDate: obj.addForm.startDate + ' 08:00:00',
+                startDate: startDates,
                 taskLevel:0, 
                 planHours: 8, 
                 taskType: 0