You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
6.2 KiB
148 lines
6.2 KiB
5 years ago
|
<?php
|
||
|
use \common\libs\MyLib;
|
||
|
?>
|
||
|
<link rel="stylesheet" href="/js/fileupload/css/jquery.fileupload.css">
|
||
|
|
||
|
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
||
|
<form id="searchForm">
|
||
|
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||
|
<tr>
|
||
|
<td class="td_bg">
|
||
|
<!--新增搜索项-->
|
||
|
<!--完成程度-->
|
||
|
|
||
|
|
||
|
车牌号:<input name="car_no" type="text" value="<?=$car_no?>">
|
||
|
快递号:<input name="insurer_no" type="text" value="<?=$insurer_no?>">
|
||
|
收件人:<input name="link_name" type="text" value="<?=$id_man?>">
|
||
|
|
||
|
<!--日期-->
|
||
|
正本日期:
|
||
|
<input type="Text" class="Wdate" name="r_begin_date" onclick="WdatePicker()" value="<?= $z_begin_date ?>" />
|
||
|
--
|
||
|
<input type="Text" class="Wdate" name="r_end_date" onclick="WdatePicker()" value="<?= $z_end_date ?>" />
|
||
|
快递日期:
|
||
|
<input type="Text" class="Wdate" name="begin_date" onclick="WdatePicker()" value="<?= $begin_date ?>" />
|
||
|
--
|
||
|
<input type="Text" class="Wdate" name="end_date" onclick="WdatePicker()" value="<?= $end_date ?>" />
|
||
|
|
||
|
|
||
|
|
||
|
<input type="button" class="act_btn" id="search-btn" name="search-btn" value="搜索">
|
||
|
<!-- <input type="button" class="act_btn" id="output-btn" name="output-btn" value="导出">-->
|
||
|
</td>
|
||
|
</tr>
|
||
|
</form>
|
||
|
</table>
|
||
|
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
||
|
<tr>
|
||
|
<td width="24" align="center" class="bg_tr">序号</td>
|
||
|
<td align="center" class="bg_tr">车牌号</td>
|
||
|
<td align="center" class="bg_tr">快递公司</td>
|
||
|
<td align="center" class="bg_tr">收件人姓名</td>
|
||
|
<td align="center" class="bg_tr">快递单号</td>
|
||
|
<td align="center" class="bg_tr">体检卡号</td>
|
||
|
<td align="center" class="bg_tr">收件人地址</td>
|
||
|
<td align="center" class="bg_tr">正本时间</td>
|
||
|
<td align="center" class="bg_tr">快递时间</td>
|
||
|
|
||
|
<td align="center" class="bg_tr">编辑</td>
|
||
|
</tr>
|
||
|
<?php
|
||
|
foreach($items as $index => $item) {
|
||
|
$start_index = ($page-1)*20+$index;
|
||
|
$order = $item->order;
|
||
|
?>
|
||
|
<tr style="height:24px;" onMouseOver="overColor(this)" onMouseOut="outColor(this)">
|
||
|
<td align="center" class="td_bg" nowrap><?=$start_index+1?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->car_no?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?php if($item->ems_company==1):?>德邦<?php else:?> <?php endif;?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->link_name?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->ems_no?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->physical_no?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->link_address?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->original_date?></td>
|
||
|
<td align="center" class="td_bg" nowrap><?=$item->send_date?></td>
|
||
|
|
||
|
<td align="center" class="td_bg" nowrap>
|
||
|
[<a href="javascript:void(0);" onclick="edit(<?=$item->id?>)">维护</a>]
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
<tr>
|
||
|
<td height="25" colspan="13" align="center" class="td_bg"><?=$page_info?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<script type="text/javascript" language="javascript" src="/js/jquery-1.8.3.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/datepicker/WdatePicker.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/vendor/jquery.ui.widget.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/jquery.iframe-transport.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/jquery.fileupload.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/ajax.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
//编辑
|
||
|
function edit(id) {
|
||
|
var params = $('#searchForm').serialize();
|
||
|
window.location.href = '/finance/ems-edit-info?id=' + id + '&back_params=' + encodeURIComponent(params);
|
||
|
}
|
||
|
|
||
|
$(function () {
|
||
|
//上传按钮
|
||
|
|
||
|
|
||
|
//提交按钮
|
||
|
// $("#submit-btn").click(function(){
|
||
|
// if(confirm('是否确认提交?')) {
|
||
|
// var urlfile = $("#urlfile").val();
|
||
|
// var import_type = $(".import_type").val();
|
||
|
//
|
||
|
// if(urlfile == ''){
|
||
|
// alert('请先选择文件!');
|
||
|
// return false;
|
||
|
// }
|
||
|
// var last_url = '/finance/receipt-process';
|
||
|
// var params = $("#theFrm").serialize();
|
||
|
//
|
||
|
// $.post(last_url,params,function(obj){
|
||
|
// alert(obj.msg);
|
||
|
// if(obj.success){
|
||
|
// $('#theFrm')[0].reset();
|
||
|
// window.location.reload();
|
||
|
// }
|
||
|
// },'json');
|
||
|
// }
|
||
|
// });
|
||
|
//上传
|
||
|
// $('#fileupload').fileupload({
|
||
|
// url: '/finance/receipt-upload',
|
||
|
// dataType: 'json',
|
||
|
// done: function (e, data) {
|
||
|
// var file_info = data.result.files[0];
|
||
|
// $('#urlfile').val(file_info.url);
|
||
|
// $('#submit-btn').removeAttr('disabled');
|
||
|
// }
|
||
|
// });
|
||
|
//搜索
|
||
|
$("#search-btn").click(function(){
|
||
|
$('#page').val(0);
|
||
|
var params = $('#searchForm').serialize();
|
||
|
window.location.href = "/finance/ems-edit-list?" + params;
|
||
|
});
|
||
|
//导出
|
||
|
// $("#output-btn").click(function(){
|
||
|
// $('#page').val(0);
|
||
|
// var params = $('#searchForm').serialize();
|
||
|
// window.location.href = "/finance/receipt-output?" + params;
|
||
|
// });
|
||
|
})
|
||
|
</script>
|
||
|
<style>
|
||
|
input[type="text"] {
|
||
|
width: 134px;
|
||
|
}
|
||
|
|
||
|
</style>
|