ac400bcb by wang

Merge remote-tracking branch 'origin/develop' into develop

2 parents d21e411f e77bae6f
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <div class="panel-body"> 53 <div class="panel-body">
54 <div class="row cl"> 54 <div class="row cl">
55 <div class="form-group col-sm-4 col-md-2"> 55 <div class="form-group col-sm-4 col-md-2">
56 <input type="text" name="loanDate" class="form-control input-text Wdate" value="" onfocus="WdatePicker()"> 56 <input type="text" name="loanDate" class="form-control input-text Wdate" value="" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss'})">
57 </div> 57 </div>
58 </div> 58 </div>
59 </div> 59 </div>
...@@ -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",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!