28 lines
867 B
C#
28 lines
867 B
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|