Browse Source

报表模块表格滚动条调整

marymelisa 4 years ago
parent
commit
57de0b9be1

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

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

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

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

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

@@ -1,17 +1,16 @@
 <template>
-  <!-- 库存报表(品类) -->
+  <!-- 期货报表 -->
   <div class="spot-report"
        :loading="loading">
     <Filter @update="update"></Filter>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topOrderTable hiddenFirstCol"
+               class="topTable hiddenFirstCol"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
-               :data-source="tableList"
-               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
+               :data-source="tableList">
       </a-table>
     </contextMenu>
   </div>

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

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

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

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

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

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

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

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