Browse Source

feat: 材料调差选择审批人功能优化

lanjianrong 5 năm trước cách đây
mục cha
commit
9b8b3e91ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/view/material/audit_modal.ejs

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

@@ -681,7 +681,7 @@
     </script>
     </script>
 <% } %>
 <% } %>
 <script>
 <script>
-    const cur_uid  = '<%- ctx.session.sessionUser.accountId %>';
+    const cur_uid  = parseInt('<%- ctx.session.sessionUser.accountId %>');
     $('.sp-location-list').on('shown.bs.modal', function () {
     $('.sp-location-list').on('shown.bs.modal', function () {
         const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');
         const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');
         const bdiv = (scrollBox.offset() && scrollBox.offset().top) || 0;
         const bdiv = (scrollBox.offset() && scrollBox.offset().top) || 0;