修改代码
This commit is contained in:
34
NX.ERP.U8/Store/MaterialAppVoucher.cs
Normal file
34
NX.ERP.U8/Store/MaterialAppVoucher.cs
Normal 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 "";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user