toBill.jsp
1.8 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="gNo" value="${gNo}">
</body>
<script>
$(document).ready(function(){
var gNo = $("#gNo").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/eptStoreTinDelay/findForGnos?gNo='+gNo
,page: false //开启分页
,cols: [[ //表头
{field: 'gNo', title: '项号', width:100}
,{field: 'storeInNo', title: '进库单号', width:180}
,{field: 'codeTS', title: '商品编码', width:150}
,{field: 'gName', title: '货物名称', width:100}
,{field: 'qty', title: '申报数量', width:100}
,{field: 'total', title: '总价', width:100}
,{field: 'startDate', title: '进库日期', width:180}
]]
});
});
})
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>