|  | @@ -83,7 +83,7 @@ export default {
 | 
	
		
			
				|  |  |          MEmpty
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // courseTypeIsVip 当前排课的类型,可能是赠送课程
 | 
	
		
			
				|  |  | -    props: ['studentList', 'activityId', 'courseTypeIsVip', 'typeStatus', 'studentNum'],
 | 
	
		
			
				|  |  | +    props: ['studentList', 'activityId', 'courseTypeIsVip', 'typeStatus', 'studentNum', 'isMusicTheory'],
 | 
	
		
			
				|  |  |      data() {
 | 
	
		
			
				|  |  |          return {
 | 
	
		
			
				|  |  |              params: {
 | 
	
	
		
			
				|  | @@ -159,9 +159,16 @@ export default {
 | 
	
		
			
				|  |  |              this.$listeners.close()
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          onPopupSubmit() {
 | 
	
		
			
				|  |  | -            if (this.checkboxSelect.length != this.studentNum) {
 | 
	
		
			
				|  |  | -                this.$toast(`请选择学生${this.studentNum}名,当前选择${this.checkboxSelect.length}名`);
 | 
	
		
			
				|  |  | -                return;
 | 
	
		
			
				|  |  | +            if (this.isMusicTheory) {
 | 
	
		
			
				|  |  | +                if (!(this.checkboxSelect.length >= 1 && this.checkboxSelect.length <= this.studentNum)) {
 | 
	
		
			
				|  |  | +                    this.$toast(`请选择1-${this.studentNum}名学生,当前选择${this.checkboxSelect.length}名`);
 | 
	
		
			
				|  |  | +                    return;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +                if (this.checkboxSelect.length != this.studentNum) {
 | 
	
		
			
				|  |  | +                    this.$toast(`请选择学生${this.studentNum}名,当前选择${this.checkboxSelect.length}名`);
 | 
	
		
			
				|  |  | +                    return;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              let dataList = this.dataList || []
 | 
	
		
			
				|  |  |              let checkList = []
 | 
	
	
		
			
				|  | @@ -250,4 +257,4 @@ export default {
 | 
	
		
			
				|  |  |          margin-left: 0.1rem;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -</style>
 | 
	
		
			
				|  |  | +</style>
 |