This commit is contained in:
李狗蛋
2025-07-04 17:30:33 +08:00
parent 615ef0acf6
commit 95a74dc4f5
36 changed files with 631 additions and 21 deletions

27
SAL_ORDERList/ListUpFJ.cs Normal file
View File

@@ -0,0 +1,27 @@
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Core.List.PlugIn;
using Kingdee.BOS.Core.Metadata.FormElement;
using Kingdee.BOS.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GZ_LTHPilot_ORDER.SAL_ORDERList
{
[Description("列表插件:销售订单审批中支持上传附件"), HotUpdate]
public class ListUpFJ : AbstractListPlugIn
{
public override void BeforeDoOperation(BeforeDoOperationEventArgs e)
{
base.BeforeDoOperation(e);
//操作前出发判断
if (e.Operation.FormOperation.OperationId == FormOperation.Operation_AttachmentMgr)
{
e.Option.SetVariableValue("ForceEnableAttachOperate", true);
}
}
}
}