init
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -91,9 +91,10 @@ | ... | @@ -91,9 +91,10 @@ |
| 91 | <script> | 91 | <script> |
| 92 | function pass() { | 92 | function pass() { |
| 93 | var orderId = "<?=$id?>"; | 93 | var orderId = "<?=$id?>"; |
| 94 | var loanDate = $('[name=loanDate]').val(); | ||
| 94 | $.ajax({ | 95 | $.ajax({ |
| 95 | type: 'put', | 96 | type: 'put', |
| 96 | url: apiBaseUrl + 'flow/confirm/loan/' + orderId + '?loanDate=' + $('[name=loanDate]').val(), | 97 | url: apiBaseUrl + 'flow/confirm/loan/' + orderId + '?loanDate=' + loanDate, |
| 97 | cache: false, | 98 | cache: false, |
| 98 | dataType: 'json', | 99 | dataType: 'json', |
| 99 | contentType: "application/json; charset=UTF-8", | 100 | contentType: "application/json; charset=UTF-8", | ... | ... |
-
Please register or sign in to post a comment