|
|
@@ -1975,12 +1975,15 @@ export default {
|
|
|
return item.categoryCode == this.treeSelect[x].code;
|
|
|
});
|
|
|
this.treeSelect[x].dot = activate ? true : false;
|
|
|
- // 右侧选中返现
|
|
|
+ // 反显右侧选中
|
|
|
let children = this.treeSelect[x].children;
|
|
|
- if (children) {
|
|
|
+ if (children && this.treeSelect[x].dot) {
|
|
|
for (let y = 0; y < children.length; y++) {
|
|
|
let activate = this.activatedTCFXList.find((item) => {
|
|
|
- return children[y].chainCode == item.chainCode;
|
|
|
+ return (
|
|
|
+ children[y].categoryCode == item.categoryCode &&
|
|
|
+ children[y].chainCode == item.chainCode
|
|
|
+ );
|
|
|
});
|
|
|
if (activate) {
|
|
|
children[y].Check = true;
|