From 8eed4de665fdd616d033de165c29b8a8f27b6b46 Mon Sep 17 00:00:00 2001 From: yangtm Date: Thu, 15 May 2025 15:43:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WMS/WMSCreateItemLotApp.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index f621462..797878d 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -3691,22 +3691,22 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu #region 检验合格单 if (Type == "7") { - string DocNoInfo1 = DocNoInfo.Replace(",", "','"); - string str1 = @"select DNCode from ICSDeliveryNotice WHERE DNCode IN ('" + DocNoInfo1 + "') and isnull(EATTRIBUTE3,'')<>'1'"; + //string DocNoInfo1 = DocNoInfo.Replace(",", "','"); + //string str1 = @"select DNCode from ICSDeliveryNotice WHERE DNCode IN ('" + DocNoInfo1 + "') and isnull(EATTRIBUTE3,'')<>'1'"; - DataTable dt1 = SqlHelper.GetDataTableBySql(str1); + //DataTable dt1 = SqlHelper.GetDataTableBySql(str1); - if (dt1.Rows.Count <= 0) - { - throw new Exception("所选单据已全部上传货柜完成,请勿重复上传!"); - } - DocNoInfo1 = ""; - foreach (DataRow dr in dt1.Rows) - { - DocNoInfo1 += dr["DNCode"].ToString() + ","; - } - DocNoInfo1 = DocNoInfo1.TrimEnd(','); - DocNoInfo = DocNoInfo1; + //if (dt1.Rows.Count <= 0) + //{ + // throw new Exception("所选单据已全部上传货柜完成,请勿重复上传!"); + //} + //DocNoInfo1 = ""; + //foreach (DataRow dr in dt1.Rows) + //{ + // DocNoInfo1 += dr["DNCode"].ToString() + ","; + //} + //DocNoInfo1 = DocNoInfo1.TrimEnd(','); + //DocNoInfo = DocNoInfo1; InspectJosn += "{"; InspectJosn += "\"IMP_ORDINI\":["; foreach (string DocNO in DocNoInfo.Split(','))