|
|
|
@ -90,10 +90,11 @@ $(function(){
|
|
|
|
|
$('#get_price').click(function(){
|
|
|
|
|
var from_time = $('#from_time').val();
|
|
|
|
|
var to_time = $('#to_time').val();
|
|
|
|
|
var rate = $('#rate').val();
|
|
|
|
|
|
|
|
|
|
if(from_time != '' && to_time != ''){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url:'/webht.php/apps/messagecenter/index/count_price?from_time='+from_time+'&to_time='+to_time,
|
|
|
|
|
url:'/webht.php/apps/messagecenter/index/count_price?from_time='+from_time+'&to_time='+to_time+'&rate='+rate,
|
|
|
|
|
success:function(json,status){
|
|
|
|
|
var data = JSON.parse(json);
|
|
|
|
|
$('#tp_price').html('tp费用:'+data.tp);
|
|
|
|
|