Browse Source

fix: 台账审批、分解可添加自己为审核人

lanjianrong 4 years ago
parent
commit
e7c94548dc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/public/js/ledger.js
  2. 1 1
      app/view/revise/info_modal.ejs

+ 1 - 1
app/public/js/ledger.js

@@ -2680,7 +2680,7 @@ $(document).ready(function() {
             const newVal = $('#gr-search').val()
             let html = ''
             if (newVal && newVal === oldSearchVal) {
-                accountList.filter(item => item && cur_uid !== item.id && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
+                accountList.filter(item => item && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
                     html += `<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>

+ 1 - 1
app/view/revise/info_modal.ejs

@@ -732,7 +732,7 @@
                 const newVal = $('#gr-search').val()
                 let html = ''
                 if (newVal && newVal === oldSearchVal) {
-                    accountList.filter(item => item && cur_uid !== item.id && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
+                    accountList.filter(item => item  && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
                         html += `<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>