From 7e068d5655ca813bf84c8630b77e1fabe4ab38de Mon Sep 17 00:00:00 2001 From: tlartem Date: Tue, 29 Jul 2025 09:20:40 +0300 Subject: [PATCH] printArea --- src/page/templates/protocols/Page.tsx | 4 ++++ 1 file changed, 4 insertions(+) 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)