Browse Source

系统DVP 整改记录表格显示 滚动条调整

zhangzheng 7 months ago
parent
commit
1d39b3fb96
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/systemDVP/verify/dvpVerify.vue

+ 2 - 1
src/views/systemDVP/verify/dvpVerify.vue

@@ -262,7 +262,7 @@
             :loading="tableLoading"
             :loading="tableLoading"
             size="small"
             size="small"
             bordered
             bordered
-            :scroll="{ x: editTableWidth, y: tableHeightValue }"
+            :scroll="{ x: editTableWidth, y: editTableHeightValue }"
             :components='components'
             :components='components'
           >
           >
             <!-- 整改后试验结果 -->
             <!-- 整改后试验结果 -->
@@ -675,6 +675,7 @@ export default {
       /** 高度计算 */
       /** 高度计算 */
       tableHeight: window.innerHeight - 350 + 'px',
       tableHeight: window.innerHeight - 350 + 'px',
       tableHeightValue: window.innerHeight - 350,
       tableHeightValue: window.innerHeight - 350,
+      editTableHeightValue: window.innerHeight - 900,
       // 表格总宽度
       // 表格总宽度
       tableWidth: 0,
       tableWidth: 0,
       editTableWidth: 0,
       editTableWidth: 0,