霸王餐提交字段修改
This commit is contained in:
@@ -277,11 +277,11 @@
|
|||||||
this.favorable[0].value = ('-¥'+couponData.discountAmount)
|
this.favorable[0].value = ('-¥'+couponData.discountAmount)
|
||||||
|
|
||||||
this.userCouponInfos.push({
|
this.userCouponInfos.push({
|
||||||
userCouponId: couponData.id,
|
userCouponId: couponData.id,
|
||||||
type: couponData.type,
|
type: couponData.type,
|
||||||
discountAmount: couponData.discountAmount,
|
discountAmount: couponData.discountAmount,
|
||||||
num: couponData.type == 1 ? 1 : couponData.num,
|
num: couponData.type == 1 ? 1 : couponData.num,
|
||||||
})
|
})
|
||||||
|
|
||||||
this.$emit("setPayAmount",{
|
this.$emit("setPayAmount",{
|
||||||
payAmount: this.listinfo.payAmount,
|
payAmount: this.listinfo.payAmount,
|
||||||
|
|||||||
@@ -963,7 +963,7 @@
|
|||||||
res = await this.api.paymemeberIn({
|
res = await this.api.paymemeberIn({
|
||||||
shopId: uni.cache.get('shopId'),
|
shopId: uni.cache.get('shopId'),
|
||||||
amount: this.listinfo.payAmount,
|
amount: this.listinfo.payAmount,
|
||||||
orderld: this.listinfoid,
|
orderId: this.listinfoid,
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
payType: 'wechatPay',
|
payType: 'wechatPay',
|
||||||
// #endif
|
// #endif
|
||||||
|
|||||||
@@ -250,6 +250,8 @@
|
|||||||
}
|
}
|
||||||
this.getAount();
|
this.getAount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -384,7 +386,7 @@
|
|||||||
res = await this.api.paymemeberIn({
|
res = await this.api.paymemeberIn({
|
||||||
shopId: uni.cache.get('shopId'),
|
shopId: uni.cache.get('shopId'),
|
||||||
amount: this.listinfo.payAmount,
|
amount: this.listinfo.payAmount,
|
||||||
orderld: this.orderId,
|
orderId: this.orderId,
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
payType: 'wechatPay',
|
payType: 'wechatPay',
|
||||||
// #endif
|
// #endif
|
||||||
|
|||||||
Reference in New Issue
Block a user