diff --git a/klp-ui/src/views/wms/report/delivery.vue b/klp-ui/src/views/wms/report/delivery.vue
index 79dec538..b8a2a005 100644
--- a/klp-ui/src/views/wms/report/delivery.vue
+++ b/klp-ui/src/views/wms/report/delivery.vue
@@ -67,14 +67,16 @@
-
+
-
-
+
+
+
+
+ 导出产出钢卷
+ 导出消耗钢卷
+
+
+
+
+
+ {{ summary.outCount }}
+ {{ summary.outTotalWeight }}t
+ {{ summary.outAvgWeight }}t
+
+ {{ summary.lossCount }}
+ {{ summary.lossTotalWeight }}t
+ {{ summary.lossAvgWeight }}t
+
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.totalAvgWeight }}t
+
+
+ {{ summary.passRate }}
+ {{ summary.lossRate }}
+
+ {{ summary.abRate }}
+
+
+
+
+ {{ item.value
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status === 0 ? '在库' : '已出库' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/template/loss.vue b/klp-ui/src/views/wms/report/template/loss.vue
new file mode 100644
index 00000000..8843d427
--- /dev/null
+++ b/klp-ui/src/views/wms/report/template/loss.vue
@@ -0,0 +1,252 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出
+
+
+
+
+
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.avgWeight }}t
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/klp-ui/src/views/wms/report/template/merge.vue b/klp-ui/src/views/wms/report/template/merge.vue
index 599be917..df25caa7 100644
--- a/klp-ui/src/views/wms/report/template/merge.vue
+++ b/klp-ui/src/views/wms/report/template/merge.vue
@@ -108,12 +108,14 @@
-
+
+
+
@@ -259,8 +261,24 @@ export default {
listCoilWithIds({ ...this.queryParams, coilIds: lossIds.join(',') || '' }),
listCoilWithIds({ ...this.queryParams, coilIds: outIds.join(',') || '' }),
]);
- this.lossList = lossRes.rows;
- this.outList = outRes.rows;
+ this.lossList = lossRes.rows.map(item => {
+ // 计算宽度和厚度,将规格按照*分割,*前的是厚度,*后的是宽度
+ const [thickness, width] = item.specification.split('*')
+ return {
+ ...item,
+ computedThickness: parseFloat(thickness),
+ computedWidth: parseFloat(width),
+ }
+ });
+ this.outList = outRes.rows.map(item => {
+ // 计算宽度和厚度,将规格按照*分割,*前的是厚度,*后的是宽度
+ const [thickness, width] = item.specification.split('*')
+ return {
+ ...item,
+ computedThickness: parseFloat(thickness),
+ computedWidth: parseFloat(width),
+ }
+ });
this.loading = false;
},
// 导出
diff --git a/klp-ui/src/views/wms/report/template/month.vue b/klp-ui/src/views/wms/report/template/month.vue
new file mode 100644
index 00000000..a02d48f5
--- /dev/null
+++ b/klp-ui/src/views/wms/report/template/month.vue
@@ -0,0 +1,407 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出产出钢卷
+ 导出消耗钢卷
+
+
+
+
+
+ {{ summary.outCount }}
+ {{ summary.outTotalWeight }}t
+ {{ summary.outAvgWeight }}t
+
+ {{ summary.lossCount }}
+ {{ summary.lossTotalWeight }}t
+ {{ summary.lossAvgWeight }}t
+
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.totalAvgWeight }}t
+
+
+ {{ summary.passRate }}
+ {{ summary.lossRate }}
+
+ {{ summary.abRate }}
+
+
+
+
+ {{ item.value
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status === 0 ? '在库' : '已出库' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/template/out.vue b/klp-ui/src/views/wms/report/template/out.vue
new file mode 100644
index 00000000..f9bfe699
--- /dev/null
+++ b/klp-ui/src/views/wms/report/template/out.vue
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出
+
+
+
+
+
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.avgWeight }}t
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status === 0 ? '在库' : '已出库' }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/klp-ui/src/views/wms/report/template/team.vue b/klp-ui/src/views/wms/report/template/team.vue
new file mode 100644
index 00000000..530b2243
--- /dev/null
+++ b/klp-ui/src/views/wms/report/template/team.vue
@@ -0,0 +1,391 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出产出钢卷
+ 导出消耗钢卷
+
+
+
+
+
+ {{ summary.outCount }}
+ {{ summary.outTotalWeight }}t
+ {{ summary.outAvgWeight }}t
+ {{ summary.lossCount }}
+ {{ summary.lossTotalWeight }}t
+ {{ summary.lossAvgWeight }}t
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.totalAvgWeight }}t
+ {{ summary.passRate }}
+ {{ summary.lossRate }}
+ {{ summary.abRate }}
+
+
+
+ {{ item.value
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status === 0 ? '在库' : '已出库' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/template/year.vue b/klp-ui/src/views/wms/report/template/year.vue
new file mode 100644
index 00000000..c552e1e8
--- /dev/null
+++ b/klp-ui/src/views/wms/report/template/year.vue
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出产出钢卷
+ 导出消耗钢卷
+
+
+
+
+
+ {{ summary.outCount }}
+ {{ summary.outTotalWeight }}t
+ {{ summary.outAvgWeight }}t
+
+ {{ summary.lossCount }}
+ {{ summary.lossTotalWeight }}t
+ {{ summary.lossAvgWeight }}t
+
+ {{ summary.totalCount }}
+ {{ summary.totalWeight }}t
+ {{ summary.totalAvgWeight }}t
+
+
+ {{ summary.passRate }}
+ {{ summary.lossRate }}
+
+ {{ summary.abRate }}
+
+
+
+
+ {{ item.value
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status === 0 ? '在库' : '已出库' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha.vue b/klp-ui/src/views/wms/report/zha.vue
index 2826bf48..01d18359 100644
--- a/klp-ui/src/views/wms/report/zha.vue
+++ b/klp-ui/src/views/wms/report/zha.vue
@@ -1,166 +1,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出
-
-
-
-
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.avgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha/day.vue b/klp-ui/src/views/wms/report/zha/day.vue
index 18d92ebc..b5ff84e4 100644
--- a/klp-ui/src/views/wms/report/zha/day.vue
+++ b/klp-ui/src/views/wms/report/zha/day.vue
@@ -1,215 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
- {{ item.value
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha/month.vue b/klp-ui/src/views/wms/report/zha/month.vue
index 6b9ee8bc..fa448026 100644
--- a/klp-ui/src/views/wms/report/zha/month.vue
+++ b/klp-ui/src/views/wms/report/zha/month.vue
@@ -1,239 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha/team.vue b/klp-ui/src/views/wms/report/zha/team.vue
index 68df5f81..d0d93546 100644
--- a/klp-ui/src/views/wms/report/zha/team.vue
+++ b/klp-ui/src/views/wms/report/zha/team.vue
@@ -1,260 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha/year.vue b/klp-ui/src/views/wms/report/zha/year.vue
index 6b7bb09f..6e9762e0 100644
--- a/klp-ui/src/views/wms/report/zha/year.vue
+++ b/klp-ui/src/views/wms/report/zha/year.vue
@@ -1,223 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zha_.vue b/klp-ui/src/views/wms/report/zha_.vue
index 5fe60c5d..2bf6e3a1 100644
--- a/klp-ui/src/views/wms/report/zha_.vue
+++ b/klp-ui/src/views/wms/report/zha_.vue
@@ -1,241 +1,25 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出
-
-
-
-
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.avgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc.vue b/klp-ui/src/views/wms/report/zinc.vue
index 017a3983..c519e104 100644
--- a/klp-ui/src/views/wms/report/zinc.vue
+++ b/klp-ui/src/views/wms/report/zinc.vue
@@ -1,251 +1,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出
-
-
-
-
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.avgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc/day.vue b/klp-ui/src/views/wms/report/zinc/day.vue
index fdaedf5f..be6338c9 100644
--- a/klp-ui/src/views/wms/report/zinc/day.vue
+++ b/klp-ui/src/views/wms/report/zinc/day.vue
@@ -1,371 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
- {{ item.value
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc/month.vue b/klp-ui/src/views/wms/report/zinc/month.vue
index 164c2f20..f8f689c7 100644
--- a/klp-ui/src/views/wms/report/zinc/month.vue
+++ b/klp-ui/src/views/wms/report/zinc/month.vue
@@ -1,392 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc/team.vue b/klp-ui/src/views/wms/report/zinc/team.vue
index 10ac7e00..6b991d20 100644
--- a/klp-ui/src/views/wms/report/zinc/team.vue
+++ b/klp-ui/src/views/wms/report/zinc/team.vue
@@ -1,448 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc/year.vue b/klp-ui/src/views/wms/report/zinc/year.vue
index e0b362dd..7b404205 100644
--- a/klp-ui/src/views/wms/report/zinc/year.vue
+++ b/klp-ui/src/views/wms/report/zinc/year.vue
@@ -1,374 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出产出钢卷
- 导出消耗钢卷
-
-
-
-
-
- {{ summary.outCount }}
- {{ summary.outTotalWeight }}t
- {{ summary.outAvgWeight }}t
-
- {{ summary.lossCount }}
- {{ summary.lossTotalWeight }}t
- {{ summary.lossAvgWeight }}t
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.totalAvgWeight }}t
-
-
- {{ summary.passRate }}
- {{ summary.lossRate }}
-
- {{ summary.abRate }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.status === 0 ? '在库' : '已出库' }}
-
-
-
-
-
-
-
-
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/report/zinc_.vue b/klp-ui/src/views/wms/report/zinc_.vue
index 1f3eff84..2bf91697 100644
--- a/klp-ui/src/views/wms/report/zinc_.vue
+++ b/klp-ui/src/views/wms/report/zinc_.vue
@@ -1,241 +1,25 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出
-
-
-
-
-
- {{ summary.totalCount }}
- {{ summary.totalWeight }}t
- {{ summary.avgWeight }}t
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
\ No newline at end of file