给table上dep加的f7添加过滤
var table= pluginCtx.getKDTable("kdtEntry");
var xmh = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
xmh.setQueryInfo("com.kingdee.eas.basedata.master.auxacct.app.F7GeneralAsstActTypeQuery");
xmh.setEditable(true);
xmh.setDisplayFormat("$name$");
xmh.setEditFormat("$number$");
xmh.setCommitFormat("$number$");
var viewInfo = new com.kingdee.bos.metadata.entity.EntityViewInfo();
var filterInfo = new com.kingdee.bos.metadata.entity.FilterInfo();
filterInfo.getFilterItems().add(new com.kingdee.bos.metadata.entity.FilterItemInfo("isEnabled", "1", CompareType.EQUALS));
viewInfo.setFilter(filterInfo);
xmh.setEntityViewInfo(viewInfo);
table.getColumn("列名").setEditor(new com.kingdee.bos.ctrl.kdf.table.KDTDefaultCellEditor(xmh));
给table上dep加的f7添加过滤
var table= pluginCtx.getKDTable("kdtEntry");var xmh = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();xmh.setQueryI...
点击下载文档
本文2024-09-16 23:23:25发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-54251.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章