修改挂账单

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;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace NX.ERP.U8.Plugin namespace NX.ERP.U8.Plugin
@@ -16,8 +16,9 @@ namespace NX.ERP.U8.Plugin
/// <returns></returns> /// <returns></returns>
public bool AfterSave(ref MSXML2.IXMLDOMDocument2 head,ref MSXML2.IXMLDOMDocument2 body,out string ErrMsg ) public bool AfterSave(ref MSXML2.IXMLDOMDocument2 head,ref MSXML2.IXMLDOMDocument2 body,out string ErrMsg )
{ {
MessageBox.Show("结束保存"); MessageBox.Show(body.xml);
ErrMsg = ""; ErrMsg = "";
return true; return true;
} }

View File

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

View File

@@ -6,10 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.AP namespace NX.ERP.WebAPi.Controllers.AP
{ {
public class APController : ApiController public class ApVouchController : ApiController
{ {
[Route("api/ap/add")] [Route("api/ApVouch/Add")]
[HttpPost] [HttpPost]
public string AddVoucher(NX.ERP.Model.Request.ApVouch ApVouch) 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\RouteConfig.cs" />
<Compile Include="App_Start\SwaggerConfig.cs" /> <Compile Include="App_Start\SwaggerConfig.cs" />
<Compile Include="App_Start\WebApiConfig.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\BomController.cs" />
<Compile Include="Controllers\MOM\MomOrderController.cs" /> <Compile Include="Controllers\MOM\MomOrderController.cs" />
<Compile Include="Controllers\Pmc\PurchaseController.cs" /> <Compile Include="Controllers\Pmc\PurchaseController.cs" />