|
@@ -609,7 +609,7 @@
|
|
|
<div class="form-check form-check-inline">
|
|
|
<input class="form-check-input" type="radio" name="checkType" id="inlineRadio2" value="<%- auditConst.status.checkNoPre %>">
|
|
|
<label class="form-check-label" for="inlineRadio2">退回上一审批人
|
|
|
- <% const pre = his.find(x => { return x.audit_order === auditor.audit_order - 1}); %>
|
|
|
+ <% const pre = ctx.helper._.findLast(his, x => { return x.audit_order === auditor.audit_order - 1 }); %>
|
|
|
<%- (pre.audit_type === auditType.key.common ? pre.auditors[0].name : `${pre.audit_order}审`)%>
|
|
|
</label>
|
|
|
</div>
|