bug,报工扣除投料
This commit is contained in:
@@ -69,7 +69,8 @@ namespace Tnb.ProductionMgr
|
||||
plan_start_date = a.estimated_start_date,
|
||||
plan_end_date = a.estimated_end_date,
|
||||
plan_qty = c.plan_qty,
|
||||
complete_qty = SqlFunc.Subqueryable<PrdReport>().Where(it => it.mo_task_code == a.mo_task_code).Sum(it => it.reported_work_qty),
|
||||
// complete_qty = SqlFunc.Subqueryable<PrdReport>().Where(it => it.mo_task_code == a.mo_task_code).Sum(it => it.reported_work_qty),
|
||||
complete_qty = a.reported_work_qty+a.scrap_qty,
|
||||
mo_task_status = a.mo_task_status,
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user