新需求修改:菜单调整,分店下拉增加,分店管理增加,增加店铺修改

This commit is contained in:
GaoHao
2025-04-02 17:14:55 +08:00
parent d0a757957d
commit 11b297baa5
11 changed files with 1017 additions and 134 deletions

View File

@@ -301,10 +301,13 @@ async function handleEditClick(row: IObject) {
// 其他工具栏
function handleToolbarClick(name: string) {
console.log(name);
if (name === "custom1") {
if ( name === "custom1" ) {
// ElMessage.success("点击了自定义1按钮");
myDialogRef.value.open();
}
if ( name === "custom2" ) { //商品同步
}
}
async function confirm() {
let res = await UserAPI.stockWarning(form.warnLine)

View File

@@ -66,6 +66,13 @@ const contentConfig: IContentConfig<UserPageQuery> = {
name: "custom1",
auth: "import",
},
{
icon: "refresh",
text: "同步",
type: "danger",
name: "custom2",
auth: "import",
},
],
cols: [
// { type: "selection", width: 50, align: "center" },