This commit is contained in:
PastSaid
2024-08-29 09:42:49 +08:00
parent fa480006a8
commit 5472714e30
66 changed files with 7417 additions and 243 deletions

View File

@@ -1,9 +1,13 @@
using Kingdee.BOS.App;
using Kingdee.BOS.Contracts;
using Kingdee.BOS.Core.CommonFilter;
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel;
using Kingdee.BOS.Core.Metadata;
using Kingdee.BOS.Orm.DataEntity;
using Kingdee.BOS.ServiceHelper;
using Kingdee.BOS.Util;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -11,7 +15,7 @@ using System.Text;
namespace HUIWEI.Lexmark.sftp.SDK.ASN
{
public class BillEventPlugInEx : AbstractOperationServicePlugIn
public class BillEventPlugInEx : AbstractDynamicFormPlugIn
{
@@ -29,10 +33,24 @@ namespace HUIWEI.Lexmark.sftp.SDK.ASN
ISaveService saveService = ServiceHelper.GetService<ISaveService>();
//获取加载数据服务
IViewService viewService = ServiceHelper.GetService<IViewService>();
var showParameter = new FilterShowParameter();
showParameter.FormId = "POSH_CB_PROCOSTRESULTREC_FILTER";
showParameter.ParentPageId = this.View.PageId;
showParameter.CustomComplexParams.Add("", "");
//showParameter.FilterSchemeId
this.View.ShowForm(showParameter, result =>
{
});
/*JsonUtil.Serialize*/
//MainWorker.QuequeTask(Action(setData), Action[AsynResult](showRslt));
var t = new List<string>();
//t.AddRange
var ttt = this.View.GetControl<BatchFilterGrid>("FBatchFilterGrid");
var jobj = JsonUtil.DeserializeObject<JObject>("");
//获取物料元数据
FormMetadata materialMetadata = metadataService.Load(this.Context, "ora_SftpOperationRecord") as FormMetadata;
@@ -46,6 +64,8 @@ namespace HUIWEI.Lexmark.sftp.SDK.ASN
//保存id为10001的物料
saveService.Save(this.Context, materialMetadata.BusinessInfo, objs);
//this.View.ShowMessage();
}
}
}