Browse Source

admin 2月15号

guojing 5 years ago
parent
commit
ceec696410
2 changed files with 2 additions and 2 deletions
  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)
                 if (data.data.buyMoney != null)
                     $('#buyCount').val(data.data.buyCount);
                     $('#buyCount').val(data.data.buyCount);
                 if (data.data.buyMoney != null)
                 if (data.data.buyMoney != null)
-                    $('#myMenory').text(data.data.buyMoney);
+                    $('#myMenory').text(Math.round(data.data.buyMoney * 10) / 10);
             },
             },
             error: function () {
             error: function () {
             }
             }

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

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