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:
parent
5d5bc0742a
commit
9e8179ddcd
@ -740,10 +740,11 @@ render: (_, row) => (
|
|||||||
placeholder="批次"
|
placeholder="批次"
|
||||||
value={pan.batchId}
|
value={pan.batchId}
|
||||||
style={{ width: 180 }}
|
style={{ width: 180 }}
|
||||||
|
allowClear
|
||||||
options={batches.map((batch) => ({ label: batch.batchNo, value: batch.batchId }))}
|
options={batches.map((batch) => ({ label: batch.batchNo, value: batch.batchId }))}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
const next = [...panInputs];
|
const next = [...panInputs];
|
||||||
next[pi] = { ...next[pi], batchId: value };
|
next[pi] = { ...next[pi], batchId: value || undefined };
|
||||||
setPanInputs(next);
|
setPanInputs(next);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user