Browse Source

fix: 材料调差退回上一审批人文案错误

lanjianrong 4 years ago
parent
commit
61331f52b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/view/material/audit_modal.ejs

+ 2 - 2
app/view/material/audit_modal.ejs

@@ -574,7 +574,7 @@
                                                                     id="inlineRadio2"
                                                                     value="<%- auditConst.status.checkNoPre %>">
                                                                 <label class="form-check-label" for="inlineRadio2">退回上一审批人
-                                                                    <%- auditors[index-1].name %></label>
+                                                                    <%- ctx.material.auditors2.find(item => item.order === auditor.sort-1).name %></label>
                                                             </div>
                                                             <% } %>
                                                         </div>
@@ -648,7 +648,7 @@
                                                                         id="inlineRadio2"
                                                                         value="<%- auditConst.status.checkNoPre %>">
                                                                     <label class="form-check-label" for="inlineRadio2">退回上一审批人
-                                                                        <%- auditors[index-1].name %></label>
+                                                                        <%- ctx.material.auditors2.find(item => item.order === auditor.sort-1).name %></label>
                                                                 </div>
                                                                 <% } %>
                                                             </div>