feat: 增加点歌配置列表页面,修复转桌报错导致页面无反应问题,去除添加耗材的库存数量以及弹窗关闭表单重置失败问题
This commit is contained in:
@@ -217,7 +217,7 @@
|
||||
<!-- 美团抖音核销 -->
|
||||
<quan-hexiao ref="refQuanHexiao"></quan-hexiao>
|
||||
<!-- 转桌 -->
|
||||
<rottable ref="refRotTable" :cartGoods="carts.list"></rottable>
|
||||
<rottable ref="refRotTable" :cartGoods="carts.list" @success="rottableSuccess"></rottable>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
@@ -271,6 +271,11 @@ function rottableShow() {
|
||||
sourceOrderId: carts.oldOrder.id,
|
||||
});
|
||||
}
|
||||
async function rottableSuccess(tableCode) {
|
||||
const res = await getTableDetail({ tableCode: tableCode });
|
||||
table.value = res;
|
||||
carts.changeTable(tableCode);
|
||||
}
|
||||
|
||||
//美团抖音核销
|
||||
const refQuanHexiao = ref();
|
||||
@@ -734,7 +739,7 @@ onMounted(async () => {
|
||||
user.value = userRes;
|
||||
carts.changeUser(userRes);
|
||||
}
|
||||
//获取台桌数据
|
||||
//获取桌台数据
|
||||
if (res.tableCode) {
|
||||
const tableRes = await tableApi.get({ tableCode: res.tableCode });
|
||||
if (tableRes.tableCode) {
|
||||
|
||||
Reference in New Issue
Block a user