diff --git a/Gatedge.K3.Pilot.PlugIn/.vs/Gatedge.K3.Pilot.PlugIn.csproj.dtbcache.json b/Gatedge.K3.Pilot.PlugIn/.vs/Gatedge.K3.Pilot.PlugIn.csproj.dtbcache.json new file mode 100644 index 0000000..bda20d2 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/.vs/Gatedge.K3.Pilot.PlugIn.csproj.dtbcache.json @@ -0,0 +1 @@ +{"RootPath":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\5.珠海派诺科技股份有限公司\\0.软件工程\\Pilot_KD_Parino_yuyubo\\Gatedge.K3.Pilot.PlugIn","ProjectFileName":"Gatedge.K3.Pilot.PlugIn.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"BOSPlugIn\\BD_CustPrice\\Bill.cs"},{"SourceFile":"BOSPlugIn\\BD_CustPrice\\ServicePlugIn\\Save.cs"},{"SourceFile":"BOSPlugIn\\BD_CustPrice\\ServicePlugIn\\SaveValidator.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Services\\DBService\\BaseDAL.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.8.AssemblyAttributes.cs"}],"References":[{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.App.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.App.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.Contracts.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.DataEntity.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.ServiceHelper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.VerificationHelper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.Web.HTML.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.Web.HTML.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.BOS.WebApi.FormService.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.K3.BD.Contracts.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.K3.BD.NewCode.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.K3.BD.ServiceHelper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\2.珠海英搏尔电气股份有限公司\\0.软件工程\\Gatedge.Enpower.BOS\\Library\\Kingdee.K3.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"E:\\Work\\珠海格致软件有限公司\\0.开发任务\\5.珠海派诺科技股份有限公司\\0.软件工程\\Pilot_KD_Parino_yuyubo\\Gatedge.K3.Pilot.PlugIn\\bin\\Debug\\Gatedge.K3.Pilot.PlugIn.dll","OutputItemRelativePath":"Gatedge.K3.Pilot.PlugIn.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]} \ No newline at end of file diff --git a/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/Bill.cs b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/Bill.cs new file mode 100644 index 0000000..e95d271 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/Bill.cs @@ -0,0 +1,104 @@ +using Kingdee.BOS.Core.Bill.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Core.Metadata; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.BD_CustPrice +{ + [HotUpdate, Description("客户价格管理_表单插件")] + public class Bill : AbstractBillPlugIn + { + public override void OnLoad(EventArgs e) + { + base.OnLoad(e); + } + + public override void AfterBindData(EventArgs e) + { + base.AfterBindData(e); + var limitCustomer = this.View.Model.GetValue("FLimitCustomer").Long2Int(); + SetBillContral(limitCustomer == 1); + } + + public override void DataChanged(DataChangedEventArgs e) + { + base.DataChanged(e); + if (e.Field.Key.EqualsIgnoreCase("FLimitCustomer")) + { + var val = e.NewValue.Long2Int(); + SetBillContral(val == 1); + } + + if (e.Field.Key.EqualsIgnoreCase("FCustID")) + { + var custId_Id = e.NewValue.Long2Int(); + if (custId_Id > 0) + { + var custId = this.View.Model.GetValue("FCustID", e.Row) as DynamicObject; + //KHXYFL013 + var creditClassificationId = custId["F_CreditClassification_Id"]; + if (!creditClassificationId.IsNullOrEmptyOrWhiteSpace()) + { + var creditClassification = custId["F_CreditClassification"] as DynamicObject; + var number = creditClassification["Number"].ToString(); + + this.View.Model.SetValue("FIsBigCust", number.EqualsIgnoreCase("KHXYFL013"), e.Row); + } + } + else + { + this.View.Model.SetValue("FIsBigCust", false, e.Row); + } + } + + if (e.Field.Key.EqualsIgnoreCase("FMaterialId")) + { + var materialId_Id = e.NewValue.Long2Int(); + if (materialId_Id > 0) + { + var materialId = this.View.Model.GetValue("FMaterialId", e.Row) as DynamicObject; + var cbj = materialId["F_CBJ"]; + var jsj = materialId["F_JSJ"]; + + this.View.Model.SetValue("F_CostPrice", cbj, e.Row); + this.View.Model.SetValue("F_SettlePrice", jsj, e.Row); + } + else + { + this.View.Model.SetValue("F_CostPrice", 0, e.Row); + this.View.Model.SetValue("F_SettlePrice", 0, e.Row); + } + } + + } + + private void SetBillContral(bool visible) + { + visible = !visible; + + this.View.GetControl("F_MaterialModelGroup").Visible = !visible; + this.View.GetControl("F_BigCustSettlePrice").Visible = !visible; + + this.View.GetControl("FMaterialId").Visible = visible; + this.View.GetControl("FMaterialName").Visible = visible; + this.View.GetControl("FMaterialModel").Visible = visible; + this.View.GetControl("F_AgreePrice").Visible = visible; + this.View.GetControl("FTab_P1").Visible = visible; + + //字段必录项 mustinput 必须为小写 + this.View.GetControl("F_MaterialModelGroup").SetCustomPropertyValue("mustinput", !visible); + this.View.GetControl("F_BigCustSettlePrice").SetCustomPropertyValue("mustinput", !visible); + + this.View.GetControl("FMaterialId").SetCustomPropertyValue("mustinput", visible); + this.View.GetControl("F_AgreePrice").SetCustomPropertyValue("mustinput", visible); + this.View.GetControl("FCustID").SetCustomPropertyValue("mustinput", visible); + } + } +} diff --git a/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/Save.cs b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/Save.cs new file mode 100644 index 0000000..cc06739 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/Save.cs @@ -0,0 +1,46 @@ +using Kingdee.BOS.Core.DynamicForm.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Util; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Kingdee.BOS.Core.Metadata.FormElement; + +namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.BD_CustPrice.ServicePlugIn +{ + [HotUpdate, Description("客户价格管理_保存操作")] + public class Save : AbstractOperationServicePlugIn + { + public override void OnPreparePropertys(PreparePropertysEventArgs e) + { + base.OnPreparePropertys(e); + //添加需要加载的字段: + e.FieldKeys.Add("FLimitCustomer"); + e.FieldKeys.Add("F_MaterialModelGroup"); + e.FieldKeys.Add("FMaterialId"); + e.FieldKeys.Add("FSeq"); + + //大客户结算底价 + e.FieldKeys.Add("F_BigCustSettlePrice"); + //协议客户协议价 + e.FieldKeys.Add("F_AgreePrice"); + + e.FieldKeys.Add("FCustID"); + } + + public override void OnAddValidators(AddValidatorsEventArgs e) + { + base.OnAddValidators(e); + //添加检查校验器: + if (this.FormOperation.OperationId == FormOperation.Operation_Save) + { + var validator = new SaveValidator();//新增的校验器 + validator.EntityKey = "FBillHead"; + e.Validators.Add(validator);//添加校验器 + } + } + } +} diff --git a/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/SaveValidator.cs b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/SaveValidator.cs new file mode 100644 index 0000000..993345a --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/BD_CustPrice/ServicePlugIn/SaveValidator.cs @@ -0,0 +1,159 @@ +using Kingdee.BOS; +using Kingdee.BOS.Core; +using Kingdee.BOS.Core.Validation; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using Kingdee.K3.BD.NewCode.Core.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.BD_CustPrice.ServicePlugIn +{ + public class SaveValidator : AbstractValidator + { + public override void Validate(ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Context ctx) + { + foreach (var data in dataEntities) + { + var limitCustomer = data.DataEntity["LimitCustomer"].Long2Int(); + var entrys = data.DataEntity["BD_CustPriceEntry"] as DynamicObjectCollection; + foreach (var entry in entrys) + { + var idx = entry["Seq"].Long2Int() - 1; + //大客户 + if (limitCustomer == 1) + { + if (entry["MaterialModelGroup"].IsNullOrEmptyOrWhiteSpace()) + { + var title = "物料规格类型必填!"; + var msg = $"限定客户类型为大客户时,{title}"; + var displayToFieldKey = "F_MaterialModelGroup"; + + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , idx// 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + + if (entry["BigCustSettlePrice"].Convert() == 0M) + { + var title = "大客户底价必填!"; + var msg = $"限定客户类型为大客户时,{title}"; + var displayToFieldKey = "F_BigCustSettlePrice"; + + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , idx// 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + } + + //协议客户 + if (limitCustomer == 2) + { + if (entry["MaterialId_Id"].Long2Int() == 0) + { + var title = "物料编码必填!"; + var msg = $"限定客户类型为协议客户时,{title}"; + var displayToFieldKey = "FMaterialId"; + + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , idx // 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + + if (entry["AgreePrice"].Convert() == 0M) + { + var title = "协议价必填!"; + var msg = $"限定客户类型为协议客户时,{title}"; + var displayToFieldKey = "F_AgreePrice"; + + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , idx // 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + } + + if (limitCustomer == 0) + { + var title = "限定客户必填!"; + var msg = $"限定客户不能为空"; + var displayToFieldKey = "FMaterialId"; + + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , 0 // 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + + } + + var entrys2 = data.DataEntity["BD_CustPriceCustEntry"] as DynamicObjectCollection; + + if (limitCustomer != 1 && (entrys2 == null || entrys2.Count == 0)) + { + var title = "客户必填!"; + var msg = $"{title}"; + var displayToFieldKey = "FCustID"; + validateContext.AddError(data + , new ValidationErrorInfo( + displayToFieldKey// 出错的字段Key,可以空 + , data.DataEntity["Id"].ToString() // 数据包内码,必填,后续操作会据此内码避开此数据包 + , data.DataEntityIndex // 出错的数据包在全部数据包中的顺序 + , 0 // 出错的数据行在全部数据行中的顺序,如果校验基于单据头,此为0 + , "REF"// 错误编码,可以任意设定一个字符,主要用于追查错误来源 + , msg // 错误的详细提示信息 + , title// 错误的简明提示信息 + , ErrorLevel.Error // 错误级别:警告、错误... + ) + ); + } + } + } + } +} diff --git a/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/Sal_Order/Bill.cs b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/Sal_Order/Bill.cs new file mode 100644 index 0000000..d45e3a3 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/BOSPlugIn/Sal_Order/Bill.cs @@ -0,0 +1,114 @@ +using Gatedge.K3.Pilot.PlugIn.Services.DBService; +using Kingdee.BOS.Core.Bill.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using Kingdee.K3.BD.NewCode.Core.Utils; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.Sal_Order +{ + [HotUpdate, Description("销售订单_表单插件")] + public class Bill : AbstractBillPlugIn + { + public override void DataChanged(DataChangedEventArgs e) + { + base.DataChanged(e); + //物料 + if (e.Field.Key.EqualsIgnoreCase("FMaterialId")) + { + var materialId_Id = e.NewValue.Long2Int(); + if (materialId_Id == 0) + return; + + var custId_Id = this.View.Model.DataObject["CustId_Id"].Long2Int(); + if (custId_Id == 0) + return; + + var dal = new BDCustPriceDAL(this.Context); + var dateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); + var resData = dal.GetMaterialPrice(materialId_Id, custId_Id, dateTime); + if (resData != null && resData.Count > 0) + { + var data = resData[0]; + + // 协议价 + var F_AGREEPRICE = data["F_AGREEPRICE"].Convert(); + this.Model.SetValue("F_AGREEPRICE", F_AGREEPRICE, e.Row); + + var custId = this.View.Model.GetValue("FCustID") as DynamicObject; + var creditClassificationId = custId["F_CreditClassification_Id"]; + if (!creditClassificationId.IsNullOrEmptyOrWhiteSpace()) + { + var creditClassification = custId["F_CreditClassification"] as DynamicObject; + var number = creditClassification["Number"].ToString(); + + if (number.EqualsIgnoreCase("KHXYFL013")) + { + // 大客户结算价 + var F_BIGCUSTSETTLEPRICE = data["F_BIGCUSTSETTLEPRICE"].Convert(); + this.Model.SetValue("F_BIGCUSTSETTLEPRICE", F_BIGCUSTSETTLEPRICE, e.Row); + } + } + } + } + + //客户 + if (e.Field.Key.EqualsIgnoreCase("FCustID")) + { + var custId_Id = e.NewValue.Long2Int(); + if (custId_Id == 0) + return; + + var dal = new BDCustPriceDAL(this.Context); + var dateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); + var details = this.View.BusinessInfo.GetEntity("FSaleOrderEntry"); + if (details != null) + { + var entrys = this.View.Model.GetEntityDataObject(details); + foreach (var entry in entrys) + { + var rowIndex = this.View.Model.GetRowIndex(details, entry); + + var materialId_Id = entry["MaterialId_Id"].Long2Int(); + if (materialId_Id == 0) + continue; + + var resData = dal.GetMaterialPrice(materialId_Id, custId_Id, dateTime); + + if (resData != null && resData.Count > 0) + { + var data = resData[0]; + + // 协议价 + var F_AGREEPRICE = data["F_AGREEPRICE"].Convert(); + this.Model.SetValue("F_AGREEPRICE", F_AGREEPRICE, rowIndex); + + var custId = this.View.Model.GetValue("FCustID") as DynamicObject; + var creditClassificationId = custId["F_CreditClassification_Id"]; + if (!creditClassificationId.IsNullOrEmptyOrWhiteSpace()) + { + var creditClassification = custId["F_CreditClassification"] as DynamicObject; + var number = creditClassification["Number"].ToString(); + + if (number.EqualsIgnoreCase("KHXYFL013")) + { + // 大客户结算价 + var F_BIGCUSTSETTLEPRICE = data["F_BIGCUSTSETTLEPRICE"].Convert(); + this.Model.SetValue("F_BIGCUSTSETTLEPRICE", F_BIGCUSTSETTLEPRICE, rowIndex); + } + } + } + } + } + + + } + } + } +} \ No newline at end of file diff --git a/Gatedge.K3.Pilot.PlugIn/Gatedge.K3.Pilot.PlugIn.csproj b/Gatedge.K3.Pilot.PlugIn/Gatedge.K3.Pilot.PlugIn.csproj new file mode 100644 index 0000000..27e28c3 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/Gatedge.K3.Pilot.PlugIn.csproj @@ -0,0 +1,107 @@ + + + + + Debug + AnyCPU + {B44EFC58-0B28-4CB5-A3DA-EB01B39C9358} + Library + Properties + Gatedge.K3.Pilot.PlugIn + Gatedge.K3.Pilot.PlugIn + v4.8 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.App.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.App.Core.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.Contracts.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.Core.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.DataEntity.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.ServiceHelper.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.VerificationHelper.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.Web.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.Web.HTML.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.Web.HTML.Core.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.BOS.WebApi.FormService.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.K3.BD.Contracts.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.K3.BD.NewCode.Core.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.K3.BD.ServiceHelper.dll + + + ..\..\..\..\2.珠海英搏尔电气股份有限公司\0.软件工程\Gatedge.Enpower.BOS\Library\Kingdee.K3.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + copy $(TargetPath) "E:\Program Files (x86)\Kingdee\K3Cloud\WebSite\bin" + + \ No newline at end of file diff --git a/Gatedge.K3.Pilot.PlugIn/Properties/AssemblyInfo.cs b/Gatedge.K3.Pilot.PlugIn/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ab784b4 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("Gatedge.K3.Pilot.PlugIn")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Gatedge.K3.Pilot.PlugIn")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("b44efc58-0b28-4cb5-a3da-eb01b39c9358")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Gatedge.K3.Pilot.PlugIn/Services/DBService/BDCustPriceDAL.cs b/Gatedge.K3.Pilot.PlugIn/Services/DBService/BDCustPriceDAL.cs new file mode 100644 index 0000000..af94b63 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/Services/DBService/BDCustPriceDAL.cs @@ -0,0 +1,74 @@ +using Kingdee.BOS; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.ServiceHelper; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Gatedge.K3.Pilot.PlugIn.Services.DBService +{ + public class BDCustPriceDAL : BaseDAL + { + public BDCustPriceDAL(Context context) : base(context) + { + } + + /// + /// 获取物料的协议价、大客户底价 + /// + /// + /// + /// + /// + public DynamicObjectCollection GetMaterialPrice(int materialId, int custId, string dateTime) + { + var sql = $@"/*dialect*/ +declare @FMaterialID int,@custId int,@dateTime datetime +SET @custId = {custId} +SET @FMaterialID = {materialId} +SET @dateTime = '{dateTime}' +SELECT t0.FMATERIALID,t0.FNUMBER,t0.FUSEORGID + ,t0_l.FNAME,t0_l.FSPECIFICATION,ISNULL(t1.F_AGREEPRICE,0) AS F_AGREEPRICE,ISNULL(t2.F_BIGCUSTSETTLEPRICE,0) AS F_BIGCUSTSETTLEPRICE +FROM T_BD_MATERIAL t0 + INNER JOIN T_BD_MATERIAL_L t0_l on t0_l.FMATERIALID = t0.FMATERIALID AND t0_l.FLOCALEID = 2052 + OUTER APPLY ( + SELECT TOP 1 t1e.F_AGREEPRICE + FROM T_BD_CustPrice t1 + INNER JOIN T_BD_CustPriceEntry t1e on t1.FID = t1e.FID + INNER JOIN T_BD_CustPriceCustEntry t1ce on t1.FID = t1ce.FID + AND t1ce.FCUSTID = @custId + WHERE t1.FLIMITCUSTOMER = '2' + AND t1.FDOCUMENTSTATUS = 'C' + AND t1.FFORBIDSTATUS = 'A' + AND t1e.FROWAUDITSTATUS = 'A' + AND t1e.FFORBIDSTATUS = 'A' + AND @dateTime BETWEEN t1e.FEFFECTIVEDATE AND t1e.FEXPRIYDATE + AND t1.FUSEORGID = t0.FUSEORGID + AND t1e.FMATERIALID = t0.FMATERIALID + ORDER BY t1e.FMATERIALID + ) t1 + OUTER APPLY ( + SELECT TOP 1 t2e.F_BIGCUSTSETTLEPRICE + FROM T_BD_CustPrice t2 + INNER JOIN T_BD_CustPriceEntry t2e on t2.FID = t2e.FID + WHERE t2.FLIMITCUSTOMER = '1' + AND t2.FDOCUMENTSTATUS = 'C' + AND t2.FFORBIDSTATUS = 'A' + AND t2e.FROWAUDITSTATUS = 'A' + AND t2e.FFORBIDSTATUS = 'A' + AND @dateTime BETWEEN t2e.FEFFECTIVEDATE AND t2e.FEXPRIYDATE + AND t2.FUSEORGID = t0.FUSEORGID + AND CHARINDEX(t2e.F_MATERIALMODELGROUP,t0_l.FSPECIFICATION) = 1 + ORDER BY t2e.FMATERIALID + ) t2 +WHERE 1 = 1 + AND t0.FMATERIALID = @FMaterialID +"; + + + return DBServiceHelper.ExecuteDynamicObject(this.Context, sql); + } + } +} diff --git a/Gatedge.K3.Pilot.PlugIn/Services/DBService/BaseDAL.cs b/Gatedge.K3.Pilot.PlugIn/Services/DBService/BaseDAL.cs new file mode 100644 index 0000000..5d23df1 --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/Services/DBService/BaseDAL.cs @@ -0,0 +1,18 @@ +using Kingdee.BOS; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Gatedge.K3.Pilot.PlugIn.Services.DBService +{ + public class BaseDAL + { + public Context Context { get; private set; } + public BaseDAL(Context context) + { + this.Context = context; + } + } +} diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.dll new file mode 100644 index 0000000..c1f792b Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.pdb b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.pdb new file mode 100644 index 0000000..11b46b3 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Gatedge.K3.Pilot.PlugIn.pdb differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.Core.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.Core.dll new file mode 100644 index 0000000..8faa445 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.Core.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.dll new file mode 100644 index 0000000..b1467d2 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.App.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Contracts.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Contracts.dll new file mode 100644 index 0000000..2da2dc6 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Contracts.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Core.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Core.dll new file mode 100644 index 0000000..cedd95a Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Core.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.DataEntity.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.DataEntity.dll new file mode 100644 index 0000000..d0baa93 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.DataEntity.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.ServiceHelper.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.ServiceHelper.dll new file mode 100644 index 0000000..9240855 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.ServiceHelper.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.VerificationHelper.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.VerificationHelper.dll new file mode 100644 index 0000000..4160c23 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.VerificationHelper.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.Core.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.Core.dll new file mode 100644 index 0000000..1c37225 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.Core.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.dll new file mode 100644 index 0000000..37a8a8a Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.HTML.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.dll new file mode 100644 index 0000000..ae56477 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.Web.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.WebApi.FormService.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.WebApi.FormService.dll new file mode 100644 index 0000000..5789fd3 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.WebApi.FormService.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.dll new file mode 100644 index 0000000..0b9ac56 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.BOS.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.Contracts.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.Contracts.dll new file mode 100644 index 0000000..89ab95f Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.Contracts.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.NewCode.Core.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.NewCode.Core.dll new file mode 100644 index 0000000..47cedbe Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.NewCode.Core.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.ServiceHelper.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.ServiceHelper.dll new file mode 100644 index 0000000..7bb294d Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.BD.ServiceHelper.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.Core.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.Core.dll new file mode 100644 index 0000000..4ec6a58 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Kingdee.K3.Core.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Newtonsoft.Json.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Newtonsoft.Json.dll new file mode 100644 index 0000000..d593ed6 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Newtonsoft.Json.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/bin/Debug/Oracle.DataAccess.dll b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Oracle.DataAccess.dll new file mode 100644 index 0000000..910c9c5 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/bin/Debug/Oracle.DataAccess.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Gatedge.K3.Pilot.PlugIn/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..c89176e Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..6bc843c Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge..4146081E.Up2Date b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge..4146081E.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.AssemblyReference.cache b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.AssemblyReference.cache new file mode 100644 index 0000000..e377f54 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.AssemblyReference.cache differ diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.CoreCompileInputs.cache b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..fc6938f --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +76d6b4cc683fc0c1109d7648667b185f6a4dc7510c4736abe4bd191d9e2d9aa5 diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.FileListAbsolute.txt b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..c6cdf4d --- /dev/null +++ b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.csproj.FileListAbsolute.txt @@ -0,0 +1,25 @@ +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Gatedge.K3.Pilot.PlugIn.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Gatedge.K3.Pilot.PlugIn.pdb +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.App.Core.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.App.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.Contracts.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.Core.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.DataEntity.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.ServiceHelper.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.VerificationHelper.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.Web.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.Web.HTML.Core.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.Web.HTML.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.BOS.WebApi.FormService.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.K3.BD.Contracts.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.K3.BD.NewCode.Core.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.K3.BD.ServiceHelper.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Kingdee.K3.Core.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Newtonsoft.Json.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\bin\Debug\Oracle.DataAccess.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\obj\Debug\Gatedge.K3.Pilot.PlugIn.csproj.AssemblyReference.cache +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\obj\Debug\Gatedge.K3.Pilot.PlugIn.csproj.CoreCompileInputs.cache +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\obj\Debug\Gatedge..4146081E.Up2Date +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\obj\Debug\Gatedge.K3.Pilot.PlugIn.dll +E:\Work\珠海格致软件有限公司\0.开发任务\5.珠海派诺科技股份有限公司\0.软件工程\Pilot_KD_Parino_yuyubo\Gatedge.K3.Pilot.PlugIn\obj\Debug\Gatedge.K3.Pilot.PlugIn.pdb diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.dll b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.dll new file mode 100644 index 0000000..c1f792b Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.dll differ diff --git a/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.pdb b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.pdb new file mode 100644 index 0000000..11b46b3 Binary files /dev/null and b/Gatedge.K3.Pilot.PlugIn/obj/Debug/Gatedge.K3.Pilot.PlugIn.pdb differ diff --git a/Pilot_KD_Parino.sln b/Pilot_KD_Parino.sln index d8bab4f..246f51b 100644 --- a/Pilot_KD_Parino.sln +++ b/Pilot_KD_Parino.sln @@ -1,12 +1,14 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.11.35327.3 +# Visual Studio Version 18 +VisualStudioVersion = 18.3.11206.111 d18.3 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pilot_KD_Parino", "Pilot_KD_Parino\Pilot_KD_Parino.csproj", "{D8751053-74AF-4619-A5BE-939ADFF10991}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NoPackageMachine", "NoPackageMachine\NoPackageMachine.csproj", "{9788649F-42E6-4687-A1BF-5064CF806553}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gatedge.K3.Pilot.PlugIn", "Gatedge.K3.Pilot.PlugIn\Gatedge.K3.Pilot.PlugIn.csproj", "{B44EFC58-0B28-4CB5-A3DA-EB01B39C9358}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {9788649F-42E6-4687-A1BF-5064CF806553}.Debug|Any CPU.Build.0 = Debug|Any CPU {9788649F-42E6-4687-A1BF-5064CF806553}.Release|Any CPU.ActiveCfg = Release|Any CPU {9788649F-42E6-4687-A1BF-5064CF806553}.Release|Any CPU.Build.0 = Release|Any CPU + {B44EFC58-0B28-4CB5-A3DA-EB01B39C9358}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B44EFC58-0B28-4CB5-A3DA-EB01B39C9358}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B44EFC58-0B28-4CB5-A3DA-EB01B39C9358}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B44EFC58-0B28-4CB5-A3DA-EB01B39C9358}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/packages/Kingdee.BOS.App.Core.dll b/packages/Kingdee.BOS.App.Core.dll new file mode 100644 index 0000000..8faa445 Binary files /dev/null and b/packages/Kingdee.BOS.App.Core.dll differ diff --git a/packages/Kingdee.BOS.App.dll b/packages/Kingdee.BOS.App.dll new file mode 100644 index 0000000..b1467d2 Binary files /dev/null and b/packages/Kingdee.BOS.App.dll differ diff --git a/packages/Kingdee.BOS.Contracts.dll b/packages/Kingdee.BOS.Contracts.dll new file mode 100644 index 0000000..2da2dc6 Binary files /dev/null and b/packages/Kingdee.BOS.Contracts.dll differ diff --git a/packages/Kingdee.BOS.Core.dll b/packages/Kingdee.BOS.Core.dll new file mode 100644 index 0000000..cedd95a Binary files /dev/null and b/packages/Kingdee.BOS.Core.dll differ diff --git a/packages/Kingdee.BOS.DataEntity.dll b/packages/Kingdee.BOS.DataEntity.dll new file mode 100644 index 0000000..d0baa93 Binary files /dev/null and b/packages/Kingdee.BOS.DataEntity.dll differ diff --git a/packages/Kingdee.BOS.ServiceHelper.dll b/packages/Kingdee.BOS.ServiceHelper.dll new file mode 100644 index 0000000..9240855 Binary files /dev/null and b/packages/Kingdee.BOS.ServiceHelper.dll differ diff --git a/packages/Kingdee.BOS.VerificationHelper.dll b/packages/Kingdee.BOS.VerificationHelper.dll new file mode 100644 index 0000000..4160c23 Binary files /dev/null and b/packages/Kingdee.BOS.VerificationHelper.dll differ diff --git a/packages/Kingdee.BOS.Web.HTML.Core.dll b/packages/Kingdee.BOS.Web.HTML.Core.dll new file mode 100644 index 0000000..1c37225 Binary files /dev/null and b/packages/Kingdee.BOS.Web.HTML.Core.dll differ diff --git a/packages/Kingdee.BOS.Web.HTML.dll b/packages/Kingdee.BOS.Web.HTML.dll new file mode 100644 index 0000000..37a8a8a Binary files /dev/null and b/packages/Kingdee.BOS.Web.HTML.dll differ diff --git a/packages/Kingdee.BOS.Web.dll b/packages/Kingdee.BOS.Web.dll new file mode 100644 index 0000000..ae56477 Binary files /dev/null and b/packages/Kingdee.BOS.Web.dll differ diff --git a/packages/Kingdee.BOS.WebApi.FormService.dll b/packages/Kingdee.BOS.WebApi.FormService.dll new file mode 100644 index 0000000..5789fd3 Binary files /dev/null and b/packages/Kingdee.BOS.WebApi.FormService.dll differ diff --git a/packages/Kingdee.BOS.dll b/packages/Kingdee.BOS.dll new file mode 100644 index 0000000..0b9ac56 Binary files /dev/null and b/packages/Kingdee.BOS.dll differ diff --git a/packages/Kingdee.K3.BD.Contracts.dll b/packages/Kingdee.K3.BD.Contracts.dll new file mode 100644 index 0000000..89ab95f Binary files /dev/null and b/packages/Kingdee.K3.BD.Contracts.dll differ diff --git a/packages/Kingdee.K3.BD.NewCode.Core.dll b/packages/Kingdee.K3.BD.NewCode.Core.dll new file mode 100644 index 0000000..47cedbe Binary files /dev/null and b/packages/Kingdee.K3.BD.NewCode.Core.dll differ diff --git a/packages/Kingdee.K3.BD.ServiceHelper.dll b/packages/Kingdee.K3.BD.ServiceHelper.dll new file mode 100644 index 0000000..7bb294d Binary files /dev/null and b/packages/Kingdee.K3.BD.ServiceHelper.dll differ diff --git a/packages/Kingdee.K3.Core.dll b/packages/Kingdee.K3.Core.dll new file mode 100644 index 0000000..4ec6a58 Binary files /dev/null and b/packages/Kingdee.K3.Core.dll differ diff --git a/packages/Kingdee.K3.FIN.Business.PlugIn.dll b/packages/Kingdee.K3.FIN.Business.PlugIn.dll new file mode 100644 index 0000000..475189f Binary files /dev/null and b/packages/Kingdee.K3.FIN.Business.PlugIn.dll differ diff --git a/packages/Kingdee.K3.FIN.Core.dll b/packages/Kingdee.K3.FIN.Core.dll new file mode 100644 index 0000000..ab998e9 Binary files /dev/null and b/packages/Kingdee.K3.FIN.Core.dll differ diff --git a/packages/Kingdee.K3.FIN.HS.Business.PlugIn.dll b/packages/Kingdee.K3.FIN.HS.Business.PlugIn.dll new file mode 100644 index 0000000..30800be Binary files /dev/null and b/packages/Kingdee.K3.FIN.HS.Business.PlugIn.dll differ diff --git a/packages/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll b/packages/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll new file mode 100644 index 0000000..8c32801 Binary files /dev/null and b/packages/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll differ diff --git a/packages/Kingdee.K3.FIN.HS.Contracts.dll b/packages/Kingdee.K3.FIN.HS.Contracts.dll new file mode 100644 index 0000000..0840184 Binary files /dev/null and b/packages/Kingdee.K3.FIN.HS.Contracts.dll differ diff --git a/packages/Kingdee.K3.FIN.HS.ServiceHelper.dll b/packages/Kingdee.K3.FIN.HS.ServiceHelper.dll new file mode 100644 index 0000000..913d2da Binary files /dev/null and b/packages/Kingdee.K3.FIN.HS.ServiceHelper.dll differ diff --git a/packages/Kingdee.K3.FIN.ServiceHelper.dll b/packages/Kingdee.K3.FIN.ServiceHelper.dll new file mode 100644 index 0000000..804e923 Binary files /dev/null and b/packages/Kingdee.K3.FIN.ServiceHelper.dll differ diff --git a/packages/Kingdee.K3.MFG.App.dll b/packages/Kingdee.K3.MFG.App.dll new file mode 100644 index 0000000..5dbf7d2 Binary files /dev/null and b/packages/Kingdee.K3.MFG.App.dll differ diff --git a/packages/Kingdee.K3.MFG.BusinessCommon.dll b/packages/Kingdee.K3.MFG.BusinessCommon.dll new file mode 100644 index 0000000..34bb853 Binary files /dev/null and b/packages/Kingdee.K3.MFG.BusinessCommon.dll differ diff --git a/packages/Kingdee.K3.MFG.Contracts.dll b/packages/Kingdee.K3.MFG.Contracts.dll new file mode 100644 index 0000000..ddfc290 Binary files /dev/null and b/packages/Kingdee.K3.MFG.Contracts.dll differ diff --git a/packages/Kingdee.K3.MFG.PLN.App.Core.dll b/packages/Kingdee.K3.MFG.PLN.App.Core.dll new file mode 100644 index 0000000..0d741aa Binary files /dev/null and b/packages/Kingdee.K3.MFG.PLN.App.Core.dll differ diff --git a/packages/Kingdee.K3.MFG.PLN.App.MrpModel.dll b/packages/Kingdee.K3.MFG.PLN.App.MrpModel.dll new file mode 100644 index 0000000..54013da Binary files /dev/null and b/packages/Kingdee.K3.MFG.PLN.App.MrpModel.dll differ diff --git a/packages/Kingdee.K3.MFG.PLN.App.ReportPlugIn.dll b/packages/Kingdee.K3.MFG.PLN.App.ReportPlugIn.dll new file mode 100644 index 0000000..e95d45c Binary files /dev/null and b/packages/Kingdee.K3.MFG.PLN.App.ReportPlugIn.dll differ diff --git a/packages/Kingdee.K3.MFG.PLN.Business.PlugIn.dll b/packages/Kingdee.K3.MFG.PLN.Business.PlugIn.dll new file mode 100644 index 0000000..f5f5d9d Binary files /dev/null and b/packages/Kingdee.K3.MFG.PLN.Business.PlugIn.dll differ diff --git a/packages/Kingdee.K3.MFG.PLN.Report.PlugIn.dll b/packages/Kingdee.K3.MFG.PLN.Report.PlugIn.dll new file mode 100644 index 0000000..e9789eb Binary files /dev/null and b/packages/Kingdee.K3.MFG.PLN.Report.PlugIn.dll differ diff --git a/packages/Kingdee.K3.MFG.PRD.Business.PlugIn.dll b/packages/Kingdee.K3.MFG.PRD.Business.PlugIn.dll new file mode 100644 index 0000000..8efd5de Binary files /dev/null and b/packages/Kingdee.K3.MFG.PRD.Business.PlugIn.dll differ diff --git a/packages/Kingdee.K3.MFG.ServiceHelper.dll b/packages/Kingdee.K3.MFG.ServiceHelper.dll new file mode 100644 index 0000000..75c9af8 Binary files /dev/null and b/packages/Kingdee.K3.MFG.ServiceHelper.dll differ diff --git a/packages/Kingdee.K3.SCM.App.Core.dll b/packages/Kingdee.K3.SCM.App.Core.dll new file mode 100644 index 0000000..05c1f4b Binary files /dev/null and b/packages/Kingdee.K3.SCM.App.Core.dll differ diff --git a/packages/Kingdee.K3.SCM.Common.BusinessEntity.dll b/packages/Kingdee.K3.SCM.Common.BusinessEntity.dll new file mode 100644 index 0000000..eff5194 Binary files /dev/null and b/packages/Kingdee.K3.SCM.Common.BusinessEntity.dll differ