diff --git a/NX.ERP.U8.Plugin/ApVochPlugin.cs b/NX.ERP.U8.Plugin/ApVochPlugin.cs index 4615f51..e108585 100644 --- a/NX.ERP.U8.Plugin/ApVochPlugin.cs +++ b/NX.ERP.U8.Plugin/ApVochPlugin.cs @@ -1,6 +1,6 @@ using System; using System.Collections.Generic; -using System.Linq; + using System.Text; using System.Windows.Forms; namespace NX.ERP.U8.Plugin @@ -16,8 +16,9 @@ namespace NX.ERP.U8.Plugin /// public bool AfterSave(ref MSXML2.IXMLDOMDocument2 head,ref MSXML2.IXMLDOMDocument2 body,out string ErrMsg ) { - - MessageBox.Show("结束保存"); + + MessageBox.Show(body.xml); + ErrMsg = ""; return true; } diff --git a/NX.ERP.U8.Plugin/NX.ERP.U8.Plugin.csproj b/NX.ERP.U8.Plugin/NX.ERP.U8.Plugin.csproj index 4ff6e4d..82b1076 100644 --- a/NX.ERP.U8.Plugin/NX.ERP.U8.Plugin.csproj +++ b/NX.ERP.U8.Plugin/NX.ERP.U8.Plugin.csproj @@ -9,9 +9,10 @@ Properties NX.ERP.U8.Plugin NX.ERP.U8.Plugin - v3.5 + v2.0 512 true + true diff --git a/NX.ERP.WebAPi/Controllers/AP/APController.cs b/NX.ERP.WebAPi/Controllers/AP/ApVouchController.cs similarity index 81% rename from NX.ERP.WebAPi/Controllers/AP/APController.cs rename to NX.ERP.WebAPi/Controllers/AP/ApVouchController.cs index 29658fa..e52592b 100644 --- a/NX.ERP.WebAPi/Controllers/AP/APController.cs +++ b/NX.ERP.WebAPi/Controllers/AP/ApVouchController.cs @@ -6,10 +6,10 @@ using System.Web.Http; namespace NX.ERP.WebAPi.Controllers.AP { - public class APController : ApiController + public class ApVouchController : ApiController { - [Route("api/ap/add")] + [Route("api/ApVouch/Add")] [HttpPost] public string AddVoucher(NX.ERP.Model.Request.ApVouch ApVouch) { diff --git a/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj b/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj index e132505..2e72780 100644 --- a/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj +++ b/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj @@ -157,7 +157,7 @@ - +