Commit 9c8d8296 authored by 朱彩云's avatar 朱彩云

回销管理表格滚动问题修复

parent f65a8f7a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
allow-clear allow-clear
show-search show-search
:disabled="!isEdit" :disabled="!isEdit"
style="min-width: 200px; max-width: 250px" style="width: 200px"
@change="changePayor" @change="changePayor"
:filterOption="filterCode" :filterOption="filterCode"
> >
...@@ -133,8 +133,9 @@ ...@@ -133,8 +133,9 @@
placeholder="请选择保险公司" placeholder="请选择保险公司"
allow-clear allow-clear
show-search show-search
:dropdownMatchSelectWidth="false"
:disabled="!isEdit" :disabled="!isEdit"
style="min-width: 200px" style="width: 200px"
@change="changePayor" @change="changePayor"
:filterOption="filterCode" :filterOption="filterCode"
> >
...@@ -807,8 +808,8 @@ export default { ...@@ -807,8 +808,8 @@ export default {
const paddingT = parseFloat(style.getPropertyValue('padding-top')) const paddingT = parseFloat(style.getPropertyValue('padding-top'))
const paddingB = parseFloat(style.getPropertyValue('padding-bottom')) const paddingB = parseFloat(style.getPropertyValue('padding-bottom'))
const paddingSum = paddingT + paddingB const paddingSum = paddingT + paddingB
this.tableHeight = containterH - 300 - gobackH - paddingSum this.tableHeight = containterH - 380 - gobackH - paddingSum
this.tableHeight1 = containterH - 340 - gobackH - paddingSum this.tableHeight1 = containterH - 420 - gobackH - paddingSum
// 设置每页展示条数 // 设置每页展示条数
const pageSize = Math.floor((this.tableHeight1 - 10) / 32) const pageSize = Math.floor((this.tableHeight1 - 10) / 32)
this.$set(this.pagination, 'pageSize', pageSize) this.$set(this.pagination, 'pageSize', pageSize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment