<% const changeType = change.type !== null && change.type !== '' ? change.type.split(',') : '' %> <% for (const t in changeConst.type) { %> <% const cType = changeConst.type[t] %> <% } %>
<% for (const c in changeConst.charge) { %> <% const cCharge = changeConst.charge[c] %> <% } %>
审批金额:<%- ctx.helper.roundNum(change.total_price, ctx.tender.info.decimal.tp) %> 元
    <% let isfinal = false; %> <% change.auditHistory[change.auditHistory.length - 1].forEach((group, index) => { %>
  • <% if (group.audit_order === 0) { %> <% if (group.auditors[0].status === auditConst.status.checking) { %> 待上报 <% } else if (group.auditors[0].status === auditConst.status.checked) { %> <%- group.end_time ? moment(group.end_time).format('YYYY/MM/DD') : '' %> 上报 <% } else { %> <%- group.end_time ? moment(group.end_time).format('YYYY/MM/DD') : '' %> <%- auditConst.statusString[group.auditors[0].status] %> <% } %>
    <%- group.auditors[0].name %> <% if (group.auditors[0].role !== '' || group.auditors[0].role !== null) { %><%- group.auditors[0].role %><% } %>
    <% } else { %> <% for (const [i, audit] of group.auditors.entries()) { %> <% if (audit.status === auditConst.status.checking) { %> 审批中
    <% if (group.audit_type !== auditType.key.common) { %> <%- auditType.info[group.audit_type].short %><% } %> <%- audit.name %> <% if (audit.role !== '' || audit.role !== null) { %><%- audit.role %><% } %>
    <% if (audit.uid === ctx.session.sessionUser.accountId) { %> <% isfinal = group.is_final %>
    <% } %> <% } else if(audit.status === auditConst.status.uncheck) { %>
    <% if (group.audit_type !== auditType.key.common) { %> <%- auditType.info[group.audit_type].short %><% } %> <%- audit.name %> <% if (audit.role !== '' || audit.role !== null) { %><%- audit.role %><% } %>
    <% } else { %> <%- audit.end_time ? moment(audit.end_time).format('YYYY/MM/DD') : '' %> <%- auditConst.statusString[audit.status] %>
    <% if (group.audit_type !== auditType.key.common) { %> <%- auditType.info[group.audit_type].short %><% } %> <%- audit.name %> <% if (audit.role !== '' || audit.role !== null) { %><%- audit.role %><% } %>

    <%- audit.sdesc %>

    <% } %> <% } %> <% } %>
  • <% }) %>
<% if (change.shenpiPower) { %> <% } %>