新需求修改:菜单调整,分店下拉增加,分店管理增加,增加店铺修改
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user