支付方式优化,外带订单去除table参数

This commit is contained in:
GaoHao
2025-01-13 13:32:33 +08:00
parent 31e656eb45
commit 32ab643a6b
4 changed files with 19 additions and 5 deletions

View File

@@ -880,7 +880,6 @@
}
let params = {
"tableId": this.tableCode , //桌台码
"shopId": uni.cache.get('shopId'),
"userId": uni.cache.get('userInfo').id,
"sendType": this.sendType,
@@ -892,6 +891,7 @@
if ( this.userCouponInfos ) {
params.userCouponInfos = this.userCouponInfos
}
if ( this.tableCode && this.sendType == "table") { params.tableId = this.tableCode; }
let res = await this.api.creatOrder(params)
this.listinfoid = res.data.id;
if ( this.storeInfo.registerType == 'restaurant') {