using Kingdee.BOS.Core.DynamicForm.PlugIn; using Kingdee.BOS.Core.Metadata.EntityElement; using Kingdee.BOS.JSON; using Kingdee.BOS.Util; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace ZHGS.PUR_Requisition { [Description("根据日期,物料Id更新参考单价、取价方向、参考金额-控件触发、新增加载触发"), HotUpdate] public class BillEventPlugInEx : AbstractDynamicFormPlugIn { public override void AfterBindData(EventArgs e) { base.AfterBindData(e); var entity = this.View.BusinessInfo.GetEntity("FEntity"); var entrys = this.View.Model.GetEntityDataObject(entity); var materialEntity = this.View.Model.BillBusinessInfo.GetEntryEntity("FAnalyzeMaterialEntity"); var materialRows = this.View.Model.GetEntityDataObject(materialEntity); } } }