Kaynağa Gözat

敞口报表

huangbin 4 yıl önce
ebeveyn
işleme
e36b37d10c

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

@@ -16,13 +16,19 @@
     <Description v-if="visible"
                  @close="closeDrawer"
                  @changeTab="changeTab"
-                 :columns="columnsDetail"
-                 :tabList="tabList"
-                 :tableList="detailTableList">
-      <!-- 合同类型 -->
-      <template #contracttype="{ record }">
-        <a>{{ getContractTypeName(record.contracttype) }}</a>
-      </template>
+                 :tabList="tabList">
+      <a-table :columns="columnsDetail"
+               class="topTable"
+               :pagination="false"
+               rowKey="key"
+               :data-source="detailTableList"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
+        <!-- 合同类型 -->
+        <template #contracttype="{ record }">
+          <a>{{ getContractTypeName(record.contracttype) }}</a>
+        </template>
+      </a-table>
+
     </Description>
   </div>
 </template>