perf: payment list

webht/payment
Lei OT 7 months ago
parent c3b265a58f
commit 3329ddd85a

@ -34,10 +34,10 @@
<dl class="dl-horizontal">
<div class="input-group">
<input type="text" class="form-control" id="pn_invoice" name="pn_invoice" value="<?php //echo!empty($ALI_orderId) ? $ALI_orderId : $note->ALI_orderId; ?><?php echo !empty($new_order) ? $new_order : $old_order; ?>"
<?php
<?php
if ($group_accout_info['GAI_State'] > 0) { ?>
disabled="disabled"
<?php } ?>
<?php } ?>
>
<span class="input-group-addon search-btn" onclick="show_order_modal('<?php echo $note->ALI_dealId; ?>', $('#pn_invoice').val(),'<?php echo $note->ALI_noticeTime; ?>','<?php echo $note->ALI_orderId; ?>')"></span>
</div>
@ -67,7 +67,14 @@
</dl>
<dl class="dl-horizontal">
<p><a href="javascript:void(0);" onclick="$('#note_original_data').toggle()" style="color:#a31022;" >原始数据&nbsp;&raquo;</a></p>
<span style="display: none;" id="note_original_data"><?php echo str_replace('","', '"<br/>"', $note->ALI_memo); ?></span>
<div style="display: none;font-size:smaller;" id="note_original_data">
<pre><?php
$array = json_decode($note->ALI_memo, true); // var_dump($array);
$jsonPretty = json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
echo htmlspecialchars($jsonPretty);
?>
</pre>
</div>
</dl>
<input type="hidden" name="pn_txn_id" id="pn_txn_id" value="<?php echo $note->ALI_dealId; ?>" />

@ -414,7 +414,13 @@ jQuery.browser = {};
dateFormat: "Y-m-d",
defaultDate: "<?php echo isset($date) ? $date : ''; ?>",
onChange: function (selectedDates, dateStr, instance) {
window.location.href = '/webht.php/apps/pay/paymentservice/note_list?date=' + dateStr;
var currentParam = window.location.search ? window.location.search : '?_t=1';
if (currentParam.indexOf('date') > -1) {
currentParam = currentParam.replace(/date=[^&]*/, 'date=' + dateStr);
} else {
currentParam += '&date=' + dateStr;
}
window.location.href = '/webht.php/apps/pay/paymentservice/note_list' + currentParam;
}
});
})

Loading…
Cancel
Save