人工入空托
This commit is contained in:
@@ -83,6 +83,8 @@ namespace Tnb.WarehouseMgr
|
||||
throw new Exception($"库位{basLocation.location_code}已占用");
|
||||
}
|
||||
|
||||
BasWarehouse basWarehouse = await _db.Queryable<BasWarehouse>().Where(r => r.id == basLocation.wh_id).FirstAsync();
|
||||
|
||||
wmsCarryH.location_id = basLocation.id;
|
||||
wmsCarryH.location_code = basLocation.location_code;
|
||||
|
||||
@@ -97,8 +99,10 @@ namespace Tnb.WarehouseMgr
|
||||
wmsEmptycarryInstockLog.location_id = basLocation.id;
|
||||
wmsEmptycarryInstockLog.location_code = basLocation.location_code;
|
||||
wmsEmptycarryInstockLog.org_id = input.org_id;
|
||||
wmsEmptycarryInstockLog.create_id =input.create_id ;
|
||||
wmsEmptycarryInstockLog.create_id =input.create_id;
|
||||
wmsEmptycarryInstockLog.create_time = DateTime.Now;
|
||||
wmsEmptycarryInstockLog.wh_id = basWarehouse.id;
|
||||
wmsEmptycarryInstockLog.wh_name = basWarehouse.whname;
|
||||
|
||||
await _db.Insertable(wmsEmptycarryInstockLog).ExecuteCommandAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user