36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using Kingdee.BOS.Core.Bill.PlugIn;
|
|
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
|
|
using Kingdee.BOS.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace GZ.LJY000.Biori.UNW_WMS_CUSTOMCODEGEN
|
|
{
|
|
[HotUpdate, Description("自定义条码生成表单插件#")]
|
|
public class BillEventPlugInEx : AbstractBillPlugIn
|
|
{
|
|
|
|
|
|
public override void EntryBarItemClick(BarItemClickEventArgs e)
|
|
{
|
|
base.EntryBarItemClick(e);
|
|
if (e.BarItemKey.StartsWith("tbConvUnit2PO", StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
var details = this.View.BusinessInfo.GetEntity("FBillEntry");
|
|
var entrys = this.View.Model.GetEntityDataObject(details);
|
|
|
|
foreach(var entry in entrys)
|
|
{
|
|
var rowIndex = this.View.Model.GetRowIndex(details, entry);
|
|
//this.View.Model.SetItemValueByID()
|
|
//JsonUtil.Serialize()
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|