From 9761faa2d28e39ec7db743271be70377616e10e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com>
Date: Thu, 11 Jun 2026 14:49:31 +0800
Subject: [PATCH] =?UTF-8?q?feat(wms,=20crm):=20=E6=96=B0=E5=A2=9E=E5=AF=BC?=
=?UTF-8?q?=E5=87=BA=E6=A8=A1=E5=BC=8F=E9=80=89=E6=8B=A9=E5=B9=B6=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8Dcanvas=E5=9B=BE=E7=89=87=E7=BC=A9=E6=94=BE=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
1. 为Wms异常报表页面新增多行/单行导出切换功能
2. 拆分导出菜单为单行、多行两种导出选项
3. 修复ContractExportDialog中图片缩放比例的冗余限制
---
.../components/ContractExportDialog.vue | 2 +-
klp-ui/src/views/wms/report/abnormal.vue | 52 ++++++++++++++++---
2 files changed, 47 insertions(+), 7 deletions(-)
diff --git a/klp-ui/src/views/crm/contract/components/ContractExportDialog.vue b/klp-ui/src/views/crm/contract/components/ContractExportDialog.vue
index 82672dbb..7e7c0371 100644
--- a/klp-ui/src/views/crm/contract/components/ContractExportDialog.vue
+++ b/klp-ui/src/views/crm/contract/components/ContractExportDialog.vue
@@ -489,7 +489,7 @@ export default {
actx.fillStyle = '#ffffff';
actx.fillRect(0, 0, canvasPageW, canvasTotalH);
- const imgScale = Math.min(canvasPageW / img.width, canvasImageH / img.height, 1);
+ const imgScale = Math.min(canvasPageW / img.width, canvasImageH / img.height);
const imgDrawW = img.width * imgScale;
const imgDrawH = img.height * imgScale;
const imgX = (canvasPageW - imgDrawW) / 2;
diff --git a/klp-ui/src/views/wms/report/abnormal.vue b/klp-ui/src/views/wms/report/abnormal.vue
index 7a47b602..b5f0e4d4 100644
--- a/klp-ui/src/views/wms/report/abnormal.vue
+++ b/klp-ui/src/views/wms/report/abnormal.vue
@@ -41,15 +41,24 @@
+
查询
- 导出产出钢卷
- 导出消耗钢卷
- 保存产出报表
- 保存消耗报表
+ 导出产出钢卷(单行)
+ 导出消耗钢卷(单行)
+
+ 导出产出钢卷(多行)
+ 导出消耗钢卷(多行)
+