Ver código fonte

成本大屏修改

ellisran 4 dias atrás
pai
commit
e1be128ed1
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6 6
      app/view/datacollect/index_cost.ejs

+ 6 - 6
app/view/datacollect/index_cost.ejs

@@ -925,13 +925,13 @@
             const profit_percent = total_in_tp && total_profit ? ZhCalc.round(ZhCalc.div(total_profit, total_in_tp) * 100, 2) : 0;
             const profit_percent = total_in_tp && total_profit ? ZhCalc.round(ZhCalc.div(total_profit, total_in_tp) * 100, 2) : 0;
             const profit_duty_percent = total_duty_in_tp && total_duty_profit ? ZhCalc.round(ZhCalc.div(total_duty_profit, total_duty_in_tp) * 100, 2) : 0;
             const profit_duty_percent = total_duty_in_tp && total_duty_profit ? ZhCalc.round(ZhCalc.div(total_duty_profit, total_duty_in_tp) * 100, 2) : 0;
             $('.data_total_profit_percent').text(profit_percent ? profit_percent + '%' : '0%');
             $('.data_total_profit_percent').text(profit_percent ? profit_percent + '%' : '0%');
-            $('.data_total_in_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_in_tp, 10000), 0)));
-            $('.data_total_out_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_out_tp, 10000), 0)));
-            $('.data_total_profit').text(formatMoney(ZhCalc.round(ZhCalc.div(total_profit, 10000), 0)));
+            $('.data_total_in_tp').text(ZhCalc.round(ZhCalc.div(total_in_tp, 10000), 0));
+            $('.data_total_out_tp').text(ZhCalc.round(ZhCalc.div(total_out_tp, 10000), 0));
+            $('.data_total_profit').text(ZhCalc.round(ZhCalc.div(total_profit, 10000), 0));
             $('.data_duty_total_profit_percent').text(profit_duty_percent ? profit_duty_percent + '%' : '0%');
             $('.data_duty_total_profit_percent').text(profit_duty_percent ? profit_duty_percent + '%' : '0%');
-            $('.data_duty_total_in_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_in_tp, 10000), 0)));
-            $('.data_duty_total_out_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_out_tp, 10000), 0)));
-            $('.data_duty_total_profit').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_profit, 10000), 0)));
+            $('.data_duty_total_in_tp').text(ZhCalc.round(ZhCalc.div(total_duty_in_tp, 10000), 0));
+            $('.data_duty_total_out_tp').text(ZhCalc.round(ZhCalc.div(total_duty_out_tp, 10000), 0));
+            $('.data_duty_total_profit').text(ZhCalc.round(ZhCalc.div(total_duty_profit, 10000), 0));
             $('.stage_num').text(stage_num);
             $('.stage_num').text(stage_num);
             $('.cost_ledger_num').text(cost_ledger_num);
             $('.cost_ledger_num').text(cost_ledger_num);
             $('.cost_analysis_num').text(cost_analysis_num);
             $('.cost_analysis_num').text(cost_analysis_num);