浏览代码

bug修复

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

+ 1 - 0
app/public/js/shenpi.js

@@ -122,6 +122,7 @@ function recursiveGetTenderNodeHtml (node, arr, pid, this_code, this_status, aid
             auditList = aidList;
             tender_status = this_status;
         } else {
+            console.log(node);
             html.push(sp_status_list[node.shenpiInfo[this_code]].name);
             auditList = node.shenpiauditList[this_code];
             tender_status = node.shenpiInfo[this_code];

+ 1 - 1
app/view/tender/shenpi.ejs

@@ -149,7 +149,7 @@
     const accountList = JSON.parse(unescape('<%- escape(JSON.stringify(accountList)) %>'));
     const cur_uid = parseInt('<%- ctx.tender.data.user_id %>');
     const cur_tenderid = parseInt('<%- ctx.tender.id %>');
-    const tenders = JSON.parse(unescape('<%- escape(JSON.stringify(tenderList)) %>'));
+    const tenders = JSON.parse(unescape('<%- escape(JSON.stringify(tenders)) %>'));
     const category = JSON.parse(unescape('<%- escape(JSON.stringify(categoryData)) %>'));
 </script>
 <script src="/public/js/decimal.min.js"></script>