瀏覽代碼

enson fix 2

fix負數倉
kelvin.yau 1 月之前
父節點
當前提交
162b961588
共有 1 個檔案被更改,包括 11 行新增11 行删除
  1. +11
    -11
      src/components/ProductionProcess/ProductionProcessStepExecution.tsx

+ 11
- 11
src/components/ProductionProcess/ProductionProcessStepExecution.tsx 查看文件

@@ -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>


Loading…
取消
儲存