Explorar o código

Merge branch 'Nov16thResetMusic' of http://git.dayaedu.com/molingzhide/dy-admin-manager into Nov16thResetMusic

mo %!s(int64=4) %!d(string=hai) anos
pai
achega
f1efb2f8b7
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/views/teamDetail/componentCourse/resetClass.vue

+ 5 - 2
src/views/teamDetail/componentCourse/resetClass.vue

@@ -96,6 +96,7 @@
                     v-if="maskForm.type == 'VIP'"
                     prop="courseType">
         <el-select clearable
+                   @change="typeChange"
                    style="width:220px!important"
                    v-model.trim="maskForm.teachMode">
           <el-option label="线上课"
@@ -209,10 +210,12 @@ export default {
         })
         .catch(() => { });
     },
+    typeChange() {
+      this.$set(this.maskForm, 'address', null)
+    },
     changeStartTime (val) {
 
       this.$nextTick(res => {
-        console.log(addTimerFormMinute(this.maskForm.date, val, this.maskForm.timer))
         if (val) {
           this.$set(this.maskForm, 'endTime', addTimerFormMinute(this.maskForm.date, val, this.maskForm.timer))
         } else {
@@ -230,7 +233,7 @@ export default {
             this.schoolList = res.data;
           }
         })
-        this.maskForm.address = ''
+        this.maskForm.address = null
       }
     },
     getDetail (id) {