You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
5.8 KiB
PHP
113 lines
5.8 KiB
PHP
<link href="/css/webht/jquery-ui-1.10.0.custom.css" rel="stylesheet">
|
|
|
|
<div class="container" style="margin-top:15px;">
|
|
<div class="row">
|
|
<div class="col-sm-7 col-xs-24 pull-right" style="margin-bottom:15px;">
|
|
<div class="col-xs-24" style="background:#ffffff;">
|
|
<div class="hidden-xs">
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
<h4>订单类型</h4>
|
|
<ul class="list-unstyled group-nav-list">
|
|
<li class="col-xs-24"><a href="<?php echo site_url('apps/partners/index/group');?>" style="text-decoration:none;line-height:30px;"><span class="glyphicon glyphicon-education" aria-hidden="true"> </span>成行订单</a></li>
|
|
<li class="col-xs-24"><a href="<?php echo site_url('apps/partners/index/group/all');?>" style="text-decoration:none;line-height:30px;"><span class="glyphicon glyphicon-send" aria-hidden="true"> </span>最近订单</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
<h4>订单搜索</h4>
|
|
<form method="post" action="<?php echo site_url('apps/partners/index/group');?>">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="date1" name="date1" placeholder="提交起始日期" value="<?php echo $date1; ?>" autocomplete="off">
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="date2" name="date2" placeholder="提交截止日期" value="<?php echo $date2; ?>" autocomplete="off">
|
|
</div>
|
|
<div class="form-group">
|
|
<select class="form-control" name="status" id="status">
|
|
<option value="all" <?php if($status=='all') echo 'selected="selected"'; ?> >All</option>
|
|
<option value="1" <?php if($status=='1') echo 'selected="selected"'; ?>>新订单</option>
|
|
<option value="2" <?php if($status=='2') echo 'selected="selected"'; ?>>报价中</option>
|
|
<option value="4" <?php if($status=='4') echo 'selected="selected"'; ?>>等待付定金</option>
|
|
<option value="5" <?php if($status=='5') echo 'selected="selected"'; ?>>成行</option>
|
|
<option value="7" <?php if($status=='7') echo 'selected="selected"'; ?>>已取消</option>
|
|
</select>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-danger btn-block">查询</button>
|
|
</form>
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
<div class="hidden-xs">
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-17 pull-left">
|
|
<?php foreach ($list as $key => $g) { ?>
|
|
<div class="panel-body feed_box">
|
|
<div class="media">
|
|
<div class="media-left hidden-xs" style="padding-right:20px;">
|
|
<div class="img-circle text-center" style="height:70px;width:70px;padding-top:3px;border:1px solid green;">
|
|
<?php $ApplyDate=strtotime($g->COLI_ApplyDate);?>
|
|
<?php echo date('d',$ApplyDate); ?><br><?php echo date('M',$ApplyDate); ?><br><?php echo date('Y',$ApplyDate); ?>
|
|
</div>
|
|
</div>
|
|
<div class="media-body">
|
|
<h4 class="text-primary strong">订单号: <?php echo $g->COLI_ID; ?></h4>
|
|
<p>订单类型:<?php echo $g->COLI_OrderType;?></p>
|
|
<p>报价名称:<?php echo $g->PTI_Name;?></p>
|
|
<p>订单人数:<?php echo $g->COLI_PersonNum;?></p>
|
|
<p>订单来源:<?php echo $g->COLI_OrderSource;?></p>
|
|
<p>预订天数:<?php echo $g->COLI_Days;?></p>
|
|
<p>出发日期:<?php echo $g->COLI_OrderStartDate;?></p>
|
|
<p>来往记录:<a class="mailinfo_link" href="javascript:void(0);" data-action="<?php echo site_url('apps/partners/index/mail_info/'.$g->COLI_ID); ?>">查看来往邮件</a></p>
|
|
</div>
|
|
</div>
|
|
<legend style="margin-bottom:12px;"></legend>
|
|
<a href="javascript:void(0);" class="col-xs-6 text-center text-muted guideinfomodal" data-url="<?php echo site_url('apps/partners/index/customerinfo/'.$g->Vkey);?>" style="border-right:1px solid #ddd;">客人信息</a>
|
|
<a href="javascript:void(0);" class="col-xs-6 text-center text-muted guideinfomodal" data-url="<?php echo site_url('apps/partners/index/groupinfo/'.$g->COLI_GRI_SN);?>" style="border-right:1px solid #ddd;">团信息</a>
|
|
<a href="javascript:void(0);" class="col-xs-6 text-center text-muted guideinfomodal" data-url="<?php echo site_url('apps/partners/index/guideinfo/'.$g->COLI_GRI_SN);?>" style="border-right:1px solid #ddd;">地接导游</a>
|
|
<?php if(!empty($g->SFI_FileName)){ ?>
|
|
<a target="_blank" href="http://www.chinahighlights.com/community/tourManager/letter<?php echo $g->SFI_Location.$g->SFI_FileName;?>.html" class="col-xs-6 text-center " >确认信</a>
|
|
<?php } ?>
|
|
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content guidemodalcontent">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/js/jquery-ui.min.js?v=1"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$('#date1,#date2').datepicker({
|
|
inline: true,
|
|
dateFormat: 'mm/dd/yy'
|
|
});
|
|
$(".guideinfomodal").click(function(){
|
|
$(".guidemodalcontent").html('');
|
|
var url=$(this).attr('data-url');
|
|
$(".guidemodalcontent").load(url);
|
|
$('#myModal').modal('show');
|
|
});
|
|
|
|
$("body").on("click",".mailinfo_link",function()
|
|
{
|
|
var url=$(this).attr('data-action');
|
|
$.post(url,'',function(html){
|
|
$(html).appendTo("body");
|
|
$('.bs-example-modal-lg').modal({
|
|
keyboard: true,
|
|
backdrop: 'static'
|
|
});
|
|
$('.bs-example-modal-lg').modal('show');
|
|
});
|
|
});
|
|
});
|
|
</script>
|