更新优化换桌功能
This commit is contained in:
@@ -670,11 +670,13 @@ export const useCartsStore = defineStore("carts", () => {
|
||||
}
|
||||
|
||||
function rotTable(newVal: string | number, cart_id = []) {
|
||||
sendMessage('rottable', {
|
||||
new_table_code: newVal,
|
||||
table_code: table_code.value,
|
||||
cart_id
|
||||
});
|
||||
if (cart_id.length) {
|
||||
sendMessage('rottable', {
|
||||
new_table_code: newVal,
|
||||
table_code: table_code.value,
|
||||
cart_id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function del(data: any) {
|
||||
|
||||
Reference in New Issue
Block a user