Browse Source

2023-4-25

codeMan 2 years ago
parent
commit
a52f366638

+ 4 - 2
src/HDrpManagement/contractManage/components/productClassList/productClassList.vue

@@ -17,8 +17,7 @@
         <slot name="addProduct"/>
 
       </div>
-      <tableLayout checkbox="true" :layout="tablecols" :data="list" :opwidth="200" :width="false"  :custom="true" height="calc(100vh - 500px)" @selectionChange="selectionChange"
-                   >
+      <tableLayout checkbox="true" :layout="tablecols" :data="list" :opwidth="200" :width="false" height="400"  :custom="true" @selectionChange="selectionChange">
         <template v-slot:customcol="scope">
           <div v-if="scope.column.columnname == 'discountrate'">
             <el-input v-model="scope.column.data.discountrate" size="mini" placeholder="请输入折扣" @change="discountrateChange(scope.column.data.discountrate,scope.column.data,scope.$index)"
@@ -221,4 +220,7 @@ export default {
 /deep/ .el-input.is-disabled .el-input__inner{
   color: #666666;
 }
+/deep/.el-table {
+  max-height: none !important;
+}
 </style>