Explorar el Código

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

MaiXinRong hace 5 años
padre
commit
ce161ac346
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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>