fix: 订单管理页面调整增加退款功能,代客下单调整

This commit is contained in:
2025-03-01 11:36:47 +08:00
parent bad3c20724
commit 1c0887869e
28 changed files with 2002 additions and 150 deletions

View File

@@ -152,13 +152,13 @@ function onSubmitHandle() {
let res = form.id ? await tableApi.edit(form) : await tableApi.add(form);
console.log(res);
emits("success", res);
close();
ElNotification({
title: "成功",
message: `${form.id ? "编辑" : "添加"}成功`,
type: "success",
});
loading.value = false;
close();
} catch (error) {
loading.value = false;
console.log(error);

View File

@@ -43,6 +43,7 @@ export default {
try {
this.loading = true;
const file = await TableApi.downloadTableCode(this.form.number);
console.log(file);
this.loading = false;
this.dialogVisible = false;
ElMessage.success("下载成功");

View File

@@ -219,7 +219,7 @@
<!-- 弹窗 -->
<addEara ref="refAddEara" @success="areainit" />
<addTable ref="refAddTable" @success="tableinit" />
<addTable ref="refAddTable" @success="tableInit" />
<!-- 下载桌台码 -->
<downloadTableCode ref="refDownloadTableCode" />
</div>