添加缓冲

This commit is contained in:
gongxh
2021-05-31 09:46:22 +08:00
parent aeab40cb22
commit 8d76e37b42
4 changed files with 1284 additions and 921 deletions

View File

@@ -37,7 +37,6 @@ namespace NX.ERP.U8.Store
var bodyXml = domBody.createElement("z:row");
bodyXml.setAttribute("cinvcode", item.InvCode);
bodyXml.setAttribute("cbposcode", item.SoucePositon);
bodyXml.setAttribute("caposcode", item.DestPostion);
bodyXml.setAttribute("iquantity", item.Qty);
domBody.selectSingleNode("//rs:data").appendChild(bodyXml);

View File

@@ -132,7 +132,7 @@ namespace NX.ERP.U8.Store
if (string.IsNullOrEmpty(strTemlateHead))
{
this.LoadTemplate();
strTemlateHead = GetHeadTemplate();
strTemlateHead = FileHelp.ReadFile(HeadFile);
}
}
@@ -164,7 +164,7 @@ namespace NX.ERP.U8.Store
if (string.IsNullOrEmpty(strTemlateBody))
{
this.LoadTemplate();
strTemlateBody = GetHeadTemplate();
strTemlateBody = FileHelp.ReadFile(BodyFile);
}
}
}
@@ -446,11 +446,10 @@ namespace NX.ERP.U8.Store
private void LoadTemplate()
{
STVoucherParameter rdVoucherParameter = null;
try
{
rdVoucherParameter = new STVoucherParameter
STVoucherParameter rdVoucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
IsGetBlank = true