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