diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs index 7720a362..6f417b1e 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs @@ -158,15 +158,14 @@ namespace Tnb.ProductionPlanMgr var obj = (await db.Queryable().FirstAsync(it => it.id == input.mo_id)); obj.input_qty += entity.scheduled_num; var moStatus = ""; - //判断,已排产数量>=计划数量时将状态改为 已完成 + //判断,已排产数量>=计划数量时将状态改为 已排产 if (obj.input_qty >= obj.plan_qty) { moStatus = "25019252113685"; - } else { - //修改工单状态为已排产,同事修改已排产数量 + //修改工单状态为待排产,同事修改已排产数量 moStatus = "25019244276501"; } row = await db.Updateable().SetColumns(it => new PrdMo