|  | @@ -60,7 +60,7 @@
 | 
											
												
													
														|  |          </el-form-item>
 |  |          </el-form-item>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          <el-form-item :label="$t('Key254')">
 |  |          <el-form-item :label="$t('Key254')">
 | 
											
												
													
														|  | -          <el-input v-model="form.student_count_max" class="student-count" oninput="value=value.replace(/[^\d]/g,'')" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-input v-model="form.student_count_max" class="student-count" @input="changeStudent" />
 | 
											
												
													
														|  |            <el-checkbox v-model="form.is_auto_close">
 |  |            <el-checkbox v-model="form.is_auto_close">
 | 
											
												
													
														|  |              {{ $t('Key266') }}
 |  |              {{ $t('Key266') }}
 | 
											
												
													
														|  |            </el-checkbox>
 |  |            </el-checkbox>
 | 
											
										
											
												
													
														|  | @@ -303,6 +303,11 @@ export default {
 | 
											
												
													
														|  |      price(val) {
 |  |      price(val) {
 | 
											
												
													
														|  |        this.form.price = twoDecimal(val);
 |  |        this.form.price = twoDecimal(val);
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    changeStudent(val) {
 | 
											
												
													
														|  | 
 |  | +      this.form.student_count_max = val.length === 0 ? '' : Number(val.replace(/[^\d]/g, ''));
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      // 对话框方法
 |  |      // 对话框方法
 | 
											
												
													
														|  |      selectTeacher() {
 |  |      selectTeacher() {
 | 
											
												
													
														|  |        if (this.form.org_id) {
 |  |        if (this.form.org_id) {
 |