订单逻辑修改

This commit is contained in:
GaoHao
2024-09-26 14:28:16 +08:00
parent 1de598f1b1
commit 82cea7c341
8 changed files with 1185 additions and 193 deletions

View File

@@ -60,12 +60,8 @@
if (tableCode) {
let data = await this.api.productqueryShop({
code: uni.cache.get('tableCode'),
lng: uni.cache.get('getLocationstorage').lng ? uni.cache.get('getLocationstorage').lng :
'',
lat: uni.cache.get('getLocationstorage').lat ? uni.cache.get('getLocationstorage').lat :
'',
})
if ( !data.data.shopTableInfo.orderId && data.data.storeInfo.isTableFee == 1) {
if ( !data.data.shopTableInfo.choseCount ) {
uni.pro.navigateTo('/pagesOrder/orderAMeal/index', {
tableCode: tableCode,
})