lilei 2 gadi atpakaļ
vecāks
revīzija
a88715b858

+ 3 - 3
src/views/financialManagement/financialCollection/detail.vue

@@ -53,9 +53,9 @@
           :showPagination="false"
           bordered>
           <template slot="expandedRowRender" slot-scope="record">
-            <div style="display:flex;justify-content: space-around;padding:10px;" v-if="record.detailItemUseList.length || record.detailItemPayList.length">
+            <div style="padding:10px;overflow: hidden;" v-if="record.detailItemUseList.length || record.detailItemPayList.length">
               <a-table
-                style="width:45%;background:#fff;"
+                style="width:45%;background:#fff;float:left;border-bottom: 1px solid #eee;"
                 :bordered="false"
                 :pagination="false"
                 :columns="useCol"
@@ -63,7 +63,7 @@
               </a-table>
               <a-table
                 :bordered="false"
-                style="width:45%;background:#fff;"
+                style="width:45%;background:#fff;float:left;border-bottom: 1px solid #eee;margin-left:2%;"
                 :pagination="false"
                 :columns="payCol"
                 :data-source="record.detailItemPayList">

+ 3 - 3
src/views/financialManagement/financialCollection/edit.vue

@@ -59,9 +59,9 @@
           :showPagination="false"
           bordered>
           <template slot="expandedRowRender" slot-scope="record">
-            <div style="display:flex;justify-content: space-around;padding:10px;" v-if="record.detailItemUseList.length || record.detailItemPayList.length">
+            <div style="padding:10px;overflow: hidden;" v-if="record.detailItemUseList.length || record.detailItemPayList.length">
               <a-table
-                style="width:45%;background:#fff;"
+                style="width:45%;background:#fff;float:left;border-bottom: 1px solid #eee;"
                 :bordered="false"
                 :pagination="false"
                 :columns="useCol"
@@ -69,7 +69,7 @@
               </a-table>
               <a-table
                 :bordered="false"
-                style="width:45%;background:#fff;"
+                style="width:45%;background:#fff;float:left;border-bottom: 1px solid #eee;margin-left:2%;"
                 :pagination="false"
                 :columns="payCol"
                 :data-source="record.detailItemPayList">