编写的Python脚本
送上Python脚本

#实现单据体首行过滤 
#by wanghl 2015-11-6
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);


相关文章: