Browse Source

帽檐工位计划(暂时屏蔽)

master
dequan.zhang 2 years ago
parent
commit
b26eb148d0
  1. 14
      APPQ5/QMAPP.FJC.TRACING/DataValidators/PlanValidator.cs
  2. 10
      APPQ5/QMAPP.FJC.TRACING/StateActions/SubmitWithOrder.cs

14
APPQ5/QMAPP.FJC.TRACING/DataValidators/PlanValidator.cs

@ -23,7 +23,8 @@ namespace QMAPP.FJC.TRACING.DataValidators
//获取当前工位正在执行的派工单
var workorder= workorderdal.GetWorkingOrderInLoc(data.WorkLocState.WORKLOC_CODE,data.MouldCode);
//-----------------------------------------------------------------------------------------------
//--------------------BC316总成装配工位----------------------------------------------------------
if (data.WorkLocState.WORKCELL_CODE == "ASSEMBLE_BC316")
{
//20210120 DQzhang 获取当前工位第一条派工单
@ -35,6 +36,17 @@ namespace QMAPP.FJC.TRACING.DataValidators
}
//-----------------------------------------------------------------------------------------------
//--------------------BC316帽檐超声波焊接工位----------------------------------------------------
//if (data.WorkLocState.WORKCELL_CODE == "BRIM_WELDING_BC316")
//{
// //20230309 DQzhang 获取当前工位第一条派工单
// workorder = workorderdal.GetFirstOrderInLoc(data.WorkLocState.WORKCELL_CODE, data.MouldCode);
//}
//-----------------------------------------------------------------------------------------------
if (workorder == null) //不存在正在执行的派工单
{
//获取当前工序优先级最高的工单

10
APPQ5/QMAPP.FJC.TRACING/StateActions/SubmitWithOrder.cs

@ -113,7 +113,15 @@ namespace QMAPP.FJC.TRACING.StateActions
//关联计划ID
product.PLAN_ID = workorder.ORDERPLANID;
product.PLAN_NO = workorder.ORDERPLAN_NO;
//--------------------BC316帽檐超声波焊接工位----------------------------------------------------
//if (data.WorkLocState.WORKCELL_CODE == "BRIM_WELDING_BC316")
//{
// workorder.IsDelete = true;
//}
//-----------------------------------------------------------------------------------------------
if (!workcellend)
{
workorder.WORKLOC_CODE = data.WorkLocState.WORKLOC_CODE;

Loading…
Cancel
Save