修改代码

This commit is contained in:
gongxh
2021-04-26 09:16:40 +08:00
parent 706b8508b5
commit d5e2ee0414
14 changed files with 73 additions and 17 deletions

View File

@@ -47,6 +47,7 @@
<Compile Include="Sale\DispatchListDAL.cs" />
<Compile Include="Store\BaseBill.cs" />
<Compile Include="Store\BinChangeDAL.cs" />
<Compile Include="Store\MaterialAppVoucher.cs" />
<Compile Include="Store\MaterielStoreOutDAL.cs" />
<Compile Include="Store\OtherStoreInDAL.cs" />
<Compile Include="Store\OtherStoreOutDAL.cs" />

View File

@@ -0,0 +1,34 @@
using MSXML2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.U8.Store
{
public class MaterialAppVoucher : VoucherBase
{
public MaterialAppVoucher() : base("64", "U8API/MaterialAppVouchs")
{
}
public string AddVoucher(object param)
{
VoucherParameter voucherParameter = new VoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
DomBody = new DOMDocumentClass()
};
DOMDocument domHead = voucherParameter.DomHead;
DOMDocument domBody = voucherParameter.DomBody;
voucherParameter.DomHead.loadXML(HeadTemplate);
voucherParameter.DomBody.loadXML(BodyTemplate);
return "";
}
}
}