Browse Source

no message

master
陆晔 1 year ago
parent
commit
7bd534ba5b
  1. 4
      ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config
  2. 22
      WMS-BS/NFine.Application/WMS/PickMaterialApp.cs

4
ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config

@ -7,9 +7,9 @@
<appSettings>
<add key="ERPDB" value="UFDATA_999_2019"/>
<!--88-->
<add key="ConnStr" value="Data Source=192.168.21.108;Database=ICS_WMS_NW;Uid=sa;Pwd=Server1neway;"/>
<!--<add key="ConnStr" value="Data Source=192.168.21.108;Database=ICS_WMS_NW;Uid=sa;Pwd=Server1neway;"/>-->
<!--<add key="ConnStr" value="Data Source=.;Database=ICSWMS_NW;Uid=sa;Password=aA123456;"/>-->
<!--<add key="ConnStr" value="Data Source=192.168.0.190;Database=ICS_WMS_NW;Uid=sa;Pwd=Server1neway;"/>-->
<add key="ConnStr" value="Data Source=192.168.0.190;Database=ICS_WMS_NW;Uid=sa;Pwd=Server1neway;"/>
<!--双金-->
<!--<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/"/>

22
WMS-BS/NFine.Application/WMS/PickMaterialApp.cs

@ -2035,28 +2035,6 @@ c.Sequence,
#endregion
#region 将拣料结果存入表中,以人员区分,每次存入之前清空对应人员存入的数据
string picksql = @"delete from ICSPickPrintTemp
where MUSER='{0}' AND WorkPoint='{1}'";
picksql = string.Format(picksql, MUSER, WorkPoint);
SqlHelper.ExecuteNonQuery(picksql);
picksql = "";
foreach (DataRow pickdr in table.Rows)
{
picksql += @" INSERT INTO ICSPickPrintTemp
(ID,DocNO,INVCode,iQuantity,WHCode,BinCode,LotNO,QTYTotal,SendQTY,MUSER,MUSERNAME,WorkPoint)
VALUES
(NEWID(),'{0}','{1}',{2},'{3}','{4}','{5}',{6},{7},'{8}','{9}','{10}')";
picksql = string.Format(picksql, pickdr["Code"].ToString(), pickdr["InvCode"].ToString(), Convert.ToDecimal(pickdr["iQuantity"])
, pickdr["WarehouseCode"].ToString(), pickdr["LocationCode"].ToString(), pickdr["LotNO"].ToString()
, Convert.ToDecimal(pickdr["QTYTotal"]), Convert.ToDecimal(pickdr["SendQTY"]), MUSER, MUSERNAME, WorkPoint);
}
SqlHelper.ExecuteNonQuery(picksql);
#endregion
var result = ConvertCellToString(table);
if (Invmes.Rows.Count > 0)
{

Loading…
Cancel
Save