liuhairui 1 год назад
Родитель
Сommit
d6970de736
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      src/view/performance/chejianbaogong.vue

+ 6 - 1
src/view/performance/chejianbaogong.vue

@@ -1744,10 +1744,14 @@
 				    <el-table
 				       :data="JPtableData"
 				       ref="table"
+					   :row-style="{ height: '50px' }"
+					   :cell-style="{ padding: '0px' }"
+					   :header-row-style="{ height: '0px' }"
+					   :header-cell-style="{ padding: '0px' }"
 				       @row-dblclick="JPhandleRowClick"
 				       highlight-current-row>
 				       <el-table-column prop="name" label="名称" width="150"></el-table-column>
-				       <el-table-column prop="type" label="类别" width="100"></el-table-column>
+				       <el-table-column prop="type" label="类别"></el-table-column>
 				     </el-table>
 			</el-dialog>
 			
@@ -3832,6 +3836,7 @@ const JPblplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
 }
 
 const JPtableData = ref([
+	{ name: '', type: '' },
 	{ name: '废品版', type: '废品版' },
 	{ name: '正品版', type: '正品版' },
 	{ name: '次品版', type: '次品版' },