using Kingdee.BOS.Core.Bill.PlugIn;
using Kingdee.BOS.Core.Bill.PlugIn.Args;
using Kingdee.BOS.Core.List.PlugIn;
using Kingdee.BOS.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Dynamic;
using System.Linq;
using System.Text;

namespace LF.K3.SCM.BusinessPlugin
{
    [Description("BOM任务表保存插件")]
    [HotUpdate]
    public class BOMEditServer : AbstractBillPlugIn
    {
        //public override void AfterSave(AfterSaveEventArgs e)
        //{
        //    base.AfterSave(e);

        //    //var a = this.Model.GetValue("FPAREENTMATERIAL");
        //    //var b=this.View.GetControl("FPAREENTMATERIAL").ToString();
        //    //var a = ((DynamicObject)this.Model.GetValue("FPAREENTMATERIAL",))["ID"];
        //    //var a=this.View.Model.DataObject["FPAREENTMATERIAL"].ToString();
        //    string FormTitle = this.View.GetFormTitle();
        //    var a=this.View.Model.GetValue("FPAREENTMATERIAL", 2);

        //    string sql = $@"select * from qaz_t_BOMTask001 where FPAREENTMATERIAL={a}";
        //}

    }
}
