|
@@ -1874,7 +1874,23 @@ async function mergeStampSignature(ctx, status, pageData, singleRoleRel, rpt_ids
|
|
|
}
|
|
|
}
|
|
|
if (newStampCells.length > 0) {
|
|
|
- page.signature_cells = page.signature_cells.concat(newStampCells);
|
|
|
+ if (page.liftUpInfo) {
|
|
|
+ const tmpStampCells = [];
|
|
|
+ newStampCells.forEach(newStampCell => {
|
|
|
+ const tmpCell = JSON.parse(JSON.stringify(newStampCell));
|
|
|
+ tmpStampCells.push(tmpCell);
|
|
|
+ let adjustHeight = page.liftUpInfo.liftUpHeight;
|
|
|
+ const tmpTop = tmpCell.area.Top - adjustHeight;
|
|
|
+ if (tmpTop < 10) {
|
|
|
+ adjustHeight = adjustHeight - (10 - tmpTop);
|
|
|
+ }
|
|
|
+ tmpCell.area.Top = tmpCell.area.Top - adjustHeight;
|
|
|
+ tmpCell.area.Bottom = tmpCell.area.Bottom - adjustHeight;
|
|
|
+ });
|
|
|
+ page.signature_cells = page.signature_cells.concat(tmpStampCells);
|
|
|
+ } else {
|
|
|
+ page.signature_cells = page.signature_cells.concat(newStampCells);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|