Files
GateDge2023_ljy/02.珠海市供水有限公司/ZHSW/PUR_Requisition/BillEventPlugInEx.cs

28 lines
950 B
C#
Raw Normal View History

2024-03-28 11:30:14 +08:00
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);
}
}
}