| @@ -665,6 +665,7 @@ const PoDetail: React.FC<Props> = ({ po, warehouse, printerCombo }) => { | |||||
| value={lotNoInput} | value={lotNoInput} | ||||
| onChange={(e) => setLotNoInput(e.target.value)} | onChange={(e) => setLotNoInput(e.target.value)} | ||||
| onBlur={() => syncRowInputToParent(lotNoInput, dnQtyInput)} | onBlur={() => syncRowInputToParent(lotNoInput, dnQtyInput)} | ||||
| onClick={(e) => e.stopPropagation()} | |||||
| // onFocus={(e) => {setFocusField(e.target as HTMLInputElement);}} | // onFocus={(e) => {setFocusField(e.target as HTMLInputElement);}} | ||||
| /> | /> | ||||
| </TableCell> | </TableCell> | ||||
| @@ -677,6 +678,7 @@ const PoDetail: React.FC<Props> = ({ po, warehouse, printerCombo }) => { | |||||
| value={dnQtyInput} | value={dnQtyInput} | ||||
| onChange={(e) => setDnQtyInput(e.target.value)} | onChange={(e) => setDnQtyInput(e.target.value)} | ||||
| onBlur={() => syncRowInputToParent(lotNoInput, dnQtyInput)} | onBlur={() => syncRowInputToParent(lotNoInput, dnQtyInput)} | ||||
| onClick={(e) => e.stopPropagation()} | |||||
| InputProps={{ | InputProps={{ | ||||
| inputProps: { | inputProps: { | ||||
| min: 0, // Optional: set a minimum value | min: 0, // Optional: set a minimum value | ||||
| @@ -689,9 +691,10 @@ const PoDetail: React.FC<Props> = ({ po, warehouse, printerCombo }) => { | |||||
| <TableCell align="center"> | <TableCell align="center"> | ||||
| <Button | <Button | ||||
| variant="contained" | variant="contained" | ||||
| onClick={() => | |||||
| handleStart() | |||||
| } | |||||
| onClick={(e) => { | |||||
| e.stopPropagation(); | |||||
| handleStart(); | |||||
| }} | |||||
| > | > | ||||
| {t("submit")} | {t("submit")} | ||||
| </Button> | </Button> | ||||