| 
					
				 | 
			
			
				@@ -422,9 +422,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       obj.musicGroupPaymentEntities = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 添加学校主体付费方式 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // console.log(this.payfor.company.ischeck) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.payfor.school.ischeck) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         obj.musicGroupPaymentEntities.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           'amount': this.payfor.school.price, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           'memo': this.payfor.school.value, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -441,44 +439,82 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           'name': '公司' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let activeSoundList = this.activeSoundList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 添加商品以及教辅 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      obj.musicGroupSubjectGoodsGroups = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // 遍历声部里的乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let some = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        some.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        some.type = 'INSTRUMENT'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        some.goodsIdList = this.activeSoundList[i].zhonglei.join(','); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 遍历声部里的教辅 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // 遍历声部里的乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        for (let j in this.activeSoundList[i].markList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let some = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          some.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          some.type = 'ACCESSORIES'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          some.goodsIdList = this.activeSoundList[i].markList[j].goods.join(','); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          some.name = this.activeSoundList[i].markList[j].name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          some.price = this.activeSoundList[i].markList[j].price; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      obj.musicGroupSubjectGoodsGroups = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      obj.musicGroupSubjectPlans = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      activeSoundList.forEach(active => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          active.zhonglei.forEach(zl => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              let some = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  subjectId: active.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  type: 'INSTRUMENT', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  goodsIdList: zl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 添加声部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      obj.musicGroupSubjectPlans = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let item = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // expectedStudentNum 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.expectedStudentNum = this.activeSoundList[i].jihua; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.fee = this.activeSoundList[i].yuji; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.kitGroupPurchaseType = this.activeSoundList[i].fangshi; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.subName = this.activeSoundList[i].sound; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // depositFee  只有租赁才有 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.depositFee = this.activeSoundList[i].fangshiprice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        obj.musicGroupSubjectPlans.push(item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 遍历声部里的乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          active.markList.forEach(mark => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              let some = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  subjectId: active.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  type: 'ACCESSORIES', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  goodsIdList: mark, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  name: mark.name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  price: mark.price 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 添加声部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let item = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              expectedStudentNum: active.jihua, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              fee: active.yuji, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              kitGroupPurchaseType: active.fangshi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              subName: active.sound, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              subjectId: active.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              depositFee: active.fangshiprice // depositFee  只有租赁才有 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          obj.musicGroupSubjectPlans.push(item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // 遍历声部里的乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   let some = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   some.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   some.type = 'INSTRUMENT'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   some.goodsIdList = this.activeSoundList[i].zhonglei.join(','); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // // 遍历声部里的教辅 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // 遍历声部里的乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   for (let j in this.activeSoundList[i].markList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     let some = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     some.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     some.type = 'ACCESSORIES'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     some.goodsIdList = this.activeSoundList[i].markList[j].goods.join(','); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     some.name = this.activeSoundList[i].markList[j].name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     some.price = this.activeSoundList[i].markList[j].price; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     obj.musicGroupSubjectGoodsGroups.push(some); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // // 添加声部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // obj.musicGroupSubjectPlans = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // for (let i in this.activeSoundList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   let item = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // expectedStudentNum 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.expectedStudentNum = this.activeSoundList[i].jihua; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.fee = this.activeSoundList[i].yuji; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.kitGroupPurchaseType = this.activeSoundList[i].fangshi; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.subName = this.activeSoundList[i].sound; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.subjectId = this.activeSoundList[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // depositFee  只有租赁才有 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   item.depositFee = this.activeSoundList[i].fangshiprice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   obj.musicGroupSubjectPlans.push(item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       createTeam(obj).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // 成功 跳转到乐团报名详情 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -504,7 +540,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (val == 'FREE') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         str = '免费' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (val == 'GROUP') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        str = '租赁' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        str = '团购' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (val == 'LEASE') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         str = '借用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 |