Browse Source

变更清单选中变色

laiguoran 6 years ago
parent
commit
cc7a3f9cb0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/public/js/change_set.js

+ 2 - 0
app/public/js/change_set.js

@@ -303,6 +303,8 @@ $(document).ready(() => {
 
     // 清单选中和移除
     $('body').on('click', '#table-list-select tr', function () {
+        $('#table-list-select tr').removeClass('table-warning');
+        $(this).addClass('table-warning');
         const isCheck = $(this).hasClass('table-success') ? true : false;
         const data_bwmx = $(this).attr('data-bwmx').split('$#$');
         const isDeal = $(this).data('gcl') !== undefined ? true : false;