Jelajahi Sumber

合同支付,合计问题

MaiXinRong 1 hari lalu
induk
melakukan
109f1bfd70
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      app/public/js/spss_gather_stage_pay.js

+ 4 - 4
app/public/js/spss_gather_stage_pay.js

@@ -18,7 +18,7 @@ $(document).ready(() => {
         ],
         emptyRows: 0,
         headRows: 2,
-        headRowHeight: [25, 25],
+        headRowHeight: [32, 25],
         defaultRowHeight: 21,
         headerFont: '12px 微软雅黑',
         font: '12px 微软雅黑',
@@ -53,9 +53,9 @@ $(document).ready(() => {
                     p['pre_tp' + endfix] = ZhCalc.add(p['pre_tp' + endfix], data.pre_tp);
                     p['end_tp' + endfix] = ZhCalc.add(p['end_tp' + endfix], data.end_tp);
 
-                    p['sum_tp' + endfix] = ZhCalc.add(p['sum_tp' + endfix], data.tp);
-                    p['sum_pre_tp' + endfix] = ZhCalc.add(p['sum_pre_tp' + endfix], data.pre_tp);
-                    p['sum_end_tp' + endfix] = ZhCalc.add(p['sum_end_tp' + endfix], data.end_tp);
+                    p['sum_tp'] = ZhCalc.add(p['sum_tp'], data.tp);
+                    p['sum_pre_tp'] = ZhCalc.add(p['sum_pre_tp'], data.pre_tp);
+                    p['sum_end_tp'] = ZhCalc.add(p['sum_end_tp'], data.end_tp);
                 }
             }
         },