Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4cdc1a28
authored
2018-03-25 15:51:15 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
efde7188
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
application/views/config/add.php
application/views/config/add.php
View file @
4cdc1a2
...
...
@@ -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
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment