根据表, 给一个条件进行, 数据过滤原创
1人赞赏了该文章
181次浏览
未经作者许可,禁止转载编辑于2023年09月13日 16:43:37
(EventObject e) { .registerListener(e)BasedataEdit edit = .getControl()edit.addBeforeF7SelectListener()} (BeforeF7SelectEvent event) { ListShowParameter showParameter = (ListShowParameter) event.getFormShowParameter()(.getModel().getValue() != ) { DynamicObject outStorage = (DynamicObject) .getModel().getValue()DynamicObject[] materials = BusinessDataServiceHelper.(QFilter[]{QFilter(QCP.outStorage.get())})List ids = ArrayList()(DynamicObject material : materials) { ids.add(material.getDynamicObject().get())} showParameter.getListFilterParameter().getQFilters().add(QFilter(QCP.ids))} }
推荐阅读