Bladeren bron

零部件DVP DVP计划列表/编辑页面增加y轴滚动条

xuhaowei 7 maanden geleden
bovenliggende
commit
b30d9bfa8c
2 gewijzigde bestanden met toevoegingen van 12 en 2 verwijderingen
  1. 6 1
      src/views/componentsDVP/dvpPlan/edit.vue
  2. 6 1
      src/views/componentsDVP/dvpPlan/index.vue

+ 6 - 1
src/views/componentsDVP/dvpPlan/edit.vue

@@ -31,7 +31,7 @@
           </a-row>
         </a-form>
       </a-card>
-      <a-card class="layout-card" :style="{ height: tableHeight }">
+      <a-card class="layout-card cardOverFlow" :style="{ height: tableHeight }">
         <a-form layout='vertical'>
           <a-row :gutter="24">
             <!--试验类型-->
@@ -1285,6 +1285,11 @@ export default {
   padding: 12px;
 }
 
+.cardOverFlow {
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+
 .table-mr {
   margin-top: 12px;
 }

+ 6 - 1
src/views/componentsDVP/dvpPlan/index.vue

@@ -83,7 +83,7 @@
           </a-row>
         </a-form>
       </a-card>
-      <a-card class="layout-card" :style="{ height: tableHeight }">
+      <a-card class="layout-card cardOverFlow" :style="{ height: tableHeight }">
         <a-form-item class='tr' >
           <!-- 上传材料清单 -->
           <a-button @click='uploadMaterialList' :disabled="isLook" type="primary" class="mr10">
@@ -937,6 +937,11 @@ export default {
   padding: 12px;
 }
 
+.cardOverFlow {
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+
 .table-mr {
   margin-top: 12px;
 }