修改支付订单时选择满减券的限制
This commit is contained in:
@@ -297,7 +297,8 @@
|
||||
}
|
||||
go.to('PAGES_ORDER_QUAN', {
|
||||
orderId: order.id,
|
||||
memberId: order.memberId
|
||||
memberId: order.memberId,
|
||||
orderPrice:payPrice.value
|
||||
})
|
||||
}
|
||||
async function discountShow() {
|
||||
|
||||
@@ -204,7 +204,7 @@
|
||||
console.log(order.value);
|
||||
const res = await $activateByOrderId(option)
|
||||
canDikouGoodsArr = returnNewGoodsList(order.value.detailList || [])
|
||||
res.fullReductionCoupon = res.fullReductionCoupon.filter((v) => v.use)
|
||||
res.fullReductionCoupon = res.fullReductionCoupon.filter((v) => v.use&&option.orderPrice*1>=v.fullAmount*1)
|
||||
res.productCoupon = res.productCoupon.map(v => {
|
||||
const calcCoup = returnProductCoupon(v, canDikouGoodsArr, user.value)
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user