using Kingdee.BOS.Core.DynamicForm; using Kingdee.BOS.Core.DynamicForm.PlugIn; using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; using Kingdee.BOS.Orm.DataEntity; namespace pingzheng { public class Pintzheng1 : AbstractOperationServicePlugIn { public override void OnAddValidators(AddValidatorsEventArgs e) { base.OnAddValidators(e); foreach (DynamicObject obj in e.DataEntities) { if (obj["FSourceBillKey_Id"] != null && obj["FSourceBillKey_Id"].Equals("35444e47-73c4-45fa-868d-51ff7345d0ed") && obj["F_aaa_Text"] == null) { obj["F_aaa_TEXT"] = "AAA"; } } } } }
标签:Core,obj,金蝶,BOS,Kingdee,K3,DynamicForm,using,Cloud From: https://www.cnblogs.com/moducoder/p/17371387.html