<% if (ctx.subProject.page_show.openChangeProject) { %>
<% for (const c of changeProjects) { %>
<%- c.code %>

工程名称

<%- c.name %>

变更性质

<%- c.quality %>

增减金额

<%- c.crease_price %>
<% if (c.showApprovalBtn){ %> 审批变更 <% } else if (c.status === auditChangeProjectConst.status.uncheck) { %> 待上报 <% } else { %> <% if (c.curAuditors.length > 0) { %> <% if (c.curAuditors[0].audit_type === auditType.key.common) { %> <%- c.curAuditors[0].name %>-<%- c.curAuditors[0].role %> <%- auditChangeProjectConst.statusString[c.status] %> <% } else { %> <%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %> <%- auditChangeProjectConst.statusString[c.status] %> <% } %> <% } %> <% } %>
<% } %>
<% } %> <% if (ctx.subProject.page_show.openChangeApply) { %>
<% for (const c of changeApplys) { %>
<%- c.code %>

工程名称

<%- c.name %>

变更性质

<%- c.quality %>

增减金额

<%- c.crease_price %>
<% if (c.showApprovalBtn){ %> 审批变更 <% } else if (c.status === auditChangeApplyConst.status.uncheck) { %> 待上报 <% } else { %> <% if (c.curAuditors.length > 0) { %> <% if (c.curAuditors[0].audit_type === auditType.key.common) { %> <%- c.curAuditors[0].name %>-<%- c.curAuditors[0].role %> <%- auditChangeApplyConst.statusString[c.status] %> <% } else { %> <%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %> <%- auditChangeApplyConst.statusString[c.status] %> <% } %> <% } %> <% } %>
<% } %>
<% } %> <% if (ctx.subProject.page_show.openChangePlan) { %>
<% for (const c of changePlans) { %>
<%- c.code %>

工程名称

<%- c.name %>

变更性质

<%- c.quality %>

变更金额

<%- ctx.helper.roundNum(c.total_price, tpUnit) %>
<% if (c.showApprovalBtn){ %> 审批变更 <% } else if (c.status === auditChangePlanConst.status.uncheck) { %> 待上报 <% } else { %> <% if (c.curAuditors.length > 0) { %> <% if (c.curAuditors[0].audit_type === auditType.key.common) { %> <%- c.curAuditors[0].name %>-<%- c.curAuditors[0].role %> <%- auditChangePlanConst.statusString[c.status] %> <% } else { %> <%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %> <%- auditChangePlanConst.statusString[c.status] %> <% } %> <% } %> <% } %>
<% } %>
<% } %>
<% for (const c of changes) { %>
<% if (c.status !== auditChangeConst.status.checked) { %><%- c.code %><% } else { %><%- c.p_code %><% } %>

工程名称

<%- c.name %>

变更性质

<% for (const q in changeConst.quality) { %> <% const cQuality = changeConst.quality[q] %><% if (cQuality.value === c.quality) { %><%- cQuality.name %><% } %><% } %>

变更金额

<%- ctx.helper.roundNum(c.total_price, tpUnit) %>
<% if (c.showApprovalBtn){ %> 审批变更 <% } else if (c.status === auditChangeConst.status.uncheck) { %> 待上报 <% } else { %> <% if (c.curAuditors.length > 0) { %> <% if (c.curAuditors[0].audit_type === auditType.key.common) { %> <%- c.curAuditors[0].name %>-<%- c.curAuditors[0].role %> <%- auditChangeConst.statusString[c.status] %> <% } else { %> <%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %> <%- auditChangeConst.statusString[c.status] %> <% } %> <% } %> <% } %>
<% } %>