修改挂账单

This commit is contained in:
gongxh
2021-05-27 11:47:42 +08:00
parent a41ac9b092
commit c6ce44eafd
4 changed files with 9 additions and 7 deletions

View File

@@ -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
@@ -17,7 +17,8 @@ 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;
}

View File

@@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NX.ERP.U8.Plugin</RootNamespace>
<AssemblyName>NX.ERP.U8.Plugin</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>

View File

@@ -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)
{

View File

@@ -157,7 +157,7 @@
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="App_Start\SwaggerConfig.cs" />
<Compile Include="App_Start\WebApiConfig.cs" />
<Compile Include="Controllers\AP\APController.cs" />
<Compile Include="Controllers\AP\ApVouchController.cs" />
<Compile Include="Controllers\MOM\BomController.cs" />
<Compile Include="Controllers\MOM\MomOrderController.cs" />
<Compile Include="Controllers\Pmc\PurchaseController.cs" />