Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
kae_mihara 2026-07-05 07:56:39 +09:00 committed by GitHub
parent 5d5bc0742a
commit 9e8179ddcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -740,10 +740,11 @@ render: (_, row) => (
placeholder="批次"
value={pan.batchId}
style={{ width: 180 }}
allowClear
options={batches.map((batch) => ({ label: batch.batchNo, value: batch.batchId }))}
onChange={(value) => {
const next = [...panInputs];
next[pi] = { ...next[pi], batchId: value };
next[pi] = { ...next[pi], batchId: value || undefined };
setPanInputs(next);
}}
/>