add: 多门店代码合并

This commit is contained in:
2025-09-09 15:08:32 +08:00
68 changed files with 3263 additions and 1164 deletions

View File

@@ -234,6 +234,8 @@ import searchConfig from "./goodsGroupconfig/search";
import searchConfig2 from "./goodsGroupconfig/search2";
import myDialog from "@/components/mycomponents/myDialog.vue";
import selectGoodslist from "./goodsGroupconfig/selectGoodslist.vue";
import { isSyncStatus } from "@/utils/index";
const {
searchRef,
searchRefs,
@@ -252,6 +254,18 @@ const {
handleFilterChange,
} = usePage();
if (isSyncStatus()) {
contentConfig.toolbar[0].hidden = true;
contentConfig.cols[contentConfig.cols.length - 1].operat[0].hidden = true;
contentConfig.cols[contentConfig.cols.length - 1].operat[1].hidden = true;
contentConfig.cols[3].templet = "custom";
} else {
contentConfig.toolbar[0].hidden = false;
contentConfig.cols[3].templet = "switch";
contentConfig.cols[contentConfig.cols.length - 1].operat[0].hidden = false;
contentConfig.cols[contentConfig.cols.length - 1].operat[1].hidden = false;
}
let switchref = ref(false);
// 新增

View File

@@ -73,7 +73,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
fixed: "right",
width: 280,
templet: "tool",
operat: ["edit", "delete"],
operat: [{ text: "编辑", icon: 'edit', name: "edit"}, { text: "删除", icon: 'delete', type: 'danger', name: "delete"}],
},
],
};