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
@ -736,17 +736,18 @@ render: (_, row) => (
|
|||||||
}}
|
}}
|
||||||
style={{ width: 120 }}
|
style={{ width: 120 }}
|
||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
placeholder="批次"
|
placeholder="批次"
|
||||||
value={pan.batchId}
|
value={pan.batchId}
|
||||||
style={{ width: 180 }}
|
style={{ width: 180 }}
|
||||||
options={batches.map((batch) => ({ label: batch.batchNo, value: batch.batchId }))}
|
allowClear
|
||||||
onChange={(value) => {
|
options={batches.map((batch) => ({ label: batch.batchNo, value: batch.batchId }))}
|
||||||
const next = [...panInputs];
|
onChange={(value) => {
|
||||||
next[pi] = { ...next[pi], batchId: value };
|
const next = [...panInputs];
|
||||||
setPanInputs(next);
|
next[pi] = { ...next[pi], batchId: value || undefined };
|
||||||
}}
|
setPanInputs(next);
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
</Space>
|
</Space>
|
||||||
{pan.boltLengths?.map((len, bi) => (
|
{pan.boltLengths?.map((len, bi) => (
|
||||||
<Space key={bi} style={{ display: 'flex', marginBottom: 4 }}>
|
<Space key={bi} style={{ display: 'flex', marginBottom: 4 }}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user