fix(wms): 提高html2canvas缩放比例并优化发货单页面布局

调整wayBill和wayBill2组件的html2canvas缩放比例从3提高到6,以获得更清晰的打印效果
重构发货单页面布局,将表格和分页组件放入滚动容器,表单区域设为固定位置
This commit is contained in:
砂糖
2026-03-16 15:34:53 +08:00
parent d8821db4b2
commit e5821a3f68
3 changed files with 64 additions and 62 deletions

View File

@@ -440,7 +440,7 @@ export default {
// 固定按纸张尺寸截图:右侧留白来自于 contentEl 的缩放241 -> 211mm而不是扩大截图宽度
const canvas = await html2canvas(node, {
backgroundColor: '#ffffff',
scale: 3,
scale: 6,
useCORS: true,
willReadFrequently: true,
width: pageWidthPx,

View File

@@ -440,7 +440,7 @@ export default {
// 固定按纸张尺寸截图:右侧留白来自于 contentEl 的缩放241 -> 211mm而不是扩大截图宽度
const canvas = await html2canvas(node, {
backgroundColor: '#ffffff',
scale: 3,
scale: 6,
useCORS: true,
willReadFrequently: true,
width: pageWidthPx,