<% include ./sub_mini_menu.ejs %>
<% if (financialPay.payStage || returnUrl.indexOf('/pay/list') !== -1) { %>
<% } %>
<%- financialPay.tenderName %>
<% if (financialPay.status === auditConst.status.uncheck) { %>
<% if (ctx.session.sessionUser.accountId === financialPay.uid) { %>
上报审批
<% } else { %>
上报中
<% } %>
<% } else if (financialPay.status === auditConst.status.checking) { %>
<% if (financialPay.curAuditorIds.indexOf(ctx.session.sessionUser.accountId) >= 0) { %>
审批通过
审批退回
<% } else { %>
审批中
<% } %>
<% } else if (financialPay.status === auditConst.status.checked) { %>
审批完成
<% if (financialPay.auditors !== undefined && financialPay.finalAuditorIds.indexOf(ctx.session.sessionUser.accountId) >= 0) { %>
重新审批
<% } %>
<% } else if (financialPay.status === auditConst.status.checkNo) { %>
审批<% if (financialPay.status === auditConst.status.checkNo) { %>退回<% } %>
<% if (ctx.session.sessionUser.accountId === financialPay.uid) { %>
重新上报
<% } %>
<% } %>