fix: 修复称重商品切换就餐模式时打包数量展示不对问题
This commit is contained in:
@@ -584,6 +584,10 @@ const diners = reactive({
|
||||
|
||||
function changeDinersSel(index) {
|
||||
diners.sel = index;
|
||||
changeCartsDinerType();
|
||||
}
|
||||
|
||||
function changeCartsDinerType() {
|
||||
carts.dinnerType = diners.sel == 0 ? "dine-in" : "take-out";
|
||||
}
|
||||
|
||||
@@ -729,6 +733,7 @@ watch(
|
||||
function init() {
|
||||
getTableList();
|
||||
getCategoryList();
|
||||
changeCartsDinerType();
|
||||
carts.init({ table_code: table.tableCode }, oldOrder.value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user