This commit is contained in:
2025-06-26 12:37:14 +08:00
parent 52b13b73e0
commit c4f28853dd
2 changed files with 10 additions and 3 deletions

View File

@@ -121,9 +121,13 @@
<tbody style="text-align: center;">
<!-- 动态行渲染+异常值红色高亮 -->
<tr th:each="item : ${items}"
th:style="${item.oaflag=='1'} ? '' : 'background-color: #f9f9f9;color:red;'">
th:style="${item.oaflag} ? '' : 'background-color: #f9f9f9;color: red;'">
<td style="padding: 8px 5px;" th:text="${item.loitemCname}"></td>
<td style="padding: 8px 5px;" th:text="${item.orderRptResult}"></td>
<td style="padding: 8px 5px;">
<span th:text="${item.orderRptResult}"></span>
<span th:if="${item.oaflagLow}"></span>
<span th:if="${item.oaflagHigh}"></span>
</td>
<td style="padding: 8px 5px;" th:text="${item.loitemUnit}"></td>
<td style="padding: 8px 5px;" th:text="${item.loitemRv}"></td>
<td style="padding: 8px 5px;" th:text="${item.inspectionMethod}"></td>