|
|
@ -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) //不存在正在执行的派工单
|
|
|
|
{ |
|
|
|
//获取当前工序优先级最高的工单
|
|
|
|