<% 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.rate_tp %><% } %><%= 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), m.rate_tp) %><% } %> <% if (m.status === auditConst.status.checked && m.final_auditor_str) { %> <%- m.final_auditor_str %> <% } else { %> <% if (m.curAuditors && m.curAuditors.length > 0) { %> <% if (m.curAuditors[0].audit_type === auditType.key.common) { %> <%- m.curAuditors[0].name %><%if (m.curAuditors[0].role !== '' && m.curAuditors[0].role !== null) { %>-<%- m.curAuditors[0].role %><% } %> <% } else { %> <%- ctx.helper.transFormToChinese(m.curAuditors[0].audit_order) + '审' %> <% } %> <% } %> <% } %> <%- 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.status === auditConst.status.checkNoPre) && m.curAuditors && m.curAuditors.findIndex(x => { return x.aid === ctx.session.sessionUser.accountId; }) >= 0) { %> <% const curAudit = m.curAuditors.find(x => { return x.aid === ctx.session.sessionUser.accountId; }); %> <% if (curAudit.status === auditConst.status.checking) { %> <%- auditConst.statusButton[m.status] %> <% } else { %> <%- auditConst.auditProgress[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) { %> 删除 <% } %>