From 945b6b7ba026661ab008061f37be1c3a3c7b140f Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Tue, 29 Oct 2019 16:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=B7=A5=E6=97=B6=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ActualWorkQuery/index.vue | 60 ++++++------------- .../ManHourStatistics/index.vue | 2 +- 2 files changed, 20 insertions(+), 42 deletions(-) diff --git a/src/views/ManufacturingCenter/ActualWorkQuery/index.vue b/src/views/ManufacturingCenter/ActualWorkQuery/index.vue index 27a87767..1d13d56f 100644 --- a/src/views/ManufacturingCenter/ActualWorkQuery/index.vue +++ b/src/views/ManufacturingCenter/ActualWorkQuery/index.vue @@ -19,9 +19,14 @@ - + - + + + + @@ -41,9 +46,14 @@ {{ scope.row.工艺名称 }} - + + + + @@ -56,37 +66,6 @@ {{ scope.row.加工完成时间1 }} - - - - - - - - - - - - - - -
{ + res.data.rows.map(v => { + v.实际加工时间段 = parseFloat(v.实际加工时间段).toFixed(2) + }) this.tableData = res.data.rows this.total = res.data.total - this.tableData.map(v => { - this.$set(v, 'isEditing', false) - v.原修补工时 = v.修补工时 - return v - }) this.loading = false }) }, diff --git a/src/views/ManufacturingCenter/ManHourStatistics/index.vue b/src/views/ManufacturingCenter/ManHourStatistics/index.vue index 0f39d45d..e021abbc 100644 --- a/src/views/ManufacturingCenter/ManHourStatistics/index.vue +++ b/src/views/ManufacturingCenter/ManHourStatistics/index.vue @@ -22,7 +22,7 @@ - +