From b81c95f7963943fd973633e46e259c1d640b4453 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Fri, 26 Apr 2024 16:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E7=A1=AE=E8=AE=A4,=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/glass/inputTable.vue | 34 +++++++++---------- src/views/report/ingredientReport/day.vue | 15 ++++---- .../report/productionWeekReport/index.vue | 14 +++++--- .../report/qcReport/cutDayReport/index.vue | 14 ++++---- .../report/qcReport/fullInspection/index.vue | 13 +++---- src/views/report/qcReport/lineReport.vue | 11 +++--- src/views/report/qcReport/optimizeCutData.vue | 9 +++-- 7 files changed, 57 insertions(+), 53 deletions(-) diff --git a/src/views/report/glass/inputTable.vue b/src/views/report/glass/inputTable.vue index 0ad19b0f..d1cc1486 100644 --- a/src/views/report/glass/inputTable.vue +++ b/src/views/report/glass/inputTable.vue @@ -1,7 +1,7 @@ @@ -38,15 +38,15 @@ import { updateGlass, updateGlassRemark } from '@/api/report/glass'; const cols = [ + { + prop: 'lineName', + label: '生产线', + }, { prop: 'xc', label: '许昌安彩周原片生产汇总', - align: 'center', + // align: '200px', children: [ - { - prop: 'lineName', - label: '生产线', - }, { prop: 'm', label: '拉引量㎡', @@ -181,9 +181,9 @@ const cols = [ deep: true, handler(newv, oldv) { if (newv[0] !== '' && newv[0] !== undefined) { - this.cols[0].label = this.date + '(' + newv[0] + '-' + newv[1] + ')' + this.cols[1].label = this.date + '(' + newv[0] + '-' + newv[1] + ')' } else { - this.cols[0].label = this.date + this.cols[1].label = this.date } } }, @@ -208,15 +208,15 @@ const cols = [ text2 = '上年' text3 = '原片合计(片/年)' } - this.cols[0].children[1].children[0].label = text1 - this.cols[0].children[1].children[1].label = text2 - this.cols[0].children[2].children[0].label = text1 - this.cols[0].children[2].children[1].label = text2 - this.cols[0].children[3].children[0].label = text1 - this.cols[0].children[3].children[1].label = text2 - this.cols[0].children[4].children[0].label = text1 - this.cols[0].children[4].children[1].label = text2 - this.cols[0].children[2].label = text3 + this.cols[1].children[0].children[0].label = text1 + this.cols[1].children[0].children[1].label = text2 + this.cols[1].children[1].children[0].label = text1 + this.cols[1].children[1].children[1].label = text2 + this.cols[1].children[2].children[0].label = text1 + this.cols[1].children[2].children[1].label = text2 + this.cols[1].children[3].children[0].label = text1 + this.cols[1].children[3].children[1].label = text2 + this.cols[1].children[1].label = text3 } } }, diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue index 64d37df4..e9455e24 100644 --- a/src/views/report/ingredientReport/day.vue +++ b/src/views/report/ingredientReport/day.vue @@ -23,7 +23,7 @@ }" class="baseTable" :span-method="objectSpanMethod" :data="tableData" style="width: 100%"> - + @@ -32,8 +32,7 @@ --> - + @@ -32,13 +32,19 @@ background: '#F2F4F9', color: '#606266' }"> - - + + + + +