|
@@ -266,6 +266,8 @@ export default {
|
|
|
this.form = {
|
|
this.form = {
|
|
|
...info.category
|
|
...info.category
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ this.categoryLevelPathId = info.category.categoryLevelPathIdParent
|
|
|
this.judgeSet(info);
|
|
this.judgeSet(info);
|
|
|
this.searchDeptNodeClick(this.form.deptLeaderId);
|
|
this.searchDeptNodeClick(this.form.deptLeaderId);
|
|
|
},
|
|
},
|
|
@@ -320,7 +322,7 @@ export default {
|
|
|
// 确定分类
|
|
// 确定分类
|
|
|
async confirmCategory(node, title, PathInfo, ruleCode) {
|
|
async confirmCategory(node, title, PathInfo, ruleCode) {
|
|
|
this.$set(this.form, 'code', null);
|
|
this.$set(this.form, 'code', null);
|
|
|
- this.categoryLevelPathId = PathInfo.categoryLevelPathId
|
|
|
|
|
|
|
+ this.categoryLevelPathId = PathInfo.categoryLevelPathId.split(',')[0]
|
|
|
|
|
|
|
|
if (title == '选择产品分类') {
|
|
if (title == '选择产品分类') {
|
|
|
this.$set(this.form, 'productCategoryLevelName', node.name);
|
|
this.$set(this.form, 'productCategoryLevelName', node.name);
|