Browse Source

调整期初导入接口

master
lilili 2 years ago
parent
commit
a2395123fa
  1. 10
      WMS-BS/NFine.Application/WMS/HomeWorkApp.cs

10
WMS-BS/NFine.Application/WMS/HomeWorkApp.cs

@ -73,6 +73,7 @@ namespace NFine.Application.WMS
string StackCode = dr["库位"].ToString();
string Date = dr["入库日期"].ToString();
string VENCODE = dr["供应商"].ToString();
string originalCode = dr["原条码"].ToString();
decimal Amount = 0;
if (data.Columns.Contains("辅计量数量"))
@ -244,7 +245,14 @@ namespace NFine.Application.WMS
var logID = GetNewid();
for (int i = count; i > 0; i--)
{
LotNO = Tday + (Lot_NO + countLot++).ToString().PadLeft(5, '0');
if (originalCode != null&& originalCode!="")
{
LotNO = originalCode.ToString();
}
else
{
LotNO = Tday + (Lot_NO + countLot++).ToString().PadLeft(5, '0');
}
#region 条码
DataRow drInventory = dsSave.Tables[0].NewRow();

Loading…
Cancel
Save