This commit is contained in:
PastSaid
2025-01-01 08:21:58 +08:00
parent 9725ab5376
commit 3d15fd4b7e
59 changed files with 3013 additions and 1324 deletions

View File

@@ -0,0 +1,35 @@
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()
}
}
}
}
}