| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>单据编号列表</title>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- var grid = null;
- var win1 = null;
- $(function () {
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '单据编号名称', name: 'order_form_name', width: 120 },
- { display: '备注', name: 'v_remark', width: 150 },
- // { display: '所属公司', name: 'groupname', width: 100},
- {
- display: '操作', isAllowHide: false,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"window.parent.f_addTab(new Date().getTime(), \'修改单据编号\', \'${pageContext.request.contextPath }/orderFormSettingAction.do?task=toEdit&order_form_id='
- + row.order_form_id + '&tabid='+getCurrentTabId()+'\');\">编辑</a> ';
- html += '<a href=\"#\" onclick=\"window.parent.f_addTab(new Date().getTime(), \'查看单据编号\', \'${pageContext.request.contextPath }/orderFormSettingAction.do?task=info&order_form_id='
- + row.order_form_id + '&tabid='+getCurrentTabId()+'\');\">查看</a> ';
- return html;
- }
- }
- ],
- pageSize:20,
- url: 'orderFormSettingAction.do?task=list&time=' + new Date().getTime(),
- parms: [{name: "order_form_name", value: ""}],
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.6%',
- height: '99%',//getParentHeight()-67,
- onError: function(){alert("数据加载失败,请刷新页面!");}
- });
- $("#pageloading").hide();
- });
-
- function searchByKword(){
- grid._setParms([{name: "order_form_name", value: encodeURI($("#order_form_name").val())}]);
- grid.loadData(true);
- }
- function searchAll() {
- $("#order_form_name").val("");
- searchByKword();
- }
- </script>
- </head>
- <body>
- <div class="container-layout">
- <div id="title" class="form-button">
- <%-- <input type="button" class="l-button" style="width: 100px;" value="创建单据编号" onclick="window.parent.f_addTab(new Date().getTime(), '创建表单枚举', '${pageContext.request.contextPath }/orderFormSettingAction.do?task=toCreate&tabid=' + getCurrentTabId());"/> --%>
- <input onclick="closeWindow();" type="button" value="关闭" class="l-button">
- </div>
- <div class="default_search" style="margin: 0; padding:0; width: 99.7%;">
- <ul class="list_search">
- <li class="title" style="width: 100px;">单据编号名称:</li>
- <li class="text" style="width: 100px;">
- <input type="text" id="order_form_name" name="order_form_name" value="" style="width: 130px;">
- </li>
- </ul>
- <ul>
- <li class="search-button">
- <input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询"/>
- <input type="button" class='l-button' name="search" onclick="searchAll()" value="查询全部"/>
- </li>
- </ul>
- </div><div style="clear: both;">
- <div id="maingrid4" style="margin:0; padding:0"></div>
- </div>
- <div style="display:none;">
- <!-- g data total ttt -->
- </div>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|