Explorar el Código

feat: 更新序号为编号并调整合计行文本对齐

lanjianrong hace 8 horas
padre
commit
03e79cace5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/public/js/contract_detail.js

+ 2 - 2
app/public/js/contract_detail.js

@@ -2661,7 +2661,7 @@ $(document).ready(function() {
         };
         // 构建表头
         let theadHtml = '<tr>';
-        theadHtml += '<th style="width: 6%">号</th>';
+        theadHtml += '<th style="width: 6%">号</th>';
         theadHtml += '<th style="width: 24%">项目名称</th>';
         theadHtml += '<th>合同金额</th>';
         if (showSettlePrice) theadHtml += '<th>' + getColTitle('settle_price') + '</th>';
@@ -2699,7 +2699,7 @@ $(document).ready(function() {
         // 构建合计行
         let tfootHtml = '<tr class="font-weight-bold">';
         tfootHtml += '<td></td>';
-        tfootHtml += '<td class="text-left">合计</td>';
+        tfootHtml += '<td class="text-center">合计</td>';
         tfootHtml += '<td class="text-right">' + (sum_total || 0) + '</td>';
         if (showSettlePrice) tfootHtml += '<td class="text-right">' + (sum_settle || 0) + '</td>';
         if (showYfPrice) tfootHtml += '<td class="text-right">' + (sum_yf || 0) + '</td>';