Ver Fonte

Merge branch 'feature/经销商培训申请' into develop

yanglingling há 1 ano atrás
pai
commit
7e99897b8b
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/views/work/train/sale/components/sure.vue

+ 3 - 1
src/views/work/train/sale/components/sure.vue

@@ -98,7 +98,9 @@
           this.form = Object.assign({}, row)
           this.form.trainInstructor = row.instructorRequire
           this.form.trainDate = row.expectTrainDate
-          this.form.specificTime = [new Date(row.expectStartTime), new Date(row.expectEndTime)]
+          let time = []
+          time.push(new Date(row.expectStartTime), new Date(row.expectEndTime))
+          this.$set(this.form, 'specificTime', time)
         }
         this.dialogFormVisible = true
       },