新增,出库签收接口

This commit is contained in:
alex
2023-06-26 09:53:56 +08:00
parent 2e90f164a0
commit ff5430446b
4 changed files with 52 additions and 5 deletions

View File

@@ -131,9 +131,9 @@ namespace Tnb.WarehouseMgr
var locs = await _db.Queryable<BasLocation>().Where(it => it.id == koGrp.Key && it.is_use == "0" && it.is_lock == 0).ToListAsync();
if (locs?.Count > 0)
{
var arr = koGrp.ToArray();
Index start = ^arr.Length;
var ko = arr[start];
var ko = arr[^arr.Length];
var carry = await _db.Queryable<WmsCarryH>().SingleAsync(it => it.id == ko.carry_id);
if (carry != null)
{