下单相关修改

This commit is contained in:
GaoHao
2024-09-27 13:38:11 +08:00
parent a821223a3b
commit 587fa3a620
2 changed files with 31 additions and 7 deletions

View File

@@ -84,14 +84,17 @@
}
let res = await this.api.productChoseCount({
orderId: this.orderId,
dinersNum: this.dinersNum,
tableId: this.tableCode,
num: this.dinersNum,
shopId: this.shopId,
}) //判断是否支付成功
uni.pro.navigateTo('order_food/order_food', {
tableCode: this.tableCode,
dinersNum: this.dinersNum,
})
if ( res.code == 0) {
uni.pro.navigateTo('order_food/order_food', {
tableCode: this.tableCode,
dinersNum: this.dinersNum,
})
}
}
}