codeMan 2 yıl önce
ebeveyn
işleme
8f47974f3b

+ 8 - 2
src/HDrpManagement/projectData/components/pageTable.vue

@@ -1,7 +1,7 @@
 
 <template>
-  <div style="width:100%">
-    <div>
+  <div style="width:100%;height:100%">
+    <div class="tablebox">
       <tableLayout height="356px" :layout="tablecols" v-bind="$attrs" :data="list2" :opwidth="200"  :custom="true" :width="false" fixedName="operation" :customHeader="true">
         <template v-slot:header="data">
           <div v-if="data.data.label == '综合折扣'" style="display:flex;align-items:center">
@@ -85,6 +85,12 @@ export default {
 
 </script>
 <style scoped>
+.tablebox {
+  height: calc(100% - 44px);
+}
+.tablebox > div {
+  height: 100%;
+}
 /deep/.el-table {
   min-height: 100% !important;
   max-height: 100% !important;