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