修复bug
This commit is contained in:
@@ -204,7 +204,7 @@ namespace WMS.Web.Repositories
|
||||
if (entity == null || entity.serial == null) return null;
|
||||
response.BoxId = entity.serial.BoxId;
|
||||
response.BoxBillNo = entity.box.BoxBillNo;
|
||||
response.SubStockId = entity.boxInventory?.SubStockId ?? 0;
|
||||
response.SubStockId = entity?.boxInventory?.SubStockId ?? 0;
|
||||
response.SerialNumber = entity.serial.SerialNumber;
|
||||
response.MaterialId = entity.serial.MaterialId;
|
||||
response.MaterialName = _erpBasicDataExtendService.GetMaterialName(materials, entity.serial.MaterialId);
|
||||
|
||||
Reference in New Issue
Block a user