4cdc1a28 by yangjianbin

init

1 parent efde7188
......@@ -81,6 +81,10 @@
function save() {
var targetUrl = $("#add").attr("action");
var data = $("#add").serializeJson();
data.annualInterestRate = parseFloat(data.annualInterestRate) / 100;
data.overdueFine = parseFloat(data.overdueFine) /100;
data.interestPenalty = parseFloat(data.interestPenalty) / 100;
$.ajax({
type: 'post',
url: apiBaseUrl + targetUrl,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!