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

功能结果如下:

k3 cloud单据体首行过滤功能-LMLPHP

注册在表单构造插件中:

k3 cloud单据体首行过滤功能-LMLPHP

05-21 22:27