diff --git a/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue b/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
index 9fa79e5e..23527b6b 100644
--- a/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
+++ b/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
@@ -318,13 +318,15 @@ export default {
// 确保页面尺寸正确:宽100mm,高80mm(横向)
const page = pdfDoc.addPage([pageWidthPt, pageHeightPt]);
- // 直接拉伸填充整个PDF页面,不留边距,确保占满整张纸
- // 从(0,0)开始,直接填充整个页面尺寸
+ // 缩放到原尺寸的95%,原点为左上
+ const scaleFactor = 0.95;
+ const imgWidth = pageWidthPt * scaleFactor;
+ const imgHeight = pageHeightPt * scaleFactor;
page.drawImage(imgPng, {
x: 0,
- y: 0,
- width: pageWidthPt,
- height: pageHeightPt
+ y: pageHeightPt - imgHeight,
+ width: imgWidth,
+ height: imgHeight
});
const pdfBytes = await pdfDoc.save();
diff --git a/klp-ui/src/views/wms/hrm/attendance/attendanceCheck.vue b/klp-ui/src/views/wms/hrm/attendance/attendanceCheck.vue
index 1716ea73..b7d3558c 100644
--- a/klp-ui/src/views/wms/hrm/attendance/attendanceCheck.vue
+++ b/klp-ui/src/views/wms/hrm/attendance/attendanceCheck.vue
@@ -73,7 +73,7 @@
-
+
@@ -342,7 +342,7 @@
-
+
diff --git a/klp-ui/src/views/wms/report/abnormal.vue b/klp-ui/src/views/wms/report/abnormal.vue
index ce6269e3..7a47b602 100644
--- a/klp-ui/src/views/wms/report/abnormal.vue
+++ b/klp-ui/src/views/wms/report/abnormal.vue
@@ -273,7 +273,7 @@ export default {
this.loading = true;
const actions = await listLightPendingAction({ ...this.queryParams, actionTypes: this.actionTypes, actionStatus: 2 });
- const outIds = actions.rows.map(item => item.processedCoilIds).join(',');
+ const outIds = actions.data.map(item => item.processedCoilIds).join(',');
if (!outIds) {
this.outList = []