销售订单-拓展-批量编辑字段属性-工具条-新建按钮-(按钮标识)[1]
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kingdee.BOS.Core.Bill.PlugIn;
using Kingdee.BOS;
namespace ALBB.BOS.ProJectName.BillTest2.Plugln
{
//继承AbstractBillPlugIn
public class ClassName2:AbstractBillPlugIn
{
//重写override 函数
public override void BarItemClick(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.BarItemClickEventArgs e)
{
base.BarItemClick(e);
//if条件判断
if(e.BarItemKey.Equals("(按钮标识)[1]"))
{
//弹框
this.View.ShowMessage
//取备注的值
(this.View.Model.GetValue
//转换格式 此处FNote为销售订单备注的标识
("FNote").ToString()
);
}
}
}
}