|
|
@ -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,8 +245,15 @@ 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(); |
|
|
|
drInventory["ID"] = GetNewid(); |
|
|
|