Browse Source

报表模块加滚动条

marymelisa 4 years ago
parent
commit
3089881244

+ 1 - 1
src/views/report/exposure-report/list/exposure_report/index.vue

@@ -5,7 +5,7 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"

+ 1 - 1
src/views/report/finance-report/list/finance_report_finance/index.vue

@@ -5,7 +5,7 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"

+ 3 - 2
src/views/report/future_report/list/future_report/index.vue

@@ -5,12 +5,13 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList">
+               :data-source="tableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
     </contextMenu>
   </div>

+ 3 - 2
src/views/report/inventory-report/list/category/index.vue

@@ -5,12 +5,13 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList">
+               :data-source="tableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
     </contextMenu>
   </div>

+ 3 - 2
src/views/report/inventory-report/list/warehouse/index.vue

@@ -5,12 +5,13 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList">
+               :data-source="tableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
     </contextMenu>
   </div>

+ 3 - 2
src/views/report/spot-report/list/spot_report/index.vue

@@ -5,12 +5,13 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList">
+               :data-source="tableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
     </contextMenu>
   </div>

+ 3 - 2
src/views/report/sum_pl_report/list/sum_pl_report/index.vue

@@ -5,12 +5,13 @@
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable hiddenFirstCol"
+               class="topOrderTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList">
+               :data-source="tableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
     </contextMenu>
   </div>