增加选择台桌和选择人数

This commit is contained in:
2024-09-10 17:42:55 +08:00
parent 3cc53ec6e1
commit e59919c6f1
6 changed files with 430 additions and 102 deletions

View File

@@ -97,7 +97,7 @@
type="primary"
:disabled="!item.tableId || item.status === 'closed'"
@click="diancanShow(item)"
>开始点餐</el-button
>点餐</el-button
>
</template>
<template v-else >
@@ -164,6 +164,7 @@ import addEara from "./components/addEara";
import addTable from "./components/addTable";
import downloadTableCode from "./components/downloadTableCode";
import tableDiancan from "./components/table-diancan.vue";
import $status from "./status.js";
import {
tbShopTableGet,
tbShopAreaGet,
@@ -184,40 +185,7 @@ export default {
loading: false,
total: 0,
tableList: [],
status: {
pending: {
label: "挂单中",
type: "#E6A23C",
},
using: {
label: "开台中",
type: "#E6A23C",
},
paying: {
label: "结算中",
type: "#E6A23C",
},
idle: {
label: "空闲",
type: "#67C23A",
},
subscribe: {
label: "预定",
type: "#E6A23C",
},
closed: {
label: "关台",
type: "rgb(221,221,221)",
},
// opening: {
// label: "开台中",
// type: "#67C23A",
// },
cleaning: {
label: "台桌清理中",
type: "#909399",
},
},
status:$status
};
},
mounted() {