|
@@ -60,10 +60,10 @@
|
|
|
<tr>
|
|
|
<td><a href="/tender/<%- ctx.tender.id %>/advance/<%- item.id %>/detail" data-id="<%- item.id %>">第<%- item.order %>期</a></td>
|
|
|
<% if (item.status === auditConst.status.uncheck || item.status === auditConst.status.checkNo) { %>
|
|
|
- <td><%- item.pay_ratio %>%</td>
|
|
|
- <td class="text-right"><%- ctx.helper.mul(advancePayTotal, ctx.helper.div(item.pay_ratio, 100, decimal), decimal)%></td>
|
|
|
+ <td><%- item.pay_ratio || 0%>%</td>
|
|
|
+ <td class="text-right"><%- ctx.helper.mul(advancePayTotal, ctx.helper.div(item.pay_ratio, 100, decimal), decimal) %></td>
|
|
|
<% } else {%>
|
|
|
- <td><%- item.cur_amount && ctx.helper.mul(ctx.helper.div(item.cur_amount, advancePayTotal), 100).toFixed(2) || 0%>%</td>
|
|
|
+ <td><%- item.cur_amount && ctx.helper.mul(ctx.helper.div(item.cur_amount, advancePayTotal), 100).toFixed(2) || 0 %>%</td>
|
|
|
<td class="text-right"><%- ctx.helper.formatMoney(item.cur_amount, ',', decimal)%></td>
|
|
|
<% } %>
|
|
|
<td class="text-right"><%- ctx.helper.formatMoney(item.prev_amount, ',', decimal)%></td>
|