feat(wms/report): add length/thickness diff columns and abnormal alert

1. 调整产品内容工具函数,移除冗余的quantity和taxPrice字段返回
2. 重新编排报表列配置,新增长度/厚度差值列并调整字段顺序
3. 实现差值计算逻辑与异常标红展示,从配置获取告警阈值
This commit is contained in:
2026-06-09 09:02:44 +08:00
parent 59ceeed4a4
commit d231d3619a
3 changed files with 58 additions and 27 deletions

View File

@@ -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),