修复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("cbustype", "领料");
headXml.setAttribute("cbuscode", metailApp.Code); headXml.setAttribute("cbuscode", metailApp.Code);
string lastProductNo = null; string lastProductNo = null;
IXMLDOMElement bodyXml; 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); var metail = new NX.ERP.U8.MaterialDAL().GetInvPrice(detail.InvCode, 1, storeOut.Whcode, out var _cost);
bodyXml.setAttribute("iunitcost", _cost); bodyXml.setAttribute("iunitcost", _cost);
bodyXml.setAttribute("imaids", materialAppDetail.MaterialAppDtlId);
var info = new Account.Accinformation(); var info = new Account.Accinformation();
bodyXml.setAttribute("iprice", info.FormatMoney(_cost * detail.Quantity)); bodyXml.setAttribute("iprice", info.FormatMoney(_cost * detail.Quantity));
bodyXml.setAttribute("cinvcode", detail.InvCode); bodyXml.setAttribute("cinvcode", detail.InvCode);

View File

@@ -5,7 +5,7 @@
--> -->
<configuration> <configuration>
<appSettings> <appSettings>
<add key="server" value="192.168.1.14" /> <add key="server" value="192.168.0.112" />
<add key="AccId" value="002" /> <add key="AccId" value="002" />
<add key="UserId" value="0001" /> <add key="UserId" value="0001" />
<add key="Password" value="123456" /> <add key="Password" value="123456" />