更改order_food/order_food路径前

This commit is contained in:
wwz
2025-03-24 17:09:06 +08:00
parent 94b513820f
commit 429336c736
7 changed files with 74 additions and 35 deletions

View File

@@ -375,7 +375,7 @@
type: "confirm_order_product",
shopId: uni.cache.get('orderVIP').shopId,
shopUserId: props.orderVIP.id,
payAmount: props.listinfo.totalCost,
payAmount: props.listinfo.totalPrices,
shoppingCart: JSON.stringify(props.listinfo.combinedArray)
})
break;

View File

@@ -259,7 +259,7 @@
uniqueIds.value = [] // 筛选出商品卷的id
listinfo.coupondiscountAmount = 0 // 优惠卷减去的金额
listinfo.Productroll = 0 // 商品卷总价价格
listinfo.coupondiscountAmount = 0 // 优惠卷减去的金额
listinfo.pointsNum = 0 // 商品卷总价价格
// 支付方式切换
// #ifdef MP-WEIXIN
paymentMethodref.value.groupChanges(2)
@@ -320,7 +320,6 @@
// 这是优惠卷传的值
const handleReturnData = async (data) => {
console.log(data, uniqueIds.value, '11')
// 这是优惠卷
if (data.typeOrder == 1) {
if (data.item) {
@@ -364,7 +363,6 @@
}
const istoricalorders = async () => {
return false;
// 先调用历史订单
let APIhistoryOrderres = await APIhistoryOrder({
tableCode: listinfo.tableCode
@@ -446,7 +444,8 @@
userAllPack: is_type.value == 0 ? 0 : 1, //是否整单打包
amount: listinfo.totalCost, // 最终订单金额
returnUrl: '', //跳转地址
buyerRemark: ''
buyerRemark: '',
seatNum: listinfo.seatNum
})
return false;
} else {