| 
					
				 | 
			
			
				@@ -78,6 +78,7 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       titleImg: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       accompanimentType: 'HOMEMODE', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       chargeType: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      paymentType: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       showFingering: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       canEvaluate: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       notation: 1, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -112,6 +113,7 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     chargeType() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.chargeType === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.musicPrice = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.paymentType = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -172,7 +174,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async setDetail(id: string) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const res = await request.get('/api-teacher/music/sheet/detail/' + id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.chargeType = res.data.chargeType === 'FREE' ? 0 : 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.chargeType = res.data.paymentType === 'FREE' ? 0 : 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.paymentType = res.data.paymentType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.showFingering = res.data.showFingering 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.canEvaluate = res.data.canEvaluate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.chargeType) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -260,6 +263,7 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         xmlFileUrl: this.xmlFileUrl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         canEvaluate: Number(this.canEvaluate), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         chargeType: this.chargeType === 0 ? 'FREE' : 'CHARGE', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        paymentType: this.paymentType ? this.paymentType : this.chargeType === 0 ? 'FREE' : 'CHARGE', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         exquisiteFlag: this.exquisiteFlag, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         composer: this.composer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         musicPrice: this.chargeType === 0 ? 0 : this.musicPrice, // 当选择免费时,重置金额为0 
			 |