代客下单增加下单关闭回调,当点餐页面关闭刷新桌台状态

This commit is contained in:
YeMingfei666 2024-08-21 13:30:09 +08:00
parent 8a84a99272
commit 1bc4cf134c
2 changed files with 75 additions and 30 deletions

File diff suppressed because one or more lines are too long

View File

@ -103,7 +103,7 @@
<downloadTableCode :total="total" ref="downloadTableCode" />
<!-- 点餐 -->
<table-diancan ref="dianan"></table-diancan>
<table-diancan ref="dianan" @close="onDiancanClose"></table-diancan>
</div>
</template>
@ -164,6 +164,9 @@ export default {
this.tbShopAreaGet();
},
methods: {
onDiancanClose(){
this.tbShopTableGet()
},
diancanShow(item) {
this.$refs.dianan.open(item);
},