fix: 代客下单修复桌台跳转到代客下单页面刷新台桌问题,打包费计算问题

This commit is contained in:
2025-03-25 14:47:19 +08:00
parent ce9ea228f1
commit 6d68c17970
2 changed files with 13 additions and 10 deletions

View File

@@ -734,7 +734,7 @@ function init() {
getTableList();
getCategoryList();
changeCartsDinerType();
carts.init({ table_code: table.tableCode }, oldOrder.value);
carts.init({ table_code: table.value.tableCode }, oldOrder.value);
}
onBeforeRouteLeave(() => {
@@ -794,6 +794,7 @@ onMounted(async () => {
table.value = tableRes || {};
}
}
console.log(table.value);
init();
});