Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\parameter\sys_location.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>?????????</title> <%@ include file="../global/linkcss.jsp" %> <%String toolid ="6206";%> </head> <body> <!-- ????? ???????????????? --> <%@ include file="com_toolbar.jsp" %> <div class="tool-div-search m-top-3" style="margin-top: -1px;"> <div class="easyui-panel" data-options="" style="padding: 5px;width: 100%;"> <%=globalLibName%>?? <select id="search_libcode" item-type="search" no-limit="" class="easyui-combobox" required="true" style="width:220px;height: 28px;" data-options=""> </select> ????? <select id="search_code" item-type="search" init-not-select="true" data-options="prompt:'???????????????'" class="easyui-combobox" style="width:220px;height: 28px;" data-options=""> </select> </div> </div> <!--??? ?????? ??????--> <div class="m-top datagrid-div " style="margin-top: -3px;"> <table id="datagrid-single" class="easyui-datagrid" data-options="singleSelect:true,fit:true,rownumbers:true,fitColumns:true"> <thead> <tr> <th data-options="field:'libcode',align:'center',formatter:onShowLibNameAndCode" width="50"><%=globalLibName%></th> <th data-options="field:'code',align:'center'" width="50">???</th> <th data-options="field:'name',align:'center'" width="80">???</th> <th data-options="field:'locprop',align:'center',formatter:fmtlocproploctype" width="80">???????</th> <th data-options="field:'defdoctype',align:'center',formatter:onShowDocTypeName" width="80">?????????</th> <th data-options="field:'loctype',align:'center',formatter:fmtlocationloctype" width="80">??????</th> <th data-options="field:'sortfield',align:'center'" width="50">??????</th> <th data-options="field:'note',align:'center'" width="50">???</th> </tr> </thead> </table> </div> <!--???????????indow???--> <div id="win" class="easyui-dialog" title="?????????" style="width:500px;height:480px;padding:10px;" data-options=" modal:true,toolbar:'#dlg-toolbar',closed:true,resizable:false,collapsible:false,minimizable:false,maximizable:false,iconCls:'fa fa-gear', onResize:function(){ $(this).window('center'); }"> <!--???????????--> <%@ include file="com_savebar.jsp" %> <div class="table-content"> <table class="table-box table-input" > <tr> <td style="width:40%;"><%=globalLibName%></td> <td style="width:50%;"> <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" class="easyui-textbox" style="width:100%;height: 28px;" ></td> </tr> <tr style="display: none;"> <td >?????</td> <td> <input id="defclass" item-type="record" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'??????'"> </td> </tr> <tr> <td>???</td> <td> <input id="name" item-type="record" class="easyui-textbox" insert-check="repeat" required="true" style="width:100%;height: 28px;" data-options="prompt:'??????'"> </td> </tr> <tr> <td>??????????</td> <td> <select id="defdoctype" item-type="record" no-limit="???" class="easyui-combobox" editable="false" style="width:100%;height: 28px;" editable="true" data-options=""> </select> </td> </tr> <tr> <td>??????</td> <td> <select id="loctype" item-type="record" class="easyui-combobox" editable="false" style="width:100%;height: 28px;" editable="true" data-options=""> </select> </td> </tr> <tr> <td>???????</td> <td> <select id="locprop" item-type="record" class="easyui-combobox" editable="false" style="width:100%;height: 28px;" editable="true" data-options=""> </select> </td> </tr> <tr> <td>????????pac???</td> <td> <select id="showopac" item-type="record" class="easyui-combobox" editable="false" style="width:100%;height: 28px;" editable="true" data-options="panelHeight:'auto'"> <option value="1" selected="selected">???</option> <option value="0">?????</option> </select> </td> </tr> <tr> <td colspan="2" style="">???:?????????????????????????,??????????????????????</td> </tr> <tr> <td>??????</td> <td> <select id="updflag" item-type="record" class="easyui-combobox" editable="false" style="width:100%;height: 28px;" editable="true" data-options=""> </select> </td> </tr> <tr> <td>??????</td> <td> <input id="sortfield" item-type="record" class="easyui-numberbox" style="width:100%;height: 28px;" data-options="prompt:'???????????????????9999'"></input> </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" get-code="true" hidden="hidden" value="location"></input> <%@ include file="../global/easyui-dialog.jsp"%> </body> <%@ include file="../global/linkjs.jsp"%> <script type="text/javascript" src="${pageContext.request.contextPath}/page/parameter/js/parameter_public.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/parameter/js/parameter_filter.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/global/grid/js/grid.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript"> filterParam =[ {"code":"search_libcode","key": "libcode","condition": "code","value": vLibcode}, {"code":"search_rdrtype","key": "rdrtype","condition": "libcode","value": vLibcode}, {"code":"search_doctype,defdoctype","key": "doctype","condition": "libcode","value": vLibcode}, {"code":"search_loanrule","key": "loanrule","condition": "libcode","value": vLibcode}, {"code":"search_code","key": "location","condition": "libcode","value": vLibcode}, {"code":"loctype","key": "locationtype"}, ]; function openWin(data) { cleanJsonData('record'); $('#win').window('open'); if(!data){ setValue("showopac",1); } } function deleteRecord() { var rowData = getRow(); if (isHigherLibcode(rowData.libcode)) { return openMessageDlg("?????????????????????!"); } var pk = getRowPK(); if (!pk) { return; } var pk = getRowPK(); var url = controller_url + 'checkdelete.do'; var param = { 'code' : pk }; $.post(url, param, function(data) { if (data.status == "5001") { openConfirmDlg(data.message+",???????????",null,deleteRecordOk,null); }else{ openConfirmDlg("???????????",null,deleteRecordOk,null); } }, 'json'); } function verifyRepeatData(record,checkPepeat){ var tipArr = [{"name":"???"},{"bcvalue":"??????"}]; var id = checkPepeat[0].id; var url = controller_url + 'page.do'; var param = {}; param[id] = record[id]; param.libcode = record.libcode; $.post(url, param, function(data) { if(data.status == "0" && data.rows.length>0){ var row = data.rows[0]; if(row.id && record.id == row.id){ saveRecordOk(record); }else if(row.code && record.code == row.code){ saveRecordOk(record); }else{ var tipMsg = ""; for(var i = 0;i<tipArr.length;i++){ if(tipArr[i][id]){ tipMsg = tipArr[i][id]; break; } } openMessageDlg(tipMsg+"?????,?????????!"); return false; } }else{ saveRecordOk(record); } }, 'json'); } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de