diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
index d7a1451..a7c7efe 100644
--- a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
+++ b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
@@ -595,7 +595,15 @@ namespace ICSSoft.WebAPI.Controllers
//var resultStr = action.LOTStockDownCreate(model);
var resultStr = ICSSubmitService.LOTStockDownCreate(model);
res.Success = true;
- res.PrintStr = DBHelper.ReadFileStream();
+ //res.PrintStr = DBHelper.ReadFileStream();
+ if (resultStr.Columns.Contains("OLDLotNo"))
+ {
+ res.PrintStr = DBHelper.ReadFileStream();
+ }
+ else
+ {
+ res.PrintStr = "";
+ }
res.Message = LanguageHelper.GetNameSingle("WMSAPI001");// "接口调用成功!";
if (resultStr != null && resultStr.Rows.Count > 0 && resultStr.ToString() != "[]")
{
diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config
index a555745..c146188 100644
--- a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config
+++ b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config
@@ -11,7 +11,7 @@
-
+