bug
This commit is contained in:
@@ -483,6 +483,7 @@ namespace Tnb.ProductionMgr
|
||||
upmat_location_id = f.upmat_location_id,
|
||||
downmat_location_id = f.as_location_id,
|
||||
instock_warehouse_id = f.as_location_id,
|
||||
mold_location_id = g.location_id,
|
||||
})
|
||||
.MergeTable()
|
||||
.OrderBy($"{input.sidx} {input.sort}")
|
||||
@@ -507,6 +508,12 @@ namespace Tnb.ProductionMgr
|
||||
item.downmat_location_code = basLocation.location_code;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(item.mold_location_id))
|
||||
{
|
||||
ToolLocation basLocation = await _db.Queryable<ToolLocation>().SingleAsync(x => x.id == item.mold_location_id);
|
||||
item.mold_location_code = basLocation.location_code;
|
||||
}
|
||||
|
||||
if (item.schedule_type == 2)
|
||||
{
|
||||
PerProcessStandardsH processStandardsH = await _db.Queryable<PerProcessStandardsH>()
|
||||
|
||||
Reference in New Issue
Block a user