修改
This commit is contained in:
parent
bc9fa82eba
commit
83e468b97b
@ -257,10 +257,6 @@ export default {
|
||||
attributeDetailsSort: null,
|
||||
}, ],
|
||||
}, ];
|
||||
// 清空选中的节点
|
||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||
// 设置为空可以让节点不高亮显示
|
||||
this.$refs.cascader.$refs.panel.activePath = [];
|
||||
},
|
||||
//页面所属护理站
|
||||
ParamsStation(item) {
|
||||
@ -419,7 +415,6 @@ export default {
|
||||
updatePicture(obj).then((res) => {});
|
||||
}
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
|
||||
@ -428,12 +428,6 @@ export default {
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
++this.isResouceShow;
|
||||
if (this.form.parentId) {
|
||||
// 清空选中的节点
|
||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||
// 设置为空可以让节点不高亮显示
|
||||
this.$refs.cascader.$refs.panel.activePath = [];
|
||||
}
|
||||
var obj = { pictureUrlList: [] };
|
||||
if (this.imgone != this.form.goodsCategoryPicture) {
|
||||
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
||||
@ -521,10 +515,6 @@ export default {
|
||||
updatePicture(obj).then((res) => {});
|
||||
}
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
// 清空选中的节点
|
||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||
// 设置为空可以让节点不高亮显示
|
||||
this.$refs.cascader.$refs.panel.activePath = [];
|
||||
++this.isResouceShow;
|
||||
this.open = false;
|
||||
this.getList();
|
||||
@ -533,10 +523,6 @@ export default {
|
||||
} else {
|
||||
addGoodsCategory(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
// 清空选中的节点
|
||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||
// 设置为空可以让节点不高亮显示
|
||||
this.$refs.cascader.$refs.panel.activePath = [];
|
||||
++this.isResouceShow;
|
||||
this.open = false;
|
||||
this.getList();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user