瀏覽代碼

合同支付,第一期时,截止上期数据为0

MaiXinRong 5 年之前
父節點
當前提交
ce161ac346
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/view/stage/pay.ejs

+ 3 - 3
app/view/stage/pay.ejs

@@ -61,7 +61,7 @@
     const whiteList = JSON.parse('<%- JSON.stringify(whiteList) %>');
     const uploadPermission = <%- uploadPermission %>;
     const userID = <%- ctx.session.sessionUser.accountId %>;
-    const preContractTp = <%- pre.contract_tp %>;
-    const preQcTp = <%- pre.qc_tp %>;
-    const preGatherTp = <%- pre.gather_tp %>;
+    const preContractTp = <%- (pre.contract_tp || 0) %>;
+    const preQcTp = <%- (pre.qc_tp || 0) %>;
+    const preGatherTp = <%- (pre.gather_tp || 0) %>;
 </script>