From d231d3619a26a374acfb34463476421fd10c4bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Tue, 9 Jun 2026 09:02:44 +0800 Subject: [PATCH] feat(wms/report): add length/thickness diff columns and abnormal alert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 调整产品内容工具函数,移除冗余的quantity和taxPrice字段返回 2. 重新编排报表列配置,新增长度/厚度差值列并调整字段顺序 3. 实现差值计算逻辑与异常标红展示,从配置获取告警阈值 --- klp-ui/src/utils/productContent.js | 2 - .../wms/report/components/coilTable/index.vue | 72 +++++++++++++------ .../wms/report/components/setting/columns.vue | 11 ++- 3 files changed, 58 insertions(+), 27 deletions(-) diff --git a/klp-ui/src/utils/productContent.js b/klp-ui/src/utils/productContent.js index 2a98a90a..dde61ec2 100644 --- a/klp-ui/src/utils/productContent.js +++ b/klp-ui/src/utils/productContent.js @@ -195,8 +195,6 @@ export function calculateProductFields(product, changedField = 'quantity') { return { ...product, - quantity, - taxPrice: round3(taxPrice), noTaxPrice: round3(noTaxPrice), taxTotal: round3(taxTotal), noTaxTotal: round3(noTaxTotal), diff --git a/klp-ui/src/views/wms/report/components/coilTable/index.vue b/klp-ui/src/views/wms/report/components/coilTable/index.vue index dc2e943b..541ef14b 100644 --- a/klp-ui/src/views/wms/report/components/coilTable/index.vue +++ b/klp-ui/src/views/wms/report/components/coilTable/index.vue @@ -1,28 +1,9 @@ + +