toBak.jsp
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>回执查询</title>
<jsp:include page="../../template/head.jsp"></jsp:include>
<style type="text/css">
.datagrid-cell{
height: auto;
}
</style>
<body>
<div class="layui-inline" >
<table class="layui-hide" id="main" lay-filter="flight" style="width:99%; text-align="center"></table>
</div>
<input type="hidden" id="sndr" value="${sndr}">
<input type="hidden" id="type" value="${type}">
<input type="hidden" id="styp" value="${styp}">
</body>
<script>
$(document).ready(function(){
var sndr = $("#sndr").val()
var type = $("#type").val()
var styp = $("#styp").val()
//if(!billNo == "" || !billNo == null || !billNo == undefined){
layui.use('table', function(){
var table = layui.table;
//第一个实例
table.render({
elem: '#main'
,height: 'full-20'
,url: '<%=request.getContextPath()%>/rest/eptTetlMessage/findBySeqNo?sndr='+sndr+'&type='+type+'&styp='+styp
,page: false //开启分页
,cols: [[ //表头
{field: 'sndr', title: '业务单号', width:200}
,{field: 'outtm', title: '回执时间', width:200}
,{field: 'remark', title: '回执内容', width:550}
]]
});
});
})
function loading(){
//var index = layer.load(0, {shade: 0.01})
var index = layer.msg('查询中', {
icon: 16
,shade: 0.01
});
}
function unloading(){
//var index = layer.load(0, {shade: 0.01})
layer.closeAll();
}
</script>
</html>