新增,出库签收接口
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user