7ff38f35 by wang

init

1 parent 9ed942f7
......@@ -44,12 +44,15 @@
<script>
function pass(id) {
var data = $("#form1").serializeJson();
// var data = $("#form1").serializeJson();
var data = {
realRepaymentDate: $("input[name='realRepaymentDate']").val()
};
console.log(data);
$.ajax({
type: 'patch',
// url: apiBaseUrl + 'manage/financial/confirm/' + id + '?realRepaymentDate=' + Date.now(),
url: apiBaseUrl + 'manage/financial/confirm/' + $('#id').val()+ '?realRepaymentDate=',
url: apiBaseUrl + 'manage/financial/confirm/' + $('#id').val()+ '?realRepaymentDate='+$("input[name='realRepaymentDate']").val(),
cache: false,
dataType: 'json',
data: JSON.stringify(data),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!