Parcourir la source

enson fix 2

fix負數倉
kelvin.yau il y a 1 mois
Parent
révision
162b961588
1 fichiers modifiés avec 11 ajouts et 11 suppressions
  1. +11
    -11
      src/components/ProductionProcess/ProductionProcessStepExecution.tsx

+ 11
- 11
src/components/ProductionProcess/ProductionProcessStepExecution.tsx Voir le fichier

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


Chargement…
Annuler
Enregistrer