diff --git a/klp-ui/src/views/wms/report/abnormal.vue b/klp-ui/src/views/wms/report/abnormal.vue index f36081df..24d5a068 100644 --- a/klp-ui/src/views/wms/report/abnormal.vue +++ b/klp-ui/src/views/wms/report/abnormal.vue @@ -37,6 +37,10 @@ + + + @@ -99,14 +103,16 @@ @@ -147,7 +153,7 @@ export default { ColumnsSetting, TimeRangePicker }, - dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer'], + dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status'], data() { // 工具函数:个位数补零 const addZero = (num) => num.toString().padStart(2, '0') diff --git a/klp-ui/src/views/wms/report/delivery.vue b/klp-ui/src/views/wms/report/delivery.vue index fd892589..d3fb6ba6 100644 --- a/klp-ui/src/views/wms/report/delivery.vue +++ b/klp-ui/src/views/wms/report/delivery.vue @@ -3,14 +3,8 @@ - + + + + 查询 导出 @@ -93,7 +91,7 @@ export default { CoilTable, TimeRangePicker, }, - dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer'], + dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status'], data() { // 工具函数:个位数补零,保证格式统一(比如 9 → 09,5 → 05) const addZero = (num) => num.toString().padStart(2, '0') diff --git a/klp-ui/src/views/wms/report/receive.vue b/klp-ui/src/views/wms/report/receive.vue index eb7b3006..4d48bf4b 100644 --- a/klp-ui/src/views/wms/report/receive.vue +++ b/klp-ui/src/views/wms/report/receive.vue @@ -20,26 +20,32 @@ - + - + - + - + - + + + + + + @@ -115,7 +121,7 @@ export default { HierarchicalPivot, CrossTable, }, - dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer'], + dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status'], data() { // 工具函数:个位数补零,保证格式统一(比如 9 → 09,5 → 05) const addZero = (num) => num.toString().padStart(2, '0') diff --git a/klp-ui/src/views/wms/report/template/action.vue b/klp-ui/src/views/wms/report/template/action.vue index e010e378..38bc67ba 100644 --- a/klp-ui/src/views/wms/report/template/action.vue +++ b/klp-ui/src/views/wms/report/template/action.vue @@ -71,12 +71,19 @@ - - + + + + + 查询 @@ -219,7 +226,7 @@ export default { name: 'MergeTemplate', props: { actionType: { - type: Number, + type: [Number, String], required: true }, productionLine: { @@ -246,7 +253,7 @@ export default { ColumnsSetting, TimeRangePicker }, - dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer'], + dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status'], data() { // 工具函数:个位数补零 const addZero = (num) => num.toString().padStart(2, '0') @@ -466,7 +473,7 @@ export default { this.loading = true; // 所有报表类型都使用原始的 listPendingAction 方式获取数据 - const res = await listPendingAction({ ...this.queryParams, actionType: this.actionType, actionStatus: 2 }); + const res = await listPendingAction({ ...this.queryParams, actionTypes: this.actionType, actionStatus: 2 }); // 获取两层数据 const lossIds = res.rows.filter(item => item.coilId).map(item => item.coilId); const lossActionIds = res.rows.filter(item => item.actionId).map(item => item.actionId); diff --git a/klp-ui/src/views/wms/report/template/comprehensive.vue b/klp-ui/src/views/wms/report/template/comprehensive.vue index d2b61d38..1a0abdd6 100644 --- a/klp-ui/src/views/wms/report/template/comprehensive.vue +++ b/klp-ui/src/views/wms/report/template/comprehensive.vue @@ -2,8 +2,6 @@
- - 日视图 月视图 @@ -42,10 +40,14 @@ - + + + + + + 查询 导出产出钢卷 @@ -86,7 +92,6 @@ {{ summary.countDiff }}(昨日: {{ yesterdaySummary.countDiff }}) {{ summary.weightDiff }}(昨日: {{ yesterdaySummary.weightDiff }}) {{ summary.avgWeightDiff }}t(昨日: {{ yesterdaySummary.avgWeightDiff }}t) - {{ summary.passRate }}(昨日: {{ yesterdaySummary.passRate }}) @@ -216,7 +221,7 @@ export default { default: '', }, }, - dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer'], + dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status'], data() { // 工具函数:个位数补零 const addZero = (num) => num.toString().padStart(2, '0') diff --git a/klp-ui/src/views/wms/report/template/day.vue b/klp-ui/src/views/wms/report/template/day.vue index c9843b98..d123de91 100644 --- a/klp-ui/src/views/wms/report/template/day.vue +++ b/klp-ui/src/views/wms/report/template/day.vue @@ -14,10 +14,14 @@ - + + + + + + 查询 导出产出钢卷 @@ -153,6 +161,7 @@ export default { CoilTable, SplitSummary, }, + dicts: ['coil_quality_status'], props: { actionTypes: { type: Array, diff --git a/klp-ui/src/views/wms/report/template/loss.vue b/klp-ui/src/views/wms/report/template/loss.vue index f7601cc3..7f3bba64 100644 --- a/klp-ui/src/views/wms/report/template/loss.vue +++ b/klp-ui/src/views/wms/report/template/loss.vue @@ -40,6 +40,10 @@ + + + 查询 导出 @@ -111,7 +115,7 @@ export default { default: '', }, }, - dicts: ['coil_material', 'coil_manufacturer'], + dicts: ['coil_quality_status'], data() { // 工具函数:个位数补零,保证格式统一(比如 9 → 09,5 → 05) const addZero = (num) => num.toString().padStart(2, '0') diff --git a/klp-ui/src/views/wms/report/template/mands.vue b/klp-ui/src/views/wms/report/template/mands.vue index ce4a55f9..15e11a3c 100644 --- a/klp-ui/src/views/wms/report/template/mands.vue +++ b/klp-ui/src/views/wms/report/template/mands.vue @@ -42,10 +42,14 @@ - + + + + + + 查询 导出产出钢卷 @@ -163,7 +171,6 @@