Browse Source

fix: 台账修订、分解选择审批人的下拉框加入自身

lanjianrong 4 years ago
parent
commit
aa1f14de09
2 changed files with 10 additions and 14 deletions
  1. 5 7
      app/view/ledger/explode_modal.ejs
  2. 5 7
      app/view/revise/info_modal.ejs

+ 5 - 7
app/view/ledger/explode_modal.ejs

@@ -108,13 +108,11 @@
                                 <dt><a href="javascript: void(0);" class="acc-btn" data-groupid="<%- idx %>" data-type="hide"><i class="fa fa-plus-square"></i></a> <%- group.groupName %></dt>
                                 <div class="dd-content" data-toggleid="<%- idx %>">
                                     <% group.groupList.forEach(item => { %>
-                                        <% if (item.id !== ctx.session.sessionUser.accountId) { %>
-                                            <dd class="border-bottom p-2 mb-0 " data-id="<%- item.id %>" >
-                                                <p class="mb-0 d-flex"><span class="text-primary"><%- item.name %></span><span
-                                                        class="ml-auto"><%- item.mobile %></span></p>
-                                                <span class="text-muted"><%- item.role %></span>
-                                            </dd>
-                                        <% } %>
+                                        <dd class="border-bottom p-2 mb-0 " data-id="<%- item.id %>" >
+                                            <p class="mb-0 d-flex"><span class="text-primary"><%- item.name %></span><span
+                                                    class="ml-auto"><%- item.mobile %></span></p>
+                                            <span class="text-muted"><%- item.role %></span>
+                                        </dd>
                                     <% });%>
                                 </div>
                             <% }) %>

+ 5 - 7
app/view/revise/info_modal.ejs

@@ -59,13 +59,11 @@
                                 <dt><a href="javascript: void(0);" class="acc-btn" data-groupid="<%- idx %>" data-type="hide"><i class="fa fa-plus-square"></i></a> <%- group.groupName %></dt>
                                 <div class="dd-content" data-toggleid="<%- idx %>">
                                     <% group.groupList.forEach(item => { %>
-                                        <% if (item.id !== ctx.session.sessionUser.accountId) { %>
-                                            <dd class="border-bottom p-2 mb-0 " data-id="<%- item.id %>" >
-                                                <p class="mb-0 d-flex"><span class="text-primary"><%- item.name %></span><span
-                                                        class="ml-auto"><%- item.mobile %></span></p>
-                                                <span class="text-muted"><%- item.role %></span>
-                                            </dd>
-                                        <% } %>
+                                        <dd class="border-bottom p-2 mb-0 " data-id="<%- item.id %>" >
+                                            <p class="mb-0 d-flex"><span class="text-primary"><%- item.name %></span><span
+                                                    class="ml-auto"><%- item.mobile %></span></p>
+                                            <span class="text-muted"><%- item.role %></span>
+                                        </dd>
                                     <% });%>
                                 </div>
                             <% }) %>