Commit 4891ae7a by caoyanzhi

update: 我的客户和门店选择器调整

parent a16df98c
......@@ -90,7 +90,8 @@ export default {
groupDataCopy: [],
defaultProps: {
children: 'children',
label: 'storeGroupName'
label: 'storeGroupName',
disabled: data => !data.hasRight
},
checkedKeys: this.selectData.length ? this.selectData.map(ele => ele.departmentId) : []
};
......
......@@ -114,7 +114,9 @@ export default {
item.children = await that.getChildData(item);
item.loading = false;
} */
that.$emit('getSelectData', item);
if (item.hasRight) {
that.$emit('getSelectData', item);
}
},
/**
* 获取下级数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment