1.交班新增选择是否打印商品销售数据

This commit is contained in:
gyq
2024-07-23 10:25:20 +08:00
parent a282636266
commit d2183eec37
16 changed files with 412 additions and 400 deletions

View File

@@ -20,6 +20,12 @@
</el-icon>
<el-text class="text">{{ item.label }}</el-text>
</router-link>
<div class="item" @click="workRef.show()">
<el-icon class="icon">
<component is="SwitchButton" />
</el-icon>
<el-text class="text">交班</el-text>
</div>
<div class="item more" @click="moreref.show()">
<el-icon class="icon">
<Operation />
@@ -27,6 +33,8 @@
<el-text class="text">更多</el-text>
</div>
</div>
<!-- 交班 -->
<work ref="workRef" />
<!-- 更多 -->
<more ref="moreref" @openCall="openCall"></more>
<!-- 叫号 -->
@@ -39,6 +47,7 @@ import { useRoute } from 'vue-router'
import { useSocket } from '@/store/socket.js'
import more from '@/components/more.vue'
import callNumber from './callNumber.vue'
import work from '@/views/work/index.vue'
const emits = defineEmits(['connectWsHandle'])
@@ -47,6 +56,8 @@ const socketStore = useSocket()
const route = useRoute()
const moreref = ref(null)
const callNumberRef = ref(null)
const workRef = ref(null)
const menus = ref([
{
label: '收银',
@@ -78,11 +89,11 @@ const menus = ref([
path: '/member',
icon: 'User'
},
{
label: '交班',
path: '/work',
icon: 'SwitchButton'
}
// {
// label: '交班',
// path: '/work',
// icon: 'SwitchButton'
// }
])
// 更新叫号记录