From c7ca54c70eb70a58f3b43382080d29a267bcd9fd Mon Sep 17 00:00:00 2001 From: gongxh Date: Fri, 29 Oct 2021 11:26:34 +0800 Subject: [PATCH] 1 --- NX.ERP.U8/AP/APVouch.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NX.ERP.U8/AP/APVouch.cs b/NX.ERP.U8/AP/APVouch.cs index 391211a..9ad435a 100644 --- a/NX.ERP.U8/AP/APVouch.cs +++ b/NX.ERP.U8/AP/APVouch.cs @@ -261,6 +261,11 @@ namespace NX.ERP.U8.AP bodyXml.setAttribute("cCode", ""); bodyXml.setAttribute("iExchRate", 1); + bodyXml.setAttribute("cPerson", supplier.VenPPerson); + if (per != null) + { + headXml.setAttribute("cPersonName", per.UserName); + } bodyXml.setAttribute("cexch_name", "人民币"); bodyXml.setAttribute("iAmount", ApVouch.Amount); bodyXml.setAttribute("iAmount_f", ApVouch.Amount);