Explorar el Código

修复导出pdf时基本信息换行显示

zhonghuizhen hace 6 meses
padre
commit
fec7c0c745
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/views/business/performance/components/basic-info.vue

+ 4 - 0
src/views/business/performance/components/basic-info.vue

@@ -364,12 +364,16 @@ export default {
         }
         ::v-deep {
           .el-form-item {
+            display: flex;
+            align-items: center;
             margin-bottom: 0 !important;
             .el-form-item__label {
+              flex: 0 0 120px; // Adjust label width as needed
               font-size: 14px !important;
               color: #606266;
             }
             .el-form-item__content {
+              flex: 1;
               .el-input,
               .el-select,
               .el-input-number {