zhs 3 rokov pred
rodič
commit
f6d80ef495

+ 4 - 4
src/main/resources/static/js/index/function.js

@@ -36,10 +36,10 @@ function eleDrawing(data){
     $(".clinch_a_deal .today_div_offer").find(".today_data").html(data.offer.todayClinch);//今日成交
     if(data.income != null){
         $(".clinch_a_deal .today_div_offer").find(".yesterday_data").html(paramReturn("昨日", parent.type) + ":" + data.offer.yesterdayClinch);//昨日成交
-        $(".clinch_a_deal .thisMonth_div_offer").find(".today_data").html((data.income.thisMonthTotalFee - data.income.thisMonthRefundFee).toFixed(2));//本月收入
-        $(".clinch_a_deal .thisMonth_div_offer").find(".yesterday_data").html(paramReturn("上月", parent.type) + ":" + (data.income.lastMonthTotalFee - data.income.lastMonthRefundFee).toFixed(2));//上月收入
-        $(".clinch_a_deal .thisYear_div_offer").find(".today_data").html((data.income.thisYearTotalFee - data.income.thisYearRefundFee).toFixed(2));//上月收入
-        $(".clinch_a_deal .thisYear_div_offer").find(".yesterday_data").html(paramReturn("去年", parent.type) + ":" + (data.income.lastYearTotalFee - data.income.lastYearRefundFee).toFixed(2));//上月收入
+        $(".clinch_a_deal .thisMonth_div_offer").find(".today_data").html(((data.income.thisMonthTotalFee - data.income.thisMonthRefundFee) / 10000).toFixed(2));//本月收入
+        $(".clinch_a_deal .thisMonth_div_offer").find(".yesterday_data").html(paramReturn("上月", parent.type) + ":" + ((data.income.lastMonthTotalFee - data.income.lastMonthRefundFee) / 10000).toFixed(2));//上月收入
+        $(".clinch_a_deal .thisYear_div_offer").find(".today_data").html(((data.income.thisYearTotalFee - data.income.thisYearRefundFee) / 10000).toFixed(2));//本年收入
+        $(".clinch_a_deal .thisYear_div_offer").find(".yesterday_data").html(paramReturn("去年", parent.type) + ":" + ((data.income.lastYearTotalFee - data.income.lastYearRefundFee) / 10000).toFixed(2));//去年收入
     }
     //报价单权限余额
     $(".offer_num_div .balance_of_fount").find("p").html(data.user.offerNum); //报价单权限余额