|
@@ -501,7 +501,6 @@ export default {
|
|
}
|
|
}
|
|
obj.musicGroupSubjectGoodsGroups.push(some);
|
|
obj.musicGroupSubjectGoodsGroups.push(some);
|
|
})
|
|
})
|
|
-
|
|
|
|
// 附件
|
|
// 附件
|
|
active.markList.forEach(mark => {
|
|
active.markList.forEach(mark => {
|
|
if (mark.goods.length >= 1) {
|
|
if (mark.goods.length >= 1) {
|
|
@@ -541,6 +540,7 @@ export default {
|
|
type: 'warning'
|
|
type: 'warning'
|
|
}).then(() => {
|
|
}).then(() => {
|
|
createTeam(obj).then(res => {
|
|
createTeam(obj).then(res => {
|
|
|
|
+
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
// 成功 跳转到乐团报名详情
|
|
// 成功 跳转到乐团报名详情
|
|
this.$router.push({ path: '/business/teamDetail', query: { search: this.Fsearch, rules: this.Frules } })
|
|
this.$router.push({ path: '/business/teamDetail', query: { search: this.Fsearch, rules: this.Frules } })
|
|
@@ -549,6 +549,7 @@ export default {
|
|
}).catch(() => { })
|
|
}).catch(() => { })
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
+
|
|
// 只提交第二页的数据
|
|
// 只提交第二页的数据
|
|
let obj = {};
|
|
let obj = {};
|
|
let activeSoundList = this.activeSoundList
|
|
let activeSoundList = this.activeSoundList
|
|
@@ -739,7 +740,7 @@ export default {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.activeSoundList = res.data.map(item => {
|
|
this.activeSoundList = res.data.map(item => {
|
|
// this.soundLists[0].push(item.subjectId)
|
|
// this.soundLists[0].push(item.subjectId)
|
|
- let obj = { 'id': item.subjectId, 'sound': item.name, 'jihua': item.expectedStudentNum, 'yuji': item.fee, 'zhonglei': [], 'fangshi': item.kitGroupPurchaseType, 'fangshiprice': item.depositFee, 'jiaopu': '', 'type': 1, 'typeVisible': false, 'provideVisible': false, 'markVisible': false, 'goodsList': [], 'markList': [], 'markChioseList': [] }
|
|
|
|
|
|
+ let obj = { 'id': item.id, 'sound': item.name, 'jihua': item.expectedStudentNum, 'yuji': item.fee, 'zhonglei': [], 'fangshi': item.kitGroupPurchaseType, 'fangshiprice': item.depositFee, 'jiaopu': '', 'type': 1, 'typeVisible': false, 'provideVisible': false, 'markVisible': false, 'goodsList': [], 'markList': [], 'markChioseList': [] }
|
|
// this.checkinlist(obj);
|
|
// this.checkinlist(obj);
|
|
return obj;
|
|
return obj;
|
|
})
|
|
})
|
|
@@ -853,7 +854,6 @@ export default {
|
|
PlannedCount () {
|
|
PlannedCount () {
|
|
let Count = 0;
|
|
let Count = 0;
|
|
for (let item in this.activeSoundList) {
|
|
for (let item in this.activeSoundList) {
|
|
- console.log(this.activeSoundList[item].jihua)
|
|
|
|
Count += parseInt(this.activeSoundList[item].jihua) || 0
|
|
Count += parseInt(this.activeSoundList[item].jihua) || 0
|
|
}
|
|
}
|
|
return Count
|
|
return Count
|