Перейти к основному содержимому

useAdjustDailyNorm

@mineflow/client-react


@mineflow/client-react / PRD / useAdjustDailyNorm

Function: useAdjustDailyNorm()

function useAdjustDailyNorm(): UseMutationResult<{
baseSource: AdjustDailyNormResponseDto_OutputBaseSource;
baseTargetM: number | null;
deltaPct: number;
id: string;
isAdjustment: boolean;
}, Error, {
body: {
assetId: string | null;
effectiveFrom: string;
effectiveTo: string | null;
objectPlanId: string;
targetMPerShift: number;
};
id: string;
}>;

Defined in: client-react/src/domain-hooks/prd.ts:701

Корректировка сменной нормы (DailyNorm; foreman ±15% по своему объекту, object-scope).

Returns​

UseMutationResult<{ baseSource: AdjustDailyNormResponseDto_OutputBaseSource; baseTargetM: number | null; deltaPct: number; id: string; isAdjustment: boolean; }, Error, { body: { assetId: string | null; effectiveFrom: string; effectiveTo: string | null; objectPlanId: string; targetMPerShift: number; }; id: string; }>