1
This commit is contained in:
27
SAL_ORDERList/ListUpFJ.cs
Normal file
27
SAL_ORDERList/ListUpFJ.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user