Browse Source

调整出库下架接口

master
lilili 2 years ago
parent
commit
5fe58913bf
  1. 8
      ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
  2. 2
      ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config

8
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();
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() != "[]")
{

2
ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config

@ -11,7 +11,7 @@
<!--双金-->
<!--<add key="ConnStr" value="Data Source=117.80.147.228;Database=ICSWMS_Base_SJ;Uid=sa;Password=p@ssw0rd;"/>-->
<add key="ERPUrl" value="http://192.168.1.88:3004/api/"/>
<add key="UploadERP" value="true"/>
<add key="UploadERP" value="false"/>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/>

Loading…
Cancel
Save