|
@@ -642,7 +642,7 @@
|
|
|
<% } %>
|
|
|
<% } %>
|
|
|
<% if (ctx.stage && ctx.stage.finalAuditorIds.indexOf(ctx.session.sessionUser.accountId) >= 0 && ctx.stage.status === auditConst.status.checked && ctx.stage.order === ctx.stage.highOrder) { %>
|
|
|
-<% if (ctx.stage.hadMaterial) { %>
|
|
|
+<% if (ctx.stage.hadMaterial || ctx.stage.hadPhasePay) { %>
|
|
|
<div class="modal fade" id="sp-down-back" data-backdrop="static">
|
|
|
<div class="modal-dialog" role="document">
|
|
|
<div class="modal-content">
|
|
@@ -650,7 +650,12 @@
|
|
|
<h5 class="modal-title">重新审批</h5>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
+ <% if (ctx.stage.hadMaterial) { %>
|
|
|
<h5>材料调差已使用当前期,如需重新审批,请先删除材料调差相关期</h5>
|
|
|
+ <% } %>
|
|
|
+ <% if (ctx.stage.hadPhasePay) { %>
|
|
|
+ <h5>合同支付已使用当前期,如需重新审批,请先删除合同支付相关期</h5>
|
|
|
+ <% } %>
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">取消</button>
|