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' }"> - - + + + + +