|
@@ -808,6 +808,10 @@ export default {
|
808
|
808
|
...this.postData,
|
809
|
809
|
caseid: this.couponInfo.CaseId
|
810
|
810
|
}).then((res) => {
|
|
811
|
+ this.goodsList = []
|
|
812
|
+ for (var n = 0; n < res.list.length; n++) {
|
|
813
|
+ this.goodsList.push({ ...res.list[n], TypeId: this.returnGoodsType(res.list[n].TypeId) })
|
|
814
|
+ }
|
811
|
815
|
this.total = res.pagenum
|
812
|
816
|
})
|
813
|
817
|
} else if (this.couponInfo.CouponType === 'course') {
|
|
@@ -815,6 +819,10 @@ export default {
|
815
|
819
|
...this.postData,
|
816
|
820
|
caseid: this.couponInfo.CaseId
|
817
|
821
|
}).then((res) => {
|
|
822
|
+ this.courseList = []
|
|
823
|
+ for (var n = 0; n < res.list.length; n++) {
|
|
824
|
+ this.courseList.push({ ...res.list[n], BeginDate: this.toolClass.dateFormat(res.list[n].BeginDate), EndDate: this.toolClass.dateFormat(res.list[n].EndDate) })
|
|
825
|
+ }
|
818
|
826
|
this.total = res.pagenum
|
819
|
827
|
})
|
820
|
828
|
}
|