Răsfoiți Sursa

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

zhonghuizhen 6 luni în urmă
părinte
comite
fec7c0c745

+ 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 {