浏览代码

表格调整

qymljy 2 年之前
父节点
当前提交
2e0ef3f0dc

+ 2 - 2
src/SDrpManagement/QuotedPrice/detail/modules/productInventory/index.vue

@@ -52,7 +52,7 @@
             width="55"
             fixed>
         </el-table-column>
-        <el-table-column
+<!--        <el-table-column
             align="center"
             label="产品图"
             width="100">
@@ -61,7 +61,7 @@
               <previewImage class="image" :image="scope.row.attinfos[0]" :list="scope.row.attinfos" :deletebtn="false"></previewImage>
             </div>
           </template>
-        </el-table-column>
+        </el-table-column>-->
         <el-table-column
             prop="itemname"
             label="商品名称"

+ 2 - 1
src/components/dynamic-table/index.vue

@@ -1,7 +1,8 @@
 <template>
   <div>
     <!-- :header-cell-style="{background:'#EEEEEE',color:'#333'}" -->
-    <el-table ref="table" :row-class-name="tableClassName" highlight-current-row :data="data"  size="mini" :height="height" @row-click="rowClick" style="width:100%;min-height:300px"  border>
+    <el-table ref="table" :row-class-name="tableClassName" highlight-current-row :data="data"  size="mini"  :height="height" @row-click="rowClick" style="width:100%;min-height:910px;" :header-cell-style="{height:'50px',color:'#606266',fontWeight:'400',fontSize:'14px'}"
+              :cell-style="{height:'50px',color:'#666666',fontWeight:'400'}" border>
       <el-table-column v-for="col in layout" :key="col.tablecolid" :prop="col.columnname" :label="col.title" :width="width && col.width === 0 ? 150 : col.width" :fixed="fixedName ? fixedName.indexOf(col.columnname)!= -1?'right':false : false">
         <template slot-scope="scope">
           <div class="table-panel">