Ver código fonte

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

MaiXinRong 5 anos atrás
pai
commit
ce161ac346
1 arquivos alterados com 3 adições e 3 exclusões
  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>