添加项目文件。

This commit is contained in:
2025-07-26 10:36:48 +08:00
parent aab1ca4d89
commit 9bc1b300d6
44 changed files with 2650 additions and 0 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);
}
}
}
}