文章目录
金蝶云星空设置单据体行高
表单插件
新建类继承AbstractBillPlugIn,重写OnInitialize方法进行设置
csharp
public override void OnInitialize(InitializeEventArgs e)
{
base.OnInitialize(e);
this.View.GetControl<EntryGrid>("FEntity").SetRowHeight(80);
}
Python脚本
csharp
import clr
clr.AddReference('System')
clr.AddReference('Kingdee.BOS.Core')
from Kingdee.BOS.Core.DynamicForm import *
from Kingdee.BOS.JSON import *
def AfterBindData(e):
this.View.GetControl("FEntity").SetRowHeight(80);