diff --git a/src/page/templates/protocols/Page.tsx b/src/page/templates/protocols/Page.tsx index 970a05a..7ad0961 100644 --- a/src/page/templates/protocols/Page.tsx +++ b/src/page/templates/protocols/Page.tsx @@ -156,10 +156,14 @@ const ProtocolForm: FC = ({ template, onSave, onBack }) => { return } + // Получаем значение print_area из ячейки R!A2 + const printAreaFromCell = engineRef.current.getCellValue('R', 1, 0) // R!A2 + const body = { cells_to_update: cellsToUpdate, file_id: latestFile.id, template_id: template.id, + print_area: printAreaFromCell || '', } console.log('body', body)