浏览代码

显示bug

laiguoran 4 年之前
父节点
当前提交
3c80b762c8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/public/js/shenpi.js

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

@@ -183,9 +183,9 @@ function getShenpiHtml (this_code) {
         html.push('<tr>');
         html.push('<td>', sp.name, '</td>');
         html.push('<td>');
-        html.push(sp_status_list[sp.status].name);
         const this_status = parseInt($('.' + sp.code + '_div').children('.lc-show').siblings('.form-group').find('input:checked').val());
-        if(this_status != sp_status.sqspr) {
+        html.push(sp_status_list[this_status].name);
+        if(this_status !== sp_status.sqspr) {
             const nameList = [];
             const aid_num = $('.' + sp.code + '_div').children('.lc-show').children('ul').find('.remove-audit').length;
             const aidList = [];