修改
This commit is contained in:
parent
cb218f72af
commit
a48e243e44
@ -151,7 +151,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 300);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ruleForm: [],
|
ruleForm: [],
|
||||||
@ -267,7 +267,6 @@ export default {
|
|||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||||
// 设置为空可以让节点不高亮显示
|
// 设置为空可以让节点不高亮显示
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
this.$refs.cascader.$refs.panel.activePath = [];
|
||||||
|
|
||||||
},
|
},
|
||||||
//页面所属护理站
|
//页面所属护理站
|
||||||
ParamsStation(item) {
|
ParamsStation(item) {
|
||||||
|
|||||||
@ -184,7 +184,13 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<!-- 添加或修改商品分类信息对话框 -->
|
<!-- 添加或修改商品分类信息对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="open"
|
||||||
|
width="500px"
|
||||||
|
append-to-body
|
||||||
|
:before-close="cancel"
|
||||||
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="父级分类名称"
|
label="父级分类名称"
|
||||||
@ -293,7 +299,7 @@ export default {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 300);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
imgone: "",
|
imgone: "",
|
||||||
@ -420,7 +426,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
console.log(this.form);
|
if (this.form.parentId) {
|
||||||
|
// 清空选中的节点
|
||||||
|
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
||||||
|
// 设置为空可以让节点不高亮显示
|
||||||
|
this.$refs.cascader.$refs.panel.activePath = [];
|
||||||
|
}
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
if (this.imgone != this.form.goodsCategoryPicture) {
|
if (this.imgone != this.form.goodsCategoryPicture) {
|
||||||
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user