-
-
Save pysoftware/b9c58f8a268f2c8683c20be620b9d91d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Table lang='ru'> | |
<Table.Body data-test-id="Тело таблицы"> | |
<Context> | |
{({ | |
open, | |
openLot | |
}) => sectorAgreement.length ? | |
sectorAgreement.map(({ | |
id, | |
mrgBidId, | |
registryNumber, | |
customerName, | |
name, | |
methodOfSupplier, | |
nmc, | |
jointAuction, | |
topKpgzValue, | |
spgzValue, | |
acceptedByGrbsDate | |
}, index) => ( | |
<Table.Body.Row | |
data-test-id={`Строка номер ${index + 1}`} | |
key={id}> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
<Table.Body.Row.Cell> | |
<Checkbox | |
data-test-id="Выделить строку" | |
value={selectedIds.includes(id)} | |
onChange={() => selectSectorAgreement(id, mrgBidId)} /> | |
</Table.Body.Row.Cell> | |
</Table.Body.Row> | |
)) : ( | |
<div className={classes.placeholder}> | |
Ничего не найдено | |
</div> | |
)} | |
</Context> | |
</Table.Body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment