出库申请,未找到载具时提示,“库存不足”
This commit is contained in:
@@ -219,6 +219,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
genPreTaskAfterUpInput.LocationIds = new HashSet<string>(locIds).ToList();
|
genPreTaskAfterUpInput.LocationIds = new HashSet<string>(locIds).ToList();
|
||||||
await _wareHouseService.GenInStockTaskHandleAfter(genPreTaskAfterUpInput, it => new WmsCarryH { is_lock = 1 }, it => new BasLocation { is_lock = 1 });
|
await _wareHouseService.GenInStockTaskHandleAfter(genPreTaskAfterUpInput, it => new WmsCarryH { is_lock = 1 }, it => new BasLocation { is_lock = 1 });
|
||||||
}
|
}
|
||||||
|
else throw new AppFriendlyException("库存不足", 500);
|
||||||
}
|
}
|
||||||
else throw new AppFriendlyException($"请输入物料明细", 500);
|
else throw new AppFriendlyException($"请输入物料明细", 500);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user