ap-dev 1.2.17 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -292,6 +292,16 @@ export default {
|
|
|
292
292
|
afterOpenAddDialog: (node) => {
|
|
293
293
|
this.tAbapTableForm.fdParentId = node.fdId; // 自动赋值表单的父类型
|
|
294
294
|
},
|
|
295
|
+
filterNodeMethod: (value, data) => {
|
|
296
|
+
if (!value) return true;
|
|
297
|
+
if(data["fdName"] != null && data["fdName"].indexOf(value) !== -1) {
|
|
298
|
+
return true;
|
|
299
|
+
}
|
|
300
|
+
if(data["fdDesc"] != null && data["fdDesc"].indexOf(value) !== -1) {
|
|
301
|
+
return true;
|
|
302
|
+
}
|
|
303
|
+
return false;
|
|
304
|
+
}
|
|
295
305
|
};
|
|
296
306
|
|
|
297
307
|
return treeOptions;
|