|
|
|
@@ -215,8 +215,8 @@ const PickExecutionForm: React.FC<PickExecutionFormProps> = ({ |
|
|
|
newErrors.actualPickQty = t("if need just edit number, please scan the lot again"); |
|
|
|
} |
|
|
|
// 5. At least one field must have a value |
|
|
|
//if (ap === 0 && miss === 0 && totalBad === 0) { |
|
|
|
// newErrors.actualPickQty = t("Enter pick qty or issue qty"); |
|
|
|
// if (ap === 0 && miss === 0 && totalBad === 0) { |
|
|
|
//await handleSubmitPickQtyWithQty(selectedLot,0); |
|
|
|
// } |
|
|
|
|
|
|
|
setErrors(newErrors); |
|
|
|
|