浏览代码

封装的报表类方法

gogs 2 周之前
父节点
当前提交
9e7883ac1b
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      app/Service/StatisticService.php

+ 2 - 4
app/Service/StatisticService.php

@@ -391,14 +391,12 @@ class StatisticService extends StatisticCommonService
                 }
                 }
             }
             }
             //限额调整其他费用
             //限额调整其他费用
-            $jj_other_amount = round(($total_amount+$other_amount)*0.2,2);
+            $jj_other_amount = round(($total_amount+$other_amount)*0.2);
             if($other_amount <=  $jj_other_amount)  $jj_other_amount = $other_amount;
             if($other_amount <=  $jj_other_amount)  $jj_other_amount = $other_amount;
 
 
             //加计其他费用
             //加计其他费用
-            $jj_amount = round(($total_amount+$other_amount)*0.1,2);
+            $jj_amount = ($total_amount+$other_amount)*0.1;
             if($other_amount <=  $jj_amount)  $jj_amount = $other_amount;
             if($other_amount <=  $jj_amount)  $jj_amount = $other_amount;
-
-
             //允许加计扣除项 : 其他费用 <= (其他费用+费用)*10% +费用
             //允许加计扣除项 : 其他费用 <= (其他费用+费用)*10% +费用
             // 经限额调整后的其他相关费用 : 其他费用 <= (其他费用+费用)*20%
             // 经限额调整后的其他相关费用 : 其他费用 <= (其他费用+费用)*20%
             //其他费用是个数组
             //其他费用是个数组