diff --git a/src/components/ProductionProcess/ProductionProcessStepExecution.tsx b/src/components/ProductionProcess/ProductionProcessStepExecution.tsx index 42b9b7b8..096acbb5 100644 --- a/src/components/ProductionProcess/ProductionProcessStepExecution.tsx +++ b/src/components/ProductionProcess/ProductionProcessStepExecution.tsx @@ -640,13 +640,13 @@ const ProductionProcessStepExecution: React.FC{t("Defect")}{t("(1)")} - {lineDetail.defectQty} + {lineDetail?.defectQty} - {lineDetail.defectUom || "-"} + {lineDetail?.defectUom || "-"} - {lineDetail.defectDescription || "-"} + {lineDetail?.defectDescription || "-"} @@ -654,13 +654,13 @@ const ProductionProcessStepExecution: React.FC{t("Defect")}{t("(2)")} - {lineDetail.defectQty2} + {lineDetail?.defectQty2} - {lineDetail.defectUom2 || "-"} + {lineDetail?.defectUom2 || "-"} - {lineDetail.defectDescription2 || "-"} + {lineDetail?.defectDescription2 || "-"} @@ -668,13 +668,13 @@ const ProductionProcessStepExecution: React.FC{t("Defect")}{t("(3)")} - {lineDetail.defectQty3} + {lineDetail?.defectQty3} - {lineDetail.defectUom3 || "-"} + {lineDetail?.defectUom3 || "-"} - {lineDetail.defectDescription3 || "-"} + {lineDetail?.defectDescription3 || "-"} @@ -682,10 +682,10 @@ const ProductionProcessStepExecution: React.FC{t("Scrap")} - {lineDetail.scrapQty} + {lineDetail?.scrapQty} - {lineDetail.scrapUom || "-"} + {lineDetail?.scrapUom || "-"}