feat(wms/report): add length/thickness diff columns and abnormal alert
1. 调整产品内容工具函数,移除冗余的quantity和taxPrice字段返回 2. 重新编排报表列配置,新增长度/厚度差值列并调整字段顺序 3. 实现差值计算逻辑与异常标红展示,从配置获取告警阈值
This commit is contained in:
@@ -147,18 +147,25 @@ export default {
|
||||
|
||||
{ label: '产品类型', value: 'itemId' },
|
||||
{ label: '品名', value: 'itemName' },
|
||||
{ label: '宽度', value: 'computedWidth' },
|
||||
{ label: '厚度', value: 'computedThickness' },
|
||||
|
||||
{ label: '规格', value: 'specification' },
|
||||
{ label: '材质', value: 'material' },
|
||||
{ label: '厂家', value: 'manufacturer' },
|
||||
{ label: '表面处理', value: 'surfaceTreatmentDesc' },
|
||||
{ label: '镀层质量', value: 'zincLayer' },
|
||||
|
||||
{ label: '实测长度', value: 'actualLength' },
|
||||
{ label: '理论长度', value: 'theoreticalLength' },
|
||||
{ label: '长度差值', value: 'lengthDiff' },
|
||||
|
||||
{ label: '厚度', value: 'computedThickness' },
|
||||
{ label: '实测厚度', value: 'actualThickness' },
|
||||
{ label: '理论厚度', value: 'theoreticalThickness' },
|
||||
{ label: '厚度差值', value: 'thicknessDiff' },
|
||||
|
||||
{ label: '宽度', value: 'computedWidth' },
|
||||
{ label: '实测宽度', value: 'actualWidth' },
|
||||
|
||||
{ label: '毛重', value: 'grossWeight' },
|
||||
{ label: '净重', value: 'netWeight' },
|
||||
{ label: '创建时间', value: 'createTime' },
|
||||
|
||||
Reference in New Issue
Block a user