<% if (auditStatus === 1) { %> 上报审批 <% } else if (auditStatus === 2) { %> 重新上报 <% } else if (auditStatus === 3) { %> 审批退回 <% } else if (auditStatus === 4) { %> 审批完成 <% } else if (auditStatus === 5) { %> 审批终止 <% } else if (auditStatus === 6) { %> 审批通过 审批退回 <% } else if (auditStatus === 7) { %> 审批中 <% } %> <% if (auditStatus === 4 && ctx.session.sessionUser.accountId === auditList[auditList.length-1].uid) { %> <% if (stageChangeNum === 0) { %> 重新审批 <% } else { %> <% } %> <% } %>

<% if(auditStatus === auditConst.status.uncheck || auditStatus === auditConst.status.back) { %> <% } else { %> 变更信息 <% } %>

<% if (auditStatus === 1 || auditStatus === 2) { %> <% } %>
<% if (auditStatus === 1 || auditStatus === 2) { %>
<% 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] %> <% } %>
<% } else { %>
<% if (auditStatus === 4) { %>
<% } %>
<% 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] %> <% } %>
readonly<% } %>>
<% } %>
<% if (auditStatus === 1 || auditStatus === 2) { %> <% let windex = 0; %> <% for (const [index,cl] of changeList.entries()) { %> <% if (cl.lid !== '0') { %> <% } else { %> <% windex++ %> <% } %> <% } %>
清单编号 名称 变更部位 变更详情 单位 单价 原设计 申报变更增(+)减(-) 操作
数量 金额 数量 金额
<%= cl.code %> <%= cl.name %> <%= cl.bwmx %> <%= cl.unit %> <%= ctx.helper.roundNum(cl.unit_price, upUnit) %> <%= ctx.helper.roundNum(cl.oamount, ctx.helper.findDecimal(cl.unit)) %> <%= ctx.helper.mul(cl.unit_price, cl.oamount, tpUnit) %> <%= ctx.helper.mul(cl.unit_price, cl.camount, tpUnit) %> 移除
<%= ctx.helper.mul(cl.unit_price, cl.oamount, tpUnit) %> <%= ctx.helper.mul(cl.unit_price, cl.camount, tpUnit) %> 移除
合计 <%= ctx.helper.roundNum(ototalCost, tpUnit) %> <%= ctx.helper.roundNum(ctotalCost, tpUnit) %>
<% } else if (auditStatus === 3 || auditStatus === 4 || auditStatus === 5 || auditStatus === 7) { %> <% for (const cl of changeList) { %> <% } %>
清单编号 名称 变更部位 变更详情 单位 单价 原设计 申报变更增(+)减(-) 审批后变更
数量 金额 数量 金额 数量 金额
<%= cl.code %> <%= cl.name %> <%= cl.bwmx %> <%= cl.detail %> <%= cl.unit %> <%= ctx.helper.roundNum(cl.unit_price, upUnit) %> <%= ctx.helper.roundNum(cl.oamount, ctx.helper.findDecimal(cl.unit)) %> <%= ctx.helper.mul(cl.unit_price, cl.oamount, tpUnit) %> <%= ctx.helper.roundNum(cl.camount, ctx.helper.findDecimal(cl.unit)) %> <%= ctx.helper.mul(cl.unit_price, cl.camount, tpUnit) %> <%= cl.samount !== '' ? ctx.helper.roundNum(cl.samount, ctx.helper.findDecimal(cl.unit)) : '' %> <%= cl.samount !== '' ? ctx.helper.mul(cl.unit_price, cl.samount, tpUnit) : '' %>
合计 <%= ctx.helper.roundNum(ototalCost, tpUnit) %> <%= ctx.helper.roundNum(ctotalCost, tpUnit) %> <%= stotalCost !== 0 ? ctx.helper.roundNum(stotalCost, tpUnit) : '' %>
<% for (const audit of auditList2) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% for (const audit of auditList2) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% const audittotalCost = []; %> <% for (const [cindex,cl] of changeList.entries()) { %> <% for (const audit of auditList2) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% } %> <% for (const audit of auditList2) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% } else if (auditStatus === 6) { %> <% for (const audit of auditList) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% for (const audit of auditList) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %> <% const audittotalCost = []; %> <% for (const [cindex,cl] of changeList.entries()) { %> <% for (const audit of auditList) { %> <% if (audit.usite !== 0) { %> <% if (uid === audit.uid && audit.status === 2) { %> <% } else { %> <% } %> class="amount_cost"<% } %>><%= audit.list_amount[cindex] !== undefined ? ctx.helper.mul(cl.unit_price, audit.list_amount[cindex], tpUnit) : '' %> <% } %> <% } %> <% } %> <% for (const audit of auditList) { %> <% if (audit.usite !== 0) { %> <% } %> <% } %>
清单编号 名称 变更部位 变更详情 单位 单价 原设计 申报变更增(+)减(-)<%= audit.name %> 审批
数量 金额 数量 金额数量 金额
<%= cl.code %> <%= cl.name %> <%= cl.bwmx %> <%= cl.detail %> <%= cl.unit %> <%= ctx.helper.roundNum(cl.unit_price, upUnit) %> <%= ctx.helper.roundNum(cl.oamount, ctx.helper.findDecimal(cl.unit)) %> <%= ctx.helper.mul(cl.unit_price, cl.oamount, tpUnit) %> <%= ctx.helper.roundNum(cl.camount, ctx.helper.findDecimal(cl.unit)) %> <%= ctx.helper.mul(cl.unit_price, cl.camount, tpUnit) %> <%= audit.list_amount[cindex] !== undefined ? ctx.helper.roundNum(audit.list_amount[cindex], ctx.helper.findDecimal(cl.unit)) : '' %>
合计 <%= ctx.helper.roundNum(ototalCost, tpUnit) %> <%= ctx.helper.roundNum(ctotalCost, tpUnit) %>class="amount_totalcost"<% } %>><%=audit.totalCost !== 0 ? ctx.helper.roundNum(audit.totalCost, tpUnit) : '' %>
<% } %>
<% if (attList !== undefined && attList !== '') { %> <% for (const [index,att] of attList.entries()) { %> <% } %> <% } %>
序号 名称 大小 上传时间 操作
> <%- index+1 %> <%- att.filename %><%- att.fileext %> <%- ctx.helper.bytesToSize(att.filesize) %> <%- moment(att.in_time * 1000).format('YYYY-MM-DD') %> <% if (att.uid === uid && (auditStatus === 4 ? Boolean(att.extra_upload) : true )) { %> <% } %>
<% if (auditStatus === 1 || auditStatus === 2) { %> <% } else if (auditStatus === 3 || auditStatus === 4 || auditStatus === 5 || auditStatus === 7) { %> <% } else if (auditStatus === 6) { %> <% } %>