| @@ -640,13 +640,13 @@ const ProductionProcessStepExecution: React.FC<ProductionProcessStepExecutionPro | |||||
| <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(1)")}</Typography> | <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(1)")}</Typography> | ||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectQty}</Typography> | |||||
| <Typography>{lineDetail?.defectQty}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectUom || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectUom || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectDescription || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectDescription || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| </TableRow> | </TableRow> | ||||
| <TableRow sx={{ bgcolor: 'warning.50' }}> | <TableRow sx={{ bgcolor: 'warning.50' }}> | ||||
| @@ -654,13 +654,13 @@ const ProductionProcessStepExecution: React.FC<ProductionProcessStepExecutionPro | |||||
| <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(2)")}</Typography> | <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(2)")}</Typography> | ||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectQty2}</Typography> | |||||
| <Typography>{lineDetail?.defectQty2}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectUom2 || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectUom2 || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectDescription2 || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectDescription2 || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| </TableRow> | </TableRow> | ||||
| <TableRow sx={{ bgcolor: 'warning.50' }}> | <TableRow sx={{ bgcolor: 'warning.50' }}> | ||||
| @@ -668,13 +668,13 @@ const ProductionProcessStepExecution: React.FC<ProductionProcessStepExecutionPro | |||||
| <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(3)")}</Typography> | <Typography fontWeight={500} color="warning.dark">{t("Defect")}{t("(3)")}</Typography> | ||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectQty3}</Typography> | |||||
| <Typography>{lineDetail?.defectQty3}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectUom3 || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectUom3 || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.defectDescription3 || "-"}</Typography> | |||||
| <Typography>{lineDetail?.defectDescription3 || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| </TableRow> | </TableRow> | ||||
| <TableRow sx={{ bgcolor: 'error.50' }}> | <TableRow sx={{ bgcolor: 'error.50' }}> | ||||
| @@ -682,10 +682,10 @@ const ProductionProcessStepExecution: React.FC<ProductionProcessStepExecutionPro | |||||
| <Typography fontWeight={500} color="error.dark">{t("Scrap")}</Typography> | <Typography fontWeight={500} color="error.dark">{t("Scrap")}</Typography> | ||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.scrapQty}</Typography> | |||||
| <Typography>{lineDetail?.scrapQty}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| <TableCell> | <TableCell> | ||||
| <Typography>{lineDetail.scrapUom || "-"}</Typography> | |||||
| <Typography>{lineDetail?.scrapUom || "-"}</Typography> | |||||
| </TableCell> | </TableCell> | ||||
| </TableRow> | </TableRow> | ||||
| </TableBody> | </TableBody> | ||||