|
@@ -131,7 +131,7 @@
|
|
|
label-width="80px;"
|
|
|
:inline="true"
|
|
|
>
|
|
|
- <el-form-item label="上课日期" prop="date">
|
|
|
+ <el-form-item label="上课日期" prop="date" v-if="courseType != 'TRIAL'">
|
|
|
<el-date-picker
|
|
|
v-model.trim="maskForm.date"
|
|
|
style="width:200px!important;"
|
|
@@ -140,6 +140,15 @@
|
|
|
value-format="yyyy-MM-dd"
|
|
|
placeholder="选择日期"
|
|
|
></el-date-picker>
|
|
|
+ </el-form-item v-else>
|
|
|
+ <el-form-item label="上课日期" prop="date">
|
|
|
+ <el-date-picker
|
|
|
+ v-model.trim="maskForm.date"
|
|
|
+ style="width:200px!important;"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择日期"
|
|
|
+ ></el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="开始时间" prop="startTime">
|
|
|
<el-time-select
|
|
@@ -458,6 +467,7 @@ export default {
|
|
|
this.practiceId = this.$route.query.id;
|
|
|
this.userId = this.$route.query.userId;
|
|
|
this.courseType = this.$route.query.type;
|
|
|
+ console.log( this.courseType)
|
|
|
if (this.$route.query.rules) {
|
|
|
this.Frules = this.$route.query.rules;
|
|
|
}
|