<% include ./sub_menu.ejs %>
<% include ./sub_mini_menu.ejs %>
|第<%- payStage.order %>期 <%- payStage.company %>|
<% if (notStagePays.length > 0 && (ctx.session.sessionUser.is_admin || fptReportTids.length > 0)) { %> <% } %>
<% if (ctx.session.sessionUser.is_admin || fptReportTids.length > 0) { %> 申请支付 <% } %>
<% for (const pay of payList) { %> <% } %>
标段名称 支付编号 申请时间 申请人 资金用途 收款单位 支付金额 审批进度 操作
<%- pay.tenderName %> <%- pay.code %> <%- moment(pay.create_time).format('YYYY-MM-DD') %> <%- pay.username %> <%- pay.used %> <%- pay.entities %> <%- pay.total_price %> <% if (pay.status === auditConst.status.checked && pay.final_auditor_str) { %> <%- pay.final_auditor_str %> <% } else if (pay.curAuditors.length > 0) { %> <% if (pay.curAuditors[0].audit_type === auditType.key.common) { %> <%- pay.curAuditors[0].name %><%if (pay.curAuditors[0].role !== '' && pay.curAuditors[0].role !== null) { %>-<%- pay.curAuditors[0].role %><% } %> <% } else { %> <%- ctx.helper.transFormToChinese(pay.curAuditors[0].audit_order) + '审' %> <% } %> <% } %> <%- auditConst.auditProgress[pay.status] %> <% if (pay.status === auditConst.status.uncheck && pay.uid === ctx.session.sessionUser.accountId) { %> <%- auditConst.statusButton[pay.status] %> <% } else if (pay.status === auditConst.status.checkNo && pay.curAuditors && pay.uid === ctx.session.sessionUser.accountId) { %> <%- auditConst.statusButton[pay.status] %> <% } else if (pay.status === auditConst.status.checking && pay.curAuditors && pay.curAuditors.findIndex(x => { return x.aid === ctx.session.sessionUser.accountId; }) >= 0) { %> <% const curAudit = pay.curAuditors.find(x => { return x.aid === ctx.session.sessionUser.accountId; }); %> <% if (curAudit.status === auditConst.status.checking) { %> <%- auditConst.statusButton[pay.status] %> <% } else { %> <%- auditConst.auditString[curAudit.status] %> <% } %> <% } else { %> <%- auditConst.auditString[pay.status] %> <% } %> <% if (pay.uid === ctx.session.sessionUser.accountId && (pay.status === auditConst.status.uncheck || pay.status === auditConst.status.checkNo)) { %>删除<% } %>
<% include ../layout/page.ejs %>