包材入库 包材出库 PDA空载具出库bug、其它bug处理

This commit is contained in:
2024-07-10 23:01:33 +08:00
parent f48a82adb4
commit 614681284d
22 changed files with 1198 additions and 70 deletions

View File

@@ -200,7 +200,7 @@ namespace Tnb.WarehouseMgr
//{
// preTasks[^1].is_sign = 0; // 修改最后一个元素的是否签收值
//}
isOk = await _wareHouseService.GenPreTask(preTasks, null!);
isOk = await _wareHouseService.GenPreTask(preTasks, null!, _db);
if (isOk)
{
@@ -233,7 +233,7 @@ namespace Tnb.WarehouseMgr
_ = await _db.Updateable<WmsEmptyOutstockH>().SetColumns(it => new WmsEmptyOutstockH { status = WmsWareHouseConst.BILLSTATUS_ON_ID }).Where(it => it.id == preTaskUpInput.RquireId).ExecuteCommandAsync();
await _wareHouseService.GenInStockTaskHandleAfter(preTaskUpInput,
it => new WmsCarryH { is_lock = 1 },
it => new BasLocation { is_lock = 1 });
it => new BasLocation { is_lock = 1 }, _db);
}
}
else