25 lines
913 B
C#
25 lines
913 B
C#
using Kingdee.BOS.Core.DynamicForm.PlugIn;
|
||
using Kingdee.BOS.Util;
|
||
using System;
|
||
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);
|
||
//this.View.InvokeFieldUpdateService("FTAXRATE", "", 0);
|
||
var materialEntity = this.View.Model.BillBusinessInfo.GetEntryEntity("FAnalyzeMaterialEntity");
|
||
var materialRows = this.View.Model.GetEntityDataObject(materialEntity);
|
||
}
|
||
}
|
||
}
|