From 4b6dc17128dbe2ca7218a31f69f3343a79571218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B0=20=E6=9C=B1?= <501697962@qq.com> Date: Wed, 10 Nov 2021 10:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E4=BB=98=E5=8D=95=E4=B8=8D=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.U8/AP/APVouch.cs | 4 ++-- NX.ERP.U8/Mom/MomOrderDAL.cs | 2 +- NX.ERP.WebAPi/Web.config | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/NX.ERP.U8/AP/APVouch.cs b/NX.ERP.U8/AP/APVouch.cs index 9ad435a..e3b8eec 100644 --- a/NX.ERP.U8/AP/APVouch.cs +++ b/NX.ERP.U8/AP/APVouch.cs @@ -233,11 +233,11 @@ namespace NX.ERP.U8.AP var user = new NX.ERP.U8.User.UserDal().GetModel(ApVouch.UserCode); if (user != null) { - headXml.setAttribute("cCheckMan", user.UserName); + // headXml.setAttribute("cCheckMan", user.UserName); headXml.setAttribute("cOperator", user.UserName); } else { - headXml.setAttribute("cCheckMan", ApVouch.UserCode); + // headXml.setAttribute("cCheckMan", ApVouch.UserCode); headXml.setAttribute("cOperator", ApVouch.UserCode); } headXml.setAttribute("cDefine10", id); diff --git a/NX.ERP.U8/Mom/MomOrderDAL.cs b/NX.ERP.U8/Mom/MomOrderDAL.cs index ce1dc5a..83ea4bb 100644 --- a/NX.ERP.U8/Mom/MomOrderDAL.cs +++ b/NX.ERP.U8/Mom/MomOrderDAL.cs @@ -22,7 +22,7 @@ namespace NX.ERP.U8.Mom { string strSQL = @" select a.MoId as ProductOrderId,a.moCode as ProductOrderNo,ISNULL( ModifyDate,createDate) as ModifyDate,CONVERT(BIGINT,a.Ufts) AS pubufts,a.CreateDate as ProductDate,a.CreateUser as PreparedBy, b.MoId as id ,b.MoDId as ProductOrderDtlId,b.MoId as ProductOrderId,b.MoTypeId,d.DueDate,b.Remark as Remark,ISNULL( b.MDeptCode,'53') as MDeptCode,a.MoCode as ProductOrderNo, - a.CreateDate as ProductOrderDate,b.InvCode as ProductCode,b.Qty as Qty,b.SortSeq,b.SoCode,b.Status,InvDetail.cInvName as ProductName ,InvDetail.cInvStd ProductSpecsModel, + a.CreateDate as ProductOrderDate,b.InvCode as ProductCode,b.Qty as Qty,b.QualifiedInQty,b.SortSeq,b.SoCode,b.Status,InvDetail.cInvName as ProductName ,InvDetail.cInvStd ProductSpecsModel, c.AllocateId as id ,c.AllocateId as AllocateId,c.MoDId as ProductOrderDtlId,c.InvCode as MaterialCode,InvLocate.cInvName as MaterialName,InvLocate.cInvStd as MaterialSpecsModel,b.MoId as ProductOrderId, c.IssQty as IssQty,c.Qty, e.cInvSN as ID from mom_order as a diff --git a/NX.ERP.WebAPi/Web.config b/NX.ERP.WebAPi/Web.config index 7f315e4..72712b3 100644 --- a/NX.ERP.WebAPi/Web.config +++ b/NX.ERP.WebAPi/Web.config @@ -16,6 +16,9 @@ + + +