料品分类

This commit is contained in:
xielue 2023-05-10 18:58:38 +08:00
parent 90b7511e46
commit 44c01a848c
1 changed files with 4 additions and 4 deletions

View File

@ -261,7 +261,7 @@ export default {
treeAdd() {
this.$mk.dialog.open({
page: () => import("./treeEdit"),
title: "新增-枚举分类",
title: "新增-料品分类",
dataId: 0,
callback: ({ success }) => {
success && this.treeInit();
@ -270,7 +270,7 @@ export default {
},
treeEdit() {
if (!this.selectedKey || this.selectedKey == "root") {
this.$mk.error("请先选择枚举分类");
this.$mk.error("请先选择料品分类");
return;
}
let node = this.findTreeNode(this.selectedKey);
@ -278,7 +278,7 @@ export default {
this.$mk.dialog.open({
page: () => import("./treeEdit"),
title: "编辑-枚举分类",
title: "编辑-料品分类",
dataId: node.id,
callback: ({ success }) => {
success && this.treeInit();
@ -411,7 +411,7 @@ export default {
let save = () => {
if (!this.selectedKey || this.selectedKey == "root") {
this.$mk.error("请先选择枚举分类");
this.$mk.error("请先选择料品分类");
return;
}
let node = this.findTreeNode(this.selectedKey);