MaiXinRong 9 月之前
父節點
當前提交
d37b9ead1d
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 2
      app/public/js/ledger.js
  2. 1 2
      app/view/ledger/explode_modal.ejs

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

@@ -4188,8 +4188,8 @@ $(document).ready(function() {
             });
         }
     });
-    $('body').on('click', '#auditors li>a', function () {
-        const li = $(this).parent();
+    $('body').on('click', '#auditors li>div>a', function () {
+        const li = $(this).parent().parent();
         const data = {
             auditorId: parseInt(li.attr('auditorId')),
         };

+ 1 - 2
app/view/ledger/explode_modal.ejs

@@ -175,10 +175,9 @@
                                 <% } %>
                                 <% if (ctx.tender.info.shenpi.ledger === shenpiConst.sp_status.sqspr ||
                                         (ctx.tender.info.shenpi.ledger === shenpiConst.sp_status.gdzs && i+1 !== iLen)) { %>
-                                <a href="javascript: void(0)" class="text-danger pull-right">移除</a>
+                                <a href="javascript: void(0)" class="text-danger pull-right ml-1">移除</a>
                                 <% } %>
                             </div>
-
                         </li>
                         <% } %>
                     </ul>