|
|
@@ -415,7 +415,7 @@ export default {
|
|
|
getReportMaterialType({ materialCode: this.materialCode, deptId: deptId }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
res.data.colorCardList.forEach((val) => {
|
|
|
- if (val.empLevel < 3) val.hasChildren = true;
|
|
|
+ if (val.isChildren && val.isChildren == 'true') val.hasChildren = true;
|
|
|
});
|
|
|
// 是否是子级
|
|
|
if (resolve) {
|