Browse Source

quick update

master
cyril.tsui 2 months ago
parent
commit
57f1a8ba18
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/components/JoSave/ActionButtons.tsx

+ 3
- 3
src/components/JoSave/ActionButtons.tsx View File

@@ -79,13 +79,13 @@ const ActionButtons: React.FC<Props> = ({
variant="outlined" variant="outlined"
startIcon={<PlayCircleFilledWhiteIcon />} startIcon={<PlayCircleFilledWhiteIcon />}
onClick={handleStart} onClick={handleStart}
disabled={errors.qtyErr || errors.scanErr || errors.pickErr}
// disabled={errors.qtyErr || errors.scanErr || errors.pickErr}
> >
{t("Start Job Order")} {t("Start Job Order")}
</Button> </Button>
{errors.pickErr && (<Typography variant="h3" color="error">{t("Please make sure all required items are picked")}</Typography>)}
{/* {errors.pickErr && (<Typography variant="h3" color="error">{t("Please make sure all required items are picked")}</Typography>)}
{errors.scanErr && (<Typography variant="h3" color="error">{t("Please scan the item qr code")}</Typography>)} {errors.scanErr && (<Typography variant="h3" color="error">{t("Please scan the item qr code")}</Typography>)}
{errors.qtyErr && (<Typography variant="h3" color="error">{t("Please make sure the qty is enough")}</Typography>)}
{errors.qtyErr && (<Typography variant="h3" color="error">{t("Please make sure the qty is enough")}</Typography>)} */}
</Box> </Box>
)} )}
</Stack> </Stack>


Loading…
Cancel
Save