Browse Source

筛选立项书

laiguoran 3 năm trước cách đây
mục cha
commit
e2c58e6948
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/view/change/apply_modal.ejs

+ 2 - 0
app/view/change/apply_modal.ejs

@@ -43,8 +43,10 @@
                     <select class="form-control form-control-sm" id="project-code">
                         <option></option>
                         <% for (const cp of changeProjectList) { %>
+                        <% if (ctx.helper._.findIndex(changes, { project_code: cp.code }) === -1) { %>
                         <option><%- cp.code %></option>
                         <% } %>
+                        <% } %>
                     </select>
                 </div>
                 <input value="" type="hidden" id="bj-name">