printArea
This commit is contained in:
@@ -156,10 +156,14 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user