|
@@ -325,13 +325,9 @@ export default {
|
|
|
await this.getMemberList(); // 获取会员(团练保信息)
|
|
|
await this.getLeBao(); // 获取乐保
|
|
|
await this.getActive(); // 获取活动
|
|
|
- if (this.submitList.length > 0) {
|
|
|
- this.$bus.$emit("showguide", this.submitList);
|
|
|
- return;
|
|
|
- }
|
|
|
- console.log(this.$route.query.calenderId)
|
|
|
- if (this.$route.query.calenderId) {
|
|
|
|
|
|
+ console.log(this.$route.query.calenderId,'calenderId');
|
|
|
+ if (this.$route.query.calenderId) {
|
|
|
// 说明是修改 查缴项目详情
|
|
|
getMusicGroupPaymentCalenderDetail({
|
|
|
id: this.$route.query.calenderId,
|
|
@@ -339,9 +335,8 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data.member) {
|
|
|
// 团练保
|
|
|
- this.member = true
|
|
|
+ this.member = true;
|
|
|
this.$set(this.form, "memberList"[{ ...res.data.member }]);
|
|
|
-
|
|
|
}
|
|
|
this.$set(this.form, "paymentDate", [
|
|
|
res.data?.calender?.startPaymentDate,
|
|
@@ -366,7 +361,6 @@ export default {
|
|
|
if (res.data.repair) {
|
|
|
this.leBao = true;
|
|
|
this.$set(this.form, "leBaoList"[{ ...res.data.repair }]);
|
|
|
-
|
|
|
}
|
|
|
if (res.data?.course?.length > 0) {
|
|
|
this.teamCourse = true;
|
|
@@ -375,11 +369,14 @@ export default {
|
|
|
if (res.data?.activity?.length > 0) {
|
|
|
this.teamActive = true;
|
|
|
this.$set(this.form, "activity", res.data.activity);
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ if (this.submitList.length > 0) {
|
|
|
+ this.$bus.$emit("showguide", this.submitList);
|
|
|
+ return;
|
|
|
+ }
|
|
|
},
|
|
|
getActive() {
|
|
|
return vipGroupActivity({
|
|
@@ -556,7 +553,7 @@ export default {
|
|
|
let obj = this.fommatDate();
|
|
|
if (this.$route.query.calenderId) {
|
|
|
obj.calenderId = this.$route.query.calenderId;
|
|
|
- try {
|
|
|
+ try {
|
|
|
const res = await musicGroupresetCalender(obj);
|
|
|
this.$message.success("修改缴费成功");
|
|
|
this.goback();
|