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

@ -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 }}>