forked from CITKParus/P8-Panels
ЦИТК-930 - Доработка панели "Мониторинг сборки изделий"
This commit is contained in:
parent
2d1a07d071
commit
49309e5c0e
@ -107,7 +107,7 @@ const PlanSpecInfo = ({ planSpec }) => {
|
|||||||
<Box sx={STYLES.PLAN_INFO_MAIN}>
|
<Box sx={STYLES.PLAN_INFO_MAIN}>
|
||||||
<Box sx={STYLES.PLAN_INFO_SUB}>
|
<Box sx={STYLES.PLAN_INFO_SUB}>
|
||||||
<Typography variant="PlanSpecInfo" mt={1}>
|
<Typography variant="PlanSpecInfo" mt={1}>
|
||||||
Номер борта:
|
Номер изделия:
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="subtitle2">{planSpec.SNUMB}</Typography>
|
<Typography variant="subtitle2">{planSpec.SNUMB}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -70,11 +70,11 @@ const PlanSpecsListItem = ({ card, cardIndex, onClick }) => {
|
|||||||
return (
|
return (
|
||||||
<Box sx={STYLES.CONTAINER} onClick={() => (onClick ? onClick(card, cardIndex) : null)}>
|
<Box sx={STYLES.CONTAINER} onClick={() => (onClick ? onClick(card, cardIndex) : null)}>
|
||||||
<PlanSpecsListItemImage card={card} />
|
<PlanSpecsListItemImage card={card} />
|
||||||
<Box textAlign="center">
|
<Box textAlign="center" height="70px">
|
||||||
<Typography variant="PlanSpecInfo" sx={STYLES.TEXT_INFO_FIELD}>
|
<Typography variant="PlanSpecInfo" sx={STYLES.TEXT_INFO_FIELD}>
|
||||||
Номер борта
|
Номер изделия
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="h2">{card.SNUMB}</Typography>
|
<Typography variant="h2">{card.SNUMB || "-"}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<ProgressBox
|
<ProgressBox
|
||||||
progress={card.NPROGRESS}
|
progress={card.NPROGRESS}
|
||||||
@ -84,12 +84,12 @@ const PlanSpecsListItem = ({ card, cardIndex, onClick }) => {
|
|||||||
progressVariant={"h3"}
|
progressVariant={"h3"}
|
||||||
detailVariant={"PlanSpecProgressDetail"}
|
detailVariant={"PlanSpecProgressDetail"}
|
||||||
/>
|
/>
|
||||||
<Box>
|
<Box height="70px">
|
||||||
<Typography variant="PlanSpecInfo" sx={STYLES.TEXT_INFO_FIELD}>
|
<Typography variant="PlanSpecInfo" sx={STYLES.TEXT_INFO_FIELD}>
|
||||||
Год выпуска:
|
Год выпуска:
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="subtitle1" mt={-1}>
|
<Typography variant="subtitle1" mt={-1}>
|
||||||
{card.NYEAR}
|
{card.NYEAR || "-"}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -6195,11 +6195,11 @@ create or replace package body PKG_P8PANELS_MECHREC as
|
|||||||
/* Определяем детализацию по прогрессу */
|
/* Определяем детализацию по прогрессу */
|
||||||
case
|
case
|
||||||
when (NPROGRESS >= 70) then
|
when (NPROGRESS >= 70) then
|
||||||
SRESULT := 'Основная сборка: Стыковка агрегатов выполнена';
|
SRESULT := 'Основная сборка';
|
||||||
when (NPROGRESS >= 40) then
|
when (NPROGRESS >= 40) then
|
||||||
SRESULT := 'Изготовление агрегатов: Фюзеляж и ОЧК не переданы в цех ОС';
|
SRESULT := 'Изготовление агрегатов';
|
||||||
when (NPROGRESS >= 10) then
|
when (NPROGRESS >= 10) then
|
||||||
SRESULT := 'Изготовление ДСЕ: Фюзеляж и ОЧК не укомлектованы ДСЕ';
|
SRESULT := 'Изготовление ДСЕ';
|
||||||
else
|
else
|
||||||
SRESULT := 'Изготовление ДСЕ не начато';
|
SRESULT := 'Изготовление ДСЕ не начато';
|
||||||
end case;
|
end case;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user