From f96210b3774d895a546f4f9bb875e315911072c6 Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 20 Mar 2024 10:34:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E5=85=A5=E5=BA=93=E8=BF=94?= =?UTF-8?q?=E4=BF=AE=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/orderInfo/index.vue | 2 +- src/views/board/scanDown/index.vue | 13 +++++++------ src/views/production/planInfo/index.vue | 2 +- .../report/productTraceabilityReport/index.vue | 5 ++++- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/views/base/orderInfo/index.vue b/src/views/base/orderInfo/index.vue index 169838d..53d1492 100644 --- a/src/views/base/orderInfo/index.vue +++ b/src/views/base/orderInfo/index.vue @@ -2,7 +2,7 @@
- + 目标:{{ finalInspection.mb }}    实际:{{ finalInspection.sj - }}%    累计不良数:{{ finalInspection.bls }} + }}    累计不良数:{{ finalInspection.bls }} 合计:{{ zhddhj }}
@@ -486,7 +486,7 @@ export default { name: '目标', type: 'line', yAxisIndex: 1, - data: e.map(val => 3), + data: e.map(val => 10), itemStyle: { normal: { color: '#0DB99D', @@ -789,8 +789,8 @@ export default { f: (e) => { this.finalInspection = { mb: e?.[0]?.COLUMN_A || '', - sj: e?.[0]?.COLUMN_C || '', - bls: e?.[0]?.COLUMN_B || '', + sj: e?.[0]?.COLUMN_B || '', + bls: e?.[0]?.COLUMN_C || '', } } }, @@ -882,7 +882,8 @@ export default { itemStyle: { normal: { color: function (val) { - if (e[val.dataIndex].Y_VALUE_TWO < 3) { + console.log(e[val.dataIndex].Y_VALUE_TWO) + if (e[val.dataIndex].Y_VALUE_TWO < 10) { return '#30e391' } else { return '#FE70A6' @@ -916,7 +917,7 @@ export default { name: '目标', type: 'line', yAxisIndex: 1, - data: e.map(val => 3), + data: e.map(val => 10), itemStyle: { normal: { color: '#0DB99D', diff --git a/src/views/production/planInfo/index.vue b/src/views/production/planInfo/index.vue index 261d094..3cac80a 100644 --- a/src/views/production/planInfo/index.vue +++ b/src/views/production/planInfo/index.vue @@ -2,7 +2,7 @@
- + {