|
|
@@ -144,8 +144,8 @@ const StockInForm: React.FC<Props> = ({ |
|
|
|
// required: "productLotNo required!", |
|
|
|
})} |
|
|
|
disabled={disabled} |
|
|
|
// error={Boolean(errors.productLotNo)} |
|
|
|
// helperText={errors.productLotNo?.message} |
|
|
|
error={Boolean(errors.productLotNo)} |
|
|
|
helperText={errors.productLotNo?.message} |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={4}> |
|
|
@@ -196,7 +196,7 @@ const StockInForm: React.FC<Props> = ({ |
|
|
|
helperText={errors.acceptedQty?.message} |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={4}> |
|
|
|
{/* <Grid item xs={4}> |
|
|
|
<TextField |
|
|
|
label={t("acceptedWeight")} |
|
|
|
fullWidth |
|
|
@@ -207,7 +207,7 @@ const StockInForm: React.FC<Props> = ({ |
|
|
|
error={Boolean(errors.acceptedWeight)} |
|
|
|
helperText={errors.acceptedWeight?.message} |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
</Grid> */} |
|
|
|
<Grid item xs={4}> |
|
|
|
<Controller |
|
|
|
control={control} |
|
|
|