From 907d0ba6b7442ef9f4fb976633d0b51d36ea6570 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期二, 15 七月 2025 11:49:19 +0800 Subject: [PATCH] 数据报表页面数据列设置固定宽度 --- src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue b/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue index 74d2f8a..c775e87 100644 --- a/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue +++ b/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue @@ -171,22 +171,28 @@ <td colspan="6" class="tdgu kaitou">{{item.level1}}</td> </template> <template v-for="(tableHead, index) in item.dataList"> - <td :style="{background:tableHead.color,minWidth:'100px' }" v-if="checkedList.indexOf('lyl') > -1"> + <td :style="{background:tableHead.color,minWidth:'100px',width:'100px' }" + v-if="checkedList.indexOf('lyl') > -1"> {{tableHead.startRate | numFilter}} </td> - <td :style="{background:tableHead.color,minWidth:'100px' }" v-if="checkedList.indexOf('kjl') > -1"> + <td :style="{background:tableHead.color,minWidth:'100px',width:'100px' }" + v-if="checkedList.indexOf('kjl') > -1"> {{tableHead.openRate | numFilter}} </td> - <td :style="{background:tableHead.color,minWidth:'110px' }" v-if="checkedList.indexOf('kjsj') > -1"> + <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" + v-if="checkedList.indexOf('kjsj') > -1"> {{tableHead.openLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color ,minWidth:'110px'}" v-if="checkedList.indexOf('jgsj') > -1"> + <td :style="{background:tableHead.color ,minWidth:'110px',width:'110px'}" + v-if="checkedList.indexOf('jgsj') > -1"> {{tableHead.processLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color,minWidth:'110px' }" v-if="checkedList.indexOf('djsj') > -1"> + <td :style="{background:tableHead.color,minWidth:'110px' ,width:'110px'}" + v-if="checkedList.indexOf('djsj') > -1"> {{tableHead.waitLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color,minWidth:'110px' }" v-if="checkedList.indexOf('gjsj') > -1"> + <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" + v-if="checkedList.indexOf('gjsj') > -1"> {{tableHead.closeLong | getFormattedTime}} </td> </template> -- Gitblit v1.9.3