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