Browse Source

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

MaiXinRong 5 năm trước cách đây
mục cha
commit
ce161ac346
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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>