From 5587b8d822c2248b509bd7278630d01c5c751eee Mon Sep 17 00:00:00 2001 From: gongxh Date: Tue, 25 May 2021 13:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=80=9F=E5=8F=A3=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.Model/Request/ApVouch.cs | 2 +- NX.ERP.U8/AP/APVouch.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NX.ERP.Model/Request/ApVouch.cs b/NX.ERP.Model/Request/ApVouch.cs index abdd589..e104213 100644 --- a/NX.ERP.Model/Request/ApVouch.cs +++ b/NX.ERP.Model/Request/ApVouch.cs @@ -11,7 +11,7 @@ namespace NX.ERP.Model.Request public string DeptName { get; set; } public string supplierCode { get; set; } - public string Amount { get; set; } + public decimal Amount { get; set; } public string Digest { get; set; } diff --git a/NX.ERP.U8/AP/APVouch.cs b/NX.ERP.U8/AP/APVouch.cs index 9ea9305..4efb198 100644 --- a/NX.ERP.U8/AP/APVouch.cs +++ b/NX.ERP.U8/AP/APVouch.cs @@ -219,11 +219,11 @@ namespace NX.ERP.U8.AP headXml.setAttribute("VT_ID", 8056); headXml.setAttribute("bd_c", false); headXml.setAttribute("bStartFlag", false); - headXml.setAttribute("cVouchID", ""); + headXml.setAttribute("cVouchID", "664"); headXml.setAttribute("cFlag", "AP"); headXml.setAttribute("cDeptCode", ApVouch.DeptCode); headXml.setAttribute("cDigest", ApVouch.Digest); - headXml.setAttribute("cLink", ""); + headXml.setAttribute("cLink", "664"); IXMLDOMElement bodyXml; //for (var n = 0; n < storeIn.details.Count(); n++) @@ -238,7 +238,7 @@ namespace NX.ERP.U8.AP bodyXml.setAttribute("iAmount", ApVouch.Amount); bodyXml.setAttribute("iAmount_f", ApVouch.Amount); bodyXml.setAttribute("iAmt_s", 0); - bodyXml.setAttribute("cLink", ""); + bodyXml.setAttribute("cLink", "664"); headXml.setAttribute("cDwCode", ApVouch.supplierCode); bodyXml.setAttribute("bd_c", true);