guojing преди 5 години
родител
ревизия
ceec696410
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      whepi-ui/templates/home/buyClient.ftl
  2. 1 1
      whepi-ui/templates/home/buytc.ftl

+ 1 - 1
whepi-ui/templates/home/buyClient.ftl

@@ -90,7 +90,7 @@
                 if (data.data.buyMoney != null)
                     $('#buyCount').val(data.data.buyCount);
                 if (data.data.buyMoney != null)
-                    $('#myMenory').text(data.data.buyMoney);
+                    $('#myMenory').text(Math.round(data.data.buyMoney * 10) / 10);
             },
             error: function () {
             }

+ 1 - 1
whepi-ui/templates/home/buytc.ftl

@@ -89,7 +89,7 @@
              $('#buyCount').val(data.data.buyCount);
              $('#myPhone').val(data.data.phone);
              $('#Myremarks').text(data.data.myRemark);
-             $('#myMenory').text(data.data.buyMoney);
+             $('#myMenory').text(Math.round(data.data.buyMoney * 10) / 10);
          },
          error: function () {
          }