diff --git a/src/mes/productionExec/productionExecMain/index.js b/src/mes/productionExec/productionExecMain/index.js index d04d3c9..0488966 100644 --- a/src/mes/productionExec/productionExecMain/index.js +++ b/src/mes/productionExec/productionExecMain/index.js @@ -559,7 +559,10 @@ const ProductionExecContentByType = props => { !deviceTargetInfoData[0]?.sStatus ) return; - const sStatusNameValue = deviceTargetInfoData[0]?.dAdjustOrRun === 0 + const { globalData } = props?.app + const {currentWorkOrderInfo} = globalData || {} + const { dAdjustOrRun } = currentWorkOrderInfo || {} + const sStatusNameValue = dAdjustOrRun === 0 ? 0 : 1;