<% for (const ah of auditHistory) { %>
<% for (let iA = 0; iA < ah.length; iA++) { %>
<% if (iA === 0) { %>
-
<% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报
<%- user.name %> <%- user.role %>
<%- ah[iA].begin_time.toLocaleDateString() %>
-
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- ah[iA].name %> <%- ah[iA].role %>
<% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else if (iA === ah.length - 1) { %>
-
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- ah[iA].name %> <%- ah[iA].role %>
<% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else { %>
-
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- ah[iA].name %> <%- ah[iA].role %>
<% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %>
<% } %>
<% } %>
<% } %>
<% } %>
<% if (tender.ledger_status === auditConst.status.checking || tender.ledger_status === auditConst.status.checked) {%>
<% for (let iA = 0; iA < auditors.length; iA++) { %>
<% if (iA === 0) { %>
-
<% if (tender.ledger_times > 1) { %>重新<% } %>上报
<%- user.name %> <%- user.role %>
<%- auditors[iA].begin_time.toLocaleDateString() %>
-
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- auditors[iA].name %> <%- auditors[iA].role %>
<% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else if (iA === auditors.length - 1) { %>
-
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- auditors[iA].name %> <%- auditors[iA].role %>
<% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else { %>
-
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
<%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- auditors[iA].name %> <%- auditors[iA].role %>
<% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
<%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %>
<% } %>
<% } %>
<% } %>
<% } %>