printArea

This commit is contained in:
2025-07-29 09:20:40 +03:00
parent 3dc246f442
commit 7e068d5655

View File

@@ -156,10 +156,14 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ template, onSave, onBack }) => {
return return
} }
// Получаем значение print_area из ячейки R!A2
const printAreaFromCell = engineRef.current.getCellValue('R', 1, 0) // R!A2
const body = { const body = {
cells_to_update: cellsToUpdate, cells_to_update: cellsToUpdate,
file_id: latestFile.id, file_id: latestFile.id,
template_id: template.id, template_id: template.id,
print_area: printAreaFromCell || '',
} }
console.log('body', body) console.log('body', body)