|
@@ -626,7 +626,7 @@ export default {
|
|
|
goodsSellDtos: this.goodsList,
|
|
|
marketAmount: this.marketAmount ? this.marketAmount : 0,
|
|
|
type: 1,
|
|
|
- couponIdList: this.obj.couponIdList || [],
|
|
|
+ couponIdList: this.obj ? this.obj.couponIdList : [],
|
|
|
})
|
|
|
.then((res) => {
|
|
|
setLoading(false);
|
|
@@ -723,8 +723,8 @@ export default {
|
|
|
userId: this.studentId,
|
|
|
goodsSellDtos: goodsList,
|
|
|
marketAmount: this.marketAmount ? this.marketAmount : 0,
|
|
|
- isUseBalancePayment: this.obj.payType,
|
|
|
- couponIdList: this.obj.couponIdList,
|
|
|
+ isUseBalancePayment: this.obj ? this.obj.payType : false,
|
|
|
+ couponIdList: this.obj ? this.obj.couponIdList : [],
|
|
|
})
|
|
|
.then((res) => {
|
|
|
setLoading(false);
|