正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -213,11 +213,11 @@ class AdminEquipmentController extends AdminBaseController{ | @@ -213,11 +213,11 @@ class AdminEquipmentController extends AdminBaseController{ | ||
213 | $objActSheet->setCellValue('F1', '备注'); | 213 | $objActSheet->setCellValue('F1', '备注'); |
214 | // 设置个表格宽度 | 214 | // 设置个表格宽度 |
215 | $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(16); | 215 | $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(16); |
216 | - $objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(80); | 216 | + $objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(30); |
217 | $objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15); | 217 | $objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15); |
218 | $objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(20); | 218 | $objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(20); |
219 | - $objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(12); | ||
220 | - $objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(12); | 219 | + $objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(30); |
220 | + $objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(40); | ||
221 | 221 | ||
222 | // 垂直居中 | 222 | // 垂直居中 |
223 | $objPHPExcel->getActiveSheet()->getStyle('A')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); | 223 | $objPHPExcel->getActiveSheet()->getStyle('A')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); |
-
请 注册 或 登录 后发表评论