载具查物料条码库存接口

This commit is contained in:
2024-08-15 17:44:57 +08:00
parent 89062a25cd
commit c965d064f9
5 changed files with 48 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ namespace Tnb.WarehouseMgr
throw new Exception($"托盘{wmsCarryH.carry_code}在存储库位中,不能绑定!");
}
switch (startlocationn.wh_id)
switch (input.warehouse_id)
{
case WmsWareHouseConst.WAREHOUSE_YCL_ID:
{
@@ -133,7 +133,7 @@ namespace Tnb.WarehouseMgr
wmsArtificialInstock.create_time = DateTime.Now;
wmsArtificialInstock.location_id = startlocationn.id;
wmsArtificialInstock.location_code = startlocationn.location_code;
wmsArtificialInstock.warehouse_id = startlocationn.wh_id;
wmsArtificialInstock.warehouse_id = input.warehouse_id;
await _db.Insertable(wmsArtificialInstock).ExecuteCommandAsync();
}
else