ac400bcb by wang

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

2 parents d21e411f e77bae6f
......@@ -53,7 +53,7 @@
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-4 col-md-2">
<input type="text" name="loanDate" class="form-control input-text Wdate" value="" onfocus="WdatePicker()">
<input type="text" name="loanDate" class="form-control input-text Wdate" value="" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss'})">
</div>
</div>
</div>
......@@ -91,9 +91,10 @@
<script>
function pass() {
var orderId = "<?=$id?>";
var loanDate = $('[name=loanDate]').val();
$.ajax({
type: 'put',
url: apiBaseUrl + 'flow/confirm/loan/' + orderId + '?loanDate=' + $('[name=loanDate]').val(),
url: apiBaseUrl + 'flow/confirm/loan/' + orderId + '?loanDate=' + loanDate,
cache: false,
dataType: 'json',
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!