添加缓冲
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user