Browse Source

修改变更列表类别

laiguoran 4 years ago
parent
commit
9502094e94
1 changed files with 6 additions and 6 deletions
  1. 6 6
      app/view/change/index.ejs

+ 6 - 6
app/view/change/index.ejs

@@ -70,21 +70,21 @@
                     <thead>
                     <tr>
                         <th width="20%" id="sort_change">申请编号/变更令号</th><th width="30%">工程名称</th>
-                        <th width="10%">变更类别</th><th width="10%">变更金额</th>
+                        <th width="10%">变更性质</th><th width="10%">变更金额</th>
                         <th width="10%">审批状态</th><th width="15%">审批进度</th><th></th>
                     </tr>
                     </thead>
                     <tbody id="changeList">
-                    <% const classArray = []; %>
-                    <% for (const t in changeConst.class) { %>
-                    <% const cClass = changeConst.class[t] %>
-                    <% classArray[cClass.value] = cClass.name %>
+                    <% const qualityArray = []; %>
+                    <% for (const t in changeConst.quality) { %>
+                    <% const cQuality = changeConst.quality[t] %>
+                    <% qualityArray[cQuality.value] = cQuality.name %>
                     <% } %>
                     <% for (const c of changes) { %>
                     <tr>
                         <td><a href="/tender/<%- tender.id %>/change/<%- c.cid %>/information"><% if (c.status !== auditConst.status.checked) { %><%- c.code %><% } else { %><%- c.p_code %><% } %></a></td>
                         <td><%- c.name %></td>
-                        <td><%- classArray[c.class] %><% c.class %></td>
+                        <td><%- qualityArray[c.quality] %><% c.quality %></td>
                         <td style="text-align: right"><%= ctx.helper.roundNum(c.total_price, tpUnit) %></td>
                         <% if (c.status === auditConst.status.uncheck && ctx.tender.isTourist) { %>
                             <td>