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.
62 lines
2.4 KiB
62 lines
2.4 KiB
<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/ajax.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
|
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
|
<form id="searchForm" method="GET">
|
|
<tr>
|
|
<td class="td_bg">
|
|
<label for="car_no">车牌号:</label>
|
|
<input id="car_no" name="car_no" type="text" size="10" value="<?= $car_no ?>">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_bg">
|
|
<input type="submit" class="act_btn" value="搜索">
|
|
<input type="reset" class="act_btn" value="重置">
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
|
<tr>
|
|
<td width="50" align="center" align="center" class="bg_tr" nowrap>排序</td>
|
|
<td align="center" align="center" class="bg_tr">车牌号</td>
|
|
<td align="center" align="center" class="bg_tr">被保险人</td>
|
|
<td align="center" align="center" class="bg_tr">联系人</td>
|
|
<td align="center" align="center" class="bg_tr">电话</td>
|
|
<td align="center" align="center" class="bg_tr">提单日期</td>
|
|
<td align="center" align="center" class="bg_tr">提单者</td>
|
|
<td align="center" align="center" class="bg_tr">状态</td>
|
|
<td width="30" align="center" class="bg_tr">操作</td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript" language="javascript">
|
|
//编辑
|
|
function edit(id, status) {
|
|
window.location.href = '/business-order/order-info?id=' + id + '&status=' + status + '&type=2';
|
|
}
|
|
|
|
//删除
|
|
function del(id) {
|
|
if (confirm('是否确认删除?')) {
|
|
$.post('/business-order/delete', {id: id}, function (obj) {
|
|
alert(obj.msg);
|
|
if (obj.success) {
|
|
window.location.reload();
|
|
}
|
|
}, 'json');
|
|
}
|
|
}
|
|
|
|
//添加
|
|
$('#add-btn').click(function () {
|
|
window.location.href = '/business-order/search';
|
|
});
|
|
|
|
function overColor() {
|
|
}
|
|
$('#reset-btn').on('click',function(){
|
|
$('#searchForm').reset;
|
|
});
|
|
</script>
|
|
|