diff --git a/src/views/report/WIPInquiryReport/index.vue b/src/views/report/WIPInquiryReport/index.vue
index 5a5eef0..edac10b 100644
--- a/src/views/report/WIPInquiryReport/index.vue
+++ b/src/views/report/WIPInquiryReport/index.vue
@@ -101,13 +101,13 @@
-
-
-
-
-
-
-
+
@@ -148,8 +148,8 @@ export default {
daterangeBeginTime: [],
// 查询参数
queryParams: {
- // pageNum: 1,
- // pageSize: 10,
+ pageNum: 1,
+ pageSize: 10,
beginBeginTime: null,
endBeginTime: null,
productLineCode: 'CX_02',
@@ -207,12 +207,12 @@ export default {
getList() {
this.loading = true
WIPInquiryReportList(this.queryParams).then(response => {
- this.reportList = response.data
+ this.reportList = response.rows
+ this.total = response.total;
this.totalSum = 0
this.reportList.forEach(e => {
this.totalSum += e.COMP_AMOUNT
})
- // this.total = response.total;
this.loading = false
})
},
diff --git a/src/views/report/boxTurnoverTraceabilityReport/index.vue b/src/views/report/boxTurnoverTraceabilityReport/index.vue
index f7380a1..212e01d 100644
--- a/src/views/report/boxTurnoverTraceabilityReport/index.vue
+++ b/src/views/report/boxTurnoverTraceabilityReport/index.vue
@@ -51,7 +51,7 @@
@keyup.enter.native="handleQuery"
/>
-
+
+
+ 打印数:{{ totalSum }}
+
+
-
+
@@ -200,6 +208,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
+ totalSum: 0,
// 报表表格数据
reportList: [],
// 弹出层标题
@@ -271,6 +280,7 @@ export default {
boxTurnoverTraceabilityReportList(this.queryParams).then(response => {
this.reportList = response.rows
this.total = response.total
+ this.totalSum = response.total
this.loading = false
})
},
diff --git a/src/views/report/productionExecutionReport/index.vue b/src/views/report/productionExecutionReport/index.vue
index 5017dbd..8e821db 100644
--- a/src/views/report/productionExecutionReport/index.vue
+++ b/src/views/report/productionExecutionReport/index.vue
@@ -113,13 +113,13 @@
-
-
-
-
-
-
-
+
@@ -162,8 +162,8 @@ export default {
daterangeBeginTime: [],
// 查询参数
queryParams: {
- // pageNum: 1,
- // pageSize: 10,
+ pageNum: 1,
+ pageSize: 10,
beginBeginTime: null,
endBeginTime: null,
productLineCode: 'CX_02',
@@ -238,12 +238,12 @@ export default {
this.queryParams.endBeginTime = null
}
productionExecutionReportList(this.queryParams).then(response => {
- this.reportList = response.data
+ this.reportList = response.rows
+ this.total = response.total
this.totalSum = 0;
this.reportList.forEach(e => {
this.totalSum += e.COMP_AMOUNT
})
- // this.total = response.total
this.loading = false
})
},
diff --git a/src/views/report/repairRateReport/index.vue b/src/views/report/repairRateReport/index.vue
index 239cc8b..d197f8c 100644
--- a/src/views/report/repairRateReport/index.vue
+++ b/src/views/report/repairRateReport/index.vue
@@ -186,6 +186,8 @@ export default {
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = weekDate
this.daterangeBeginTime[1] = nowDate
+ this.queryParams.beginBeginTime = this.daterangeBeginTime[0]
+ this.queryParams.endBeginTime = this.daterangeBeginTime[1]
// this.getList()
this.getChart()
@@ -527,7 +529,6 @@ export default {
},
/** 查询工单信息列表 */
getList() {
- this.isChart = false
this.loading = true
if (null != this.daterangeBeginTime && '' != this.daterangeBeginTime) {
this.queryParams.beginBeginTime = this.daterangeBeginTime[0]
@@ -537,7 +538,12 @@ export default {
this.queryParams.endBeginTime = null
}
if (this.queryParams.STATION_CODE.length > 0) {
+ this.isChart = false
this.queryParams.stationCodeList = this.queryParams.STATION_CODE.join(',')
+ }else {
+ this.isChart = true
+ this.reportList = [];
+ this.getChart()
}
repairRateReportList(this.queryParams).then(response => {
this.reportList = response.data
diff --git a/src/views/report/scanOfflineRecordReport/index.vue b/src/views/report/scanOfflineRecordReport/index.vue
index 4e16d77..2544ca5 100644
--- a/src/views/report/scanOfflineRecordReport/index.vue
+++ b/src/views/report/scanOfflineRecordReport/index.vue
@@ -61,6 +61,14 @@
+
+ 下线数:{{ totalSum }}
+
+
{
this.productOffLineList = response.rows;
this.total = response.total;
+ this.totalSum = response.total;
this.loading = false;
});
},