liuwf 1 year ago
parent 494fd0d9cd
commit 0bb9129d83

@ -663,7 +663,7 @@ namespace Khd.Core.Wcs.Wcs
lineEquip.equipStatus = 0;
dbContext.Update(lineEquip);
}
if (item.taskType == StaticTaskType.SecondSmallPackageToStorage)
if (item.taskType == StaticTaskType.SecondSmallPackageToStorage) //小包出口到库位
{
//WmsProductInstock? wmsProductInstock = dbContext.WmsProductInstock.FirstOrDefault(t => t.productInstockId == item.orderId);
//if (wmsProductInstock != null)
@ -755,6 +755,10 @@ namespace Khd.Core.Wcs.Wcs
WmsProductOutstock? wmsProductOutstock = dbContext.WmsProductOutstock.FirstOrDefault(t => t.productOutstockId == item.orderId);
if (wmsProductOutstock != null)
{
//WmsProductOutstockDetail newWmsProductOutstockDetail = new WmsProductOutstockDetail();
//newWmsProductOutstockDetail
WmsProductOutstockDetail? wmsProductOutstockDetail = dbContext.WmsProductOutstockDetail.FirstOrDefault(t => t.productOutstockId == wmsProductOutstock.productOutstockId);
if (wmsProductOutstockDetail != null)
{

Loading…
Cancel
Save