Edit D:\rfid\libsystem\page\global\batchno.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String type = "1"; if(request.getParameter("type") != null){ type = request.getParameter("type") ; } %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>??????</title> <%@ include file="../global/linkcss.jsp" %> </head> <body > <!-- ????? ???????????????? --> <div class="tool-div-para"> <div class="easyui-panel" id="ddddddd" data-options="fit:true" style="padding: 5px;"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-search'" onclick="searchRecord()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-plus'" onclick="insertRecord()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-edit '" onclick="updateRecord()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-trash'" onclick="deleteRecord()" >???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-close'" onclick="colseParentDlg()">????????</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-close'" onclick="colseBatchNoDlg()">???</a> </div> </div> <div class="tool-div-serach m-top-3" style="height: 40px;"> <div class="easyui-panel" data-options="" style="padding: 5px;width: 100%;"> ??? <select id="search_libcode" no-limit="" item-type="search" class="easyui-combobox" required="true" editable="false" style="width:220px;height: 26px;" data-options=""> </select> ????? <input class="easyui-textbox" id="search_code" item-type="search" data-options="prompt:'???????????'" style="width:220px;height: 26px;"> <input id="search_type" item-type="search" item-type="record" hidden="hidden"> </div> </div> <!--??? ?????? ??????--> <div class="m-top datagrid-div" style="height: 350px;width:760px;"> <table id="datagrid-single" class="easyui-datagrid" data-options="singleSelect:true,fit:true,nowrap:false,pagination:true,striped:true"> <thead> <tr> <!-- <th data-options="field:'ck',checkbox:true" width="10"></th> --> <th data-options="field:'libcode',formatter:onShowLibName" width="100">??????</th> <th data-options="field:'code'" width="200">???</th> <th data-options="field:'bookseller',formatter:onShowBooksellerName" width="200">???</th> <th data-options="field:'status',formatter:onShowBacthnoStatus" width="100">????</th> <th data-options="field:'note'" width="150">???</th> </tr> </thead> </table> </div> <!--???????????indow???--> <div id="win" class="easyui-dialog" title="??????" style="width:500px;height:310px;padding:10px;top: 20px;left:20px;" data-options=" modal:true,toolbar:'#dlg-toolbar',closed:true,resizable:false,collapsible:false,minimizable:false,maximizable:false,iconCls:'fa fa-gear'"> <!--???????????--> <%@ include file="../parameter/com_savebar.jsp"%> <div class="table-content"> <input id="type" item-type="record" hidden="hidden" keep-value="true"> <table class="table-box table-input"> <tr> <td style="width:30%;">???</td> <td style="width:70%;"><select id="libcode" item-type="record" class="easyui-combobox" required="true" style="width:100%;height: 28px;" editable="false" data-options=""> </select></td> </tr> <tr> <td>???</td> <td><input id="code" item-type="record" update-readonly="true" class="easyui-textbox" required="true" style="width:100%;height: 28px;"></td> </tr> <tr> <td>???</td> <td> <select id="bookseller" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td>????</td> <td> <select id="status" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options="panelHeight:'auto'"> <option value="0">?????</option> <option value="1">?????</option> </select> </td> </tr> <!-- <tr style="display: none;"> <td>???</td> <td><input id="type" item-type="record" class="easyui-textbox" required="true" style="width:100%;height: 28px;" data-options="prompt:'????????'"> </td> </tr> --> <tr> <td>???</td> <td><input id="note" item-type="record" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'???????????'"></td> </tr> </table> </div> </div> <input id="controller_id" hidden="hidden" value="batchno"></input> <%@ include file="../global/easyui-dialog.jsp"%> </body> <%@ include file="../global/linkjs.jsp"%> <script type="text/javascript" src="${pageContext.request.contextPath}/page/global/grid/js/grid.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/parameter/js/parameter_public.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript"> $(function () { var type = '<%=type%>'; $('#global-message-dlg').window('resize',{top: 40,left:40}); _myPage.prototype.onLoadAllLibDataNoLimit({"code":"showlibcode","key": "libcode"}); $('.easyui-panel').panel('resize'); _myPage.prototype.initDataOne( {"code":"search_libcode","key": "libcode","condition": "code","value": vLibcode}); onLoadGridData(type); }); _myPage.prototype.initDataOneSuccess = function(data,params){ setTextLibFun(); } function setTextLibFun(){ // ????????? //setValue("search_libcode", vLibcode); enterEvent("search_code",searchRecord); } function closeWin(data) { if(data){ setValue("search_libcode",getValue("libcode")); setDatagridParam(); } $('#win').window('close'); } function onLoadGridData(type){ setValue("search_libcode", ""); $("#type").val(type); $("#search_type").val(type); setValue("search_code",""); searchRecord(); } function onShowBacthnoStatus(value,row){ if("0" == value){ return "?????"; } if("1" == value){ return "?????"; } return value; } function colseParentDlg() { var getRow=$("#datagrid-single").datagrid('getSelected'); if (!getRow) { openMessageDlg('??????????'); return getRow; } var type = $("#type").val(); parent.colseIframeDlg("bibsetpara_batchno_dlg",type,getRow.code); } function colseBatchNoDlg(){ parent.colseIframeDlg("bibsetpara_batchno_dlg",null,null); } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de