From 8d6c1c945cdd6357f7a475f916f85da866374983 Mon Sep 17 00:00:00 2001
From: hanbo <2608504783@qq.com>
Date: Fri, 6 May 2022 10:56:09 +0800
Subject: [PATCH] =?UTF-8?q?=E6=98=93=E7=94=A8=E6=80=A7=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/main/resources/templates/admin/project_approve.ftl   | 7 ++++++-
 .../resources/templates/admin/project_budget_edit.ftl    | 9 ++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/admin/project_approve.ftl b/src/main/resources/templates/admin/project_approve.ftl
index bc79d6b..fedf9c2 100644
--- a/src/main/resources/templates/admin/project_approve.ftl
+++ b/src/main/resources/templates/admin/project_approve.ftl
@@ -94,6 +94,11 @@
             overflow-x: hidden;
             overflow-y:hidden;
         }
+        .huanhang{
+        // 表格自动换行
+        table-layout:fixed;
+            word-break:break-all
+        }
 
     </style>
 
@@ -373,7 +378,7 @@
                                 <tr>
                                     <td>成本</td>
                                     <td>其他</td>
-                                    <td>${project.otherName!}</td>
+                                    <td style="width: 300px" class="huanhang">${project.otherName!}</td>
                                     <td><input type="text" class="number" name="costOtherOtherTaxInclude" value="${Utils.format(estimateBean.costOtherOtherTaxInclude, '0.00')}" required readonly></td>
                                     <td><input type="text" class="number" name="costOtherOtherTaxExclude" value="${Utils.format(estimateBean.costOtherOtherTaxExclude, '0.00')}" required readonly></td>
                                 </tr>
diff --git a/src/main/resources/templates/admin/project_budget_edit.ftl b/src/main/resources/templates/admin/project_budget_edit.ftl
index 0a5372f..b5df41e 100644
--- a/src/main/resources/templates/admin/project_budget_edit.ftl
+++ b/src/main/resources/templates/admin/project_budget_edit.ftl
@@ -24,6 +24,13 @@
     .am-btn-danger {
         color: #f00;
     }
+
+    .huanhang{
+    // 表格自动换行
+    table-layout:fixed;
+        word-break:break-all
+    }
+
 </style>
 
 <div class="admin-content">
@@ -303,7 +310,7 @@
                     <tr>
                         <td>成本</td>
                         <td>其他</td>
-                        <td>${project.otherName!}</td>
+                        <td style="width: 300px" class="huanhang">${project.otherName!}</td>
                         <td><input type="text" class="number" name="costOtherOtherTaxInclude1" value="${Utils.format(estimateBean.costOtherOtherTaxInclude)}" readonly></td>
                         <td><input type="text" class="number" name="costOtherOtherTaxExclude1" value="${Utils.format(estimateBean.costOtherOtherTaxExclude)}" readonly></td>
                     </tr>