各模块增加规格型号和箱号

This commit is contained in:
2023-11-27 14:57:10 +08:00
parent f245a134fa
commit a400c2a3d2
5 changed files with 33 additions and 5 deletions

View File

@@ -160,6 +160,8 @@ namespace Tnb.WarehouseMgr
ptc.codeqty = jo.Value<int>(nameof(WmsPretaskCode.codeqty));
ptc.unit_id = jo.Value<string>(nameof(WmsPretaskCode.unit_id))!;
ptc.code_batch = jo.Value<string>(nameof(WmsPretaskCode.code_batch));
ptc.material_specification = jo.Value<string>(nameof(WmsPretaskCode.material_specification))!;
ptc.container_no = jo.Value<string>(nameof(WmsPretaskCode.container_no));
pretaskCodes.Add(ptc);
}
}
@@ -208,6 +210,8 @@ namespace Tnb.WarehouseMgr
material_code = jo.Value<string>(nameof(WmsHandleCode.material_code))!,
barcode = jo.Value<string>(nameof(WmsHandleCode.barcode))!,
code_batch = jo.Value<string>(nameof(WmsHandleCode.code_batch)),
material_specification = jo.Value<string>(nameof(WmsPretaskCode.material_specification))!,
container_no = jo.Value<string>(nameof(WmsPretaskCode.container_no)),
codeqty = jo.Value<int>(nameof(WmsHandleCode.codeqty)),
unit_id = _db.Queryable<BasMaterial>().Single(it => it.id == materialId).unit_id,
create_id = _userManager.UserId,