修复BUG

This commit is contained in:
gongxh
2021-05-19 19:35:41 +08:00
parent f0c1991403
commit abc28fe294
2 changed files with 4 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ namespace NX.ERP.U8.Store
headXml.setAttribute("cbustype", "领料");
headXml.setAttribute("cbuscode", metailApp.Code);
string lastProductNo = null;
IXMLDOMElement bodyXml;
@@ -58,6 +59,8 @@ namespace NX.ERP.U8.Store
var metail = new NX.ERP.U8.MaterialDAL().GetInvPrice(detail.InvCode, 1, storeOut.Whcode, out var _cost);
bodyXml.setAttribute("iunitcost", _cost);
bodyXml.setAttribute("imaids", materialAppDetail.MaterialAppDtlId);
var info = new Account.Accinformation();
bodyXml.setAttribute("iprice", info.FormatMoney(_cost * detail.Quantity));
bodyXml.setAttribute("cinvcode", detail.InvCode);