<% if (!material.material_tax && !old_had_tax) { %>
| 信息价 | 价格指数 |
本期金额 | 截止本期金额 |
本期金额
|
截止本期金额 |
材料价差费用 |
<%= material.m_tp !== null ? ctx.helper.round(material.m_tp, 2) : null %> |
<%= material.m_tp !== null || material.pre_tp !== null ? ctx.helper.round(ctx.helper.add(material.pre_tp, material.m_tp), 2) : null %> |
<%= material.ex_tp !== null ? ctx.helper.round(material.ex_tp, 2) : null %> |
<%= material.ex_tp !== null || material.ex_pre_tp !== null ? ctx.helper.round(ctx.helper.add(material.ex_pre_tp, material.ex_tp), 2) : null %> |
材料价差费用(含建筑税) |
<%= material.m_tp !== null ? ctx.helper.round(ctx.helper.mul(material.m_tp, 1+material.rate/100), 2) : null %> |
<%= material.m_tp !== null || pre_tp_hs !== null ? ctx.helper.round(ctx.helper.add(pre_tp_hs, ctx.helper.round(ctx.helper.mul(material.m_tp, 1+material.rate/100), 2)), 2) : null %> |
<%= material.ex_tp !== null ? ctx.helper.round(ctx.helper.mul(material.ex_tp, 1+material.rate/100), 2) : null %> |
<%= material.ex_tp !== null || ex_pre_tp_hs !== null ? ctx.helper.round(ctx.helper.add(ex_pre_tp_hs, ctx.helper.round(ctx.helper.mul(material.ex_tp, 1+material.rate/100), 2)), 2) : null %> |
<% } else { %>
| 信息价 | 价格指数 |
本期金额 | 截止本期金额 |
本期金额
|
截止本期金额 |
材料价差费用 |
<%= material.m_tp !== null ? ctx.helper.round(material.m_tp, 2) : null %> |
<%= material.m_tp !== null || material.pre_tp !== null ? ctx.helper.round(ctx.helper.add(material.pre_tp, material.m_tp), 2) : null %> |
<%= material.ex_tp !== null ? ctx.helper.round(material.ex_tp, 2) : null %> |
<%= material.ex_tp !== null || material.ex_pre_tp !== null ? ctx.helper.round(ctx.helper.add(material.ex_pre_tp, material.ex_tp), 2) : null %> |
材料价差费用(含材料税) |
<%= material.material_tax ? (material.m_tax_tp !== null ? material.m_tax_tp : null) : '-' %> |
<%= material.material_tax ? (material.m_tax_tp !== null || material.m_tax_pre_tp !== null ? ctx.helper.round(ctx.helper.add(material.m_tax_pre_tp, material.m_tax_tp), 2) : null) : material.m_tax_pre_tp %> |
- |
- |
材料价差费用(含建筑税) |
<%= !material.material_tax ? (material.m_tp !== null ? ctx.helper.round(ctx.helper.mul(material.m_tp, 1+material.rate/100), 2) : null) : '-' %> |
<%= !material.material_tax ? (material.m_tp !== null || pre_tp_hs !== null ? ctx.helper.round(ctx.helper.add(pre_tp_hs, ctx.helper.round(ctx.helper.mul(material.m_tp, 1+material.rate/100), 2)), 2) : null) : pre_tp_hs !== null ? pre_tp_hs : '-' %> |
<%= material.ex_tp !== null ? ctx.helper.round(ctx.helper.mul(material.ex_tp, 1+material.rate/100), 2) : null %> |
<%= material.ex_tp !== null || ex_pre_tp_hs !== null ? ctx.helper.round(ctx.helper.add(ex_pre_tp_hs, ctx.helper.round(ctx.helper.mul(material.ex_tp, 1+material.rate/100), 2)), 2) : null %> |
<% } %>