2024-03-28 11:30:14 +08:00
|
|
|
|
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);
|
2024-04-10 10:39:04 +08:00
|
|
|
|
//this.View.InvokeFieldUpdateService("FTAXRATE", "", 0);
|
2024-03-28 11:30:14 +08:00
|
|
|
|
var materialEntity = this.View.Model.BillBusinessInfo.GetEntryEntity("FAnalyzeMaterialEntity");
|
|
|
|
|
|
var materialRows = this.View.Model.GetEntityDataObject(materialEntity);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|