首页 > 其他分享 >金蝶云星空设置单据体行高

金蝶云星空设置单据体行高

时间:2023-11-16 17:48:25浏览次数:33  
标签:金蝶 OnInitialize BOS Kingdee 单据 体行 import 80 clr

 一、表单插件  

新建类继承AbstractBillPlugIn,重写OnInitialize方法进行设置

        public override void OnInitialize(InitializeEventArgs e)
        {
            base.OnInitialize(e);
            this.View.GetControl<EntryGrid>("FEntity").SetRowHeight(80);
        }

 

二、Python脚本

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);

 

 

 

标签:金蝶,OnInitialize,BOS,Kingdee,单据,体行,import,80,clr
From: https://www.cnblogs.com/lanrenka/p/17825756.html

相关文章