<% include ../tender/tender_sub_menu.ejs %>
<% include ../tender/tender_sub_mini_menu.ejs %>
材料调差期列表
<% if (ctx.session.sessionUser.accountId === ctx.tender.data.user_id || ctx.session.sessionUser.is_admin) { %>
<% } %>
<% if (ctx.session.sessionUser.accountId === ctx.tender.data.user_id && stages.length > 0 && (materials.length === 0 || materials[0].status === auditConst.status.checked)) { %> 开始新一期 <% } %>
<% const rowSpan = ctx.helper._.findIndex(materialColShow, { checked: true}) !== -1 ? 2 : 1%> <% if (materialColShow[0].checked) { %> <% } %> <% if (materialColShow[1].checked) { %> <% } %> <% if (materialColShow[2].checked) { %> <% } %> <% if (rowSpan === 2) { %> <% if (materialColShow[0].checked) { %> <% if (openMaterialTax) { %><% } %> <% if ((openMaterialTax && !allMaterialTax) || !openMaterialTax) { %><% } %> <% } %> <% if (materialColShow[1].checked) { %> <% } %> <% if (materialColShow[2].checked) { %> <% if (openMaterialTax) { %><% } %> <% } %> <% } %> <% for (const m of materials) { %> <% if (materialColShow[0].checked) { %> <% if (openMaterialTax) { %><% } %> <% if ((openMaterialTax && !allMaterialTax) || !openMaterialTax) { %><% } %> <% } %> <% if (materialColShow[1].checked) { %> <% } %> <% if (materialColShow[2].checked) { %> <% if (openMaterialTax) { %><% } %> <% } %> <% } %>
期数 添加时间 计量期 调差周期信息价调差指数法调差合计审批进度 操作
价差费用价差费用(含材料税)价差费用(含建筑税)价差费用 价差费用(含建筑税)价差费用价差费用(含材料税)价差费用(含建筑税)
第 <%- m.order %> 期 <%= moment(m.in_time).format('YYYY-MM-DD') %> 第 <%= m.s_order %> 期 <%- (m.period ? (m.period.split('~')[1] ? m.period.split('~')[1] : m.period) : '') %> <%= m.m_tp !== null ? ctx.helper.round(m.m_tp, m.decimal.tp) : null %><% if (m.material_tax) { %><% if (m.m_tax_tp) { %><%- m.m_tax_tp %><% } else { %><%- m.m_tp %><% } %><% } %><% if (!m.material_tax) { %><%= m.m_tp !== null ? ctx.helper.round(ctx.helper.mul(m.m_tp, 1+m.rate/100), m.decimal.tp) : null %><% } %><%= m.ex_tp !== null ? ctx.helper.round(m.ex_tp, m.decimal.tp) : null %> <%= m.ex_tp !== null ? ctx.helper.round(ctx.helper.mul(m.ex_tp, 1+m.exponent_rate/100), m.decimal.tp) : null %><%= ctx.helper.add(ctx.helper.round(m.ex_tp, m.decimal.tp), ctx.helper.round(m.m_tp, m.decimal.tp)) %><% if (m.material_tax) { %><% if (m.m_tax_tp) { %><%- m.m_tax_tp %><% } else { %><%- m.m_tp %><% } %><% } %><% if (m.material_tax) { %><%= m.ex_tp !== null ? ctx.helper.round(ctx.helper.mul(m.ex_tp, 1+m.exponent_rate/100), m.decimal.tp) : null %><% } else { %><%= ctx.helper.add(ctx.helper.round(ctx.helper.mul(m.ex_tp, 1+m.exponent_rate/100), m.decimal.tp), ctx.helper.round(ctx.helper.mul(m.m_tp, 1+m.rate/100), m.decimal.tp)) %><% } %> <% if (m.curAuditor) { %> <%- m.curAuditor.name %><%if (m.curAuditor.role !== '' && m.curAuditor.role !== null) { %>-<%- m.curAuditor.role %><% } %> <% } %> <%- auditConst.auditProgress[m.status] %> <% if (m.status === auditConst.status.uncheck && m.user_id === ctx.session.sessionUser.accountId) { %> <%- auditConst.statusButton[m.status] %> <% } else if (m.status === auditConst.status.checkNo && m.curAuditor && m.user_id === ctx.session.sessionUser.accountId) { %> <%- auditConst.statusButton[m.status] %> <% } else if (m.status === auditConst.status.checking && m.curAuditor && m.curAuditor.aid === ctx.session.sessionUser.accountId) { %> <%- auditConst.statusButton[m.status] %> <% } else { %> <%- auditConst.auditProgress[m.status] %> <% } %> <% if ((ctx.session.sessionUser.is_admin || ((m.status === auditConst.status.uncheck || m.status === auditConst.status.checkNo) && m.user_id === ctx.session.sessionUser.accountId)) && m.order === materials.length) { %> 删除 <% } %>