霸王餐提交字段修改

This commit is contained in:
GaoHao
2024-11-21 17:59:17 +08:00
parent 20350ea247
commit 09aee024e0
3 changed files with 9 additions and 7 deletions

View File

@@ -277,11 +277,11 @@
this.favorable[0].value = ('-¥'+couponData.discountAmount)
this.userCouponInfos.push({
userCouponId: couponData.id,
type: couponData.type,
discountAmount: couponData.discountAmount,
num: couponData.type == 1 ? 1 : couponData.num,
})
userCouponId: couponData.id,
type: couponData.type,
discountAmount: couponData.discountAmount,
num: couponData.type == 1 ? 1 : couponData.num,
})
this.$emit("setPayAmount",{
payAmount: this.listinfo.payAmount,

View File

@@ -963,7 +963,7 @@
res = await this.api.paymemeberIn({
shopId: uni.cache.get('shopId'),
amount: this.listinfo.payAmount,
orderld: this.listinfoid,
orderId: this.listinfoid,
// #ifdef MP-WEIXIN
payType: 'wechatPay',
// #endif

View File

@@ -250,6 +250,8 @@
}
this.getAount();
}
},
/**
@@ -384,7 +386,7 @@
res = await this.api.paymemeberIn({
shopId: uni.cache.get('shopId'),
amount: this.listinfo.payAmount,
orderld: this.orderId,
orderId: this.orderId,
// #ifdef MP-WEIXIN
payType: 'wechatPay',
// #endif