#实现单据体首行过滤
clr.AddReference('System')
clr.AddReference('Kingdee.BOS.Core')
from Kingdee.BOS.Core.DynamicForm.PlugIn import *
from Kingdee.BOS.Core.Metadata.EntityElement import *
from System import *
#方法覆写
def CreateControl(e):
if isinstance(e.ControlAppearance, EntryEntityAppearance):
e.Control.Put("showFilterRow", True);
功能结果如下:
注册在表单构造插件中: