瀏覽代碼

TASK #4743 界面微调整

Tony Kang 1 年之前
父節點
當前提交
1cdf7fe5a6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/view/report/rpt_all_popup.ejs

+ 3 - 3
app/view/report/rpt_all_popup.ejs

@@ -984,12 +984,12 @@
         tbDom.empty();
         let domStrs = [];
         SELECTED_CHANGES = [];
-        domStrs.push('<thead><tr><th>变更令名称</th><th width="40">选择</th></tr></thead>');
+        domStrs.push('<thead><tr><th width="150">变更令编号</th><th>变更令名称</th><th width="40">选择</th></tr></thead>');
         domStrs.push('<tbody>');
         const report_id = zTreeOprObj.currentNode.refId;
         for (const dtlChange of ALL_CHANGES) {
-            if (dtlChange.cid !== BUSINESS_ID) {
-                domStrs.push(`<tr><td>${dtlChange.code}</td><td><input type="checkbox" onclick="amendChange(this, SELECTED_CHANGES, TENDER_ID, '${dtlChange.cid}', ${report_id})"></td></tr>`);
+            if (dtlChange.cid !== BUSINESS_ID && dtlChange.status === 3) {
+                domStrs.push(`<tr><td>${dtlChange.code}</td><td>${dtlChange.name}</td><td><input type="checkbox" onclick="amendChange(this, SELECTED_CHANGES, TENDER_ID, '${dtlChange.cid}', ${report_id})"></td></tr>`);
             }
         }
         domStrs.push('</tbody>');