Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\acquisition\acq_treatRepeatForBib.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 = "0"; String typeTitle = "???"; if(request.getParameter("type") != null){ type = request.getParameter("type") ; } if(type.equals("1")){ typeTitle = "???"; } %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>?????????</title> <%@ include file="../global/linkcss.jsp" %> </head> <body> <body class="m-top"> <!-- ????? ???????????????? --> <div class="tool-div"> <div class="easyui-panel m-top" data-options="fit:true" style="padding: 5px;" > <a id="bntCheckBibRepeat" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-search'" >???????</a> <%if(type.equals("0")){%> <%if(MyJspUtils.checkAuthority(session,"100601")){%> <a id="bntTreatRepeatBib" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-trash'" >??????(???)</a> <%}%> <%if(MyJspUtils.checkAuthority(session,"100602")){%> <a id="bntTreatRepeatOneBib" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-trash'" >??????????</a> <%}%> <%}else{%> <%if(MyJspUtils.checkAuthority(session,"500601")){%> <a id="bntTreatRepeatBib" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-trash'" >??????(???)</a> <%}%> <%if(MyJspUtils.checkAuthority(session,"500602")){%> <a id="bntTreatRepeatOneBib" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-trash'" >??????????</a> <%}%> <%}%> <a id="bntFormatDesign" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="onFormatDesign()">?????????</a> </div> </div> <div class="tool-div-search" style="height: 0;"> </div> <div class="easyui-panel"> <div class="table-content" > <table class="table-box rdr-table-input" > <tr> <td class="div-tr-td" style="width: 10%">??????????</td> <td style="width: 30%"> <select id="sysid" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" style="width: 10%">??????</td> <td style="width: 20%"> <select id="tagtype" item-type="record" disabled="disabled" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options="panelHeight:'auto'"> <option value="acq">?????</option> </select> </td> <td class="div-tr-td" style="width: 10%">??????</td> <td > <select id="repid" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options="panelHeight:'auto'"> </select> </td> </tr> <tr> <td class="div-tr-td" style="width: 10%">?????????</td> <td > <select id="orgcode" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" data-options="panelHeight:'auto'"> </select> </td> <td class="div-tr-td ">?????????</td> <td class="acq-text"> <input id="copies" item-type="record" class="easyui-numberbox" style="width:100%;height: 28px;" data-options="prompt:'?????????????????'"> </td> <td class="div-tr-td">??????</td> <td class="acq-text"> <select id="reptype" item-type="record" class="easyui-combobox" style="width:100%;height: 24px;" editable="false" data-options="panelHeight:'auto'"> <option value="">???</option> <option value="1">????????????</option> <option value="2">??????????????</option> <option value="3">???????????????</option> </select> </td> </tr> </table> </div> </div> <div style="height: 280px;"> <div class="easyui-layout" data-options="fit:true"> <div data-options="region:'center',border:false" style="width:100%;margin-top: -1px;"> <table id="tagcodes" item-type="record" class="easyui-datagrid m-top" title="??????????????" data-options="singleSelect:false,fit:true,fitColumns:true,border:false" > <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'code',align:'center'" width="36%">???</th> <th data-options="field:'note',align:'center'" width="60%">???</th> </tr> </thead> </table> </div> <div data-options="region:'east',collapsible:false" title="?????????" style="width:50%; margin-top: -1px; "> <table id="locations" item-type="record" class="easyui-datagrid" data-options="singleSelect:false,fit:true,fitColumns:true,border:false,toolbar:'#tb'" > <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'code',align:'center'" width="36%">???</th> <th data-options="field:'name',align:'center'" width="60%">???</th> </tr> </thead> </table> <div id="tb" style="padding:2px 5px;"> <%=globalLibName%>????: <select id="fitleribcode" item-type="record" class="easyui-combobox" panelHeight="auto" style="width:80%"> </select> </div> </div> </div> </div> <div class="import-data-div" style="margin-top: -2px;"> <div class="easyui-layout" data-options="fit:true"> <div data-options="region:'center',collapsible:false" title="????????" style="width:50%;margin-top: -1px;"> <table id="orgDataGridList" class="easyui-datagrid" data-options="singleSelect:true,fit:true,fitColumns:true,pagination:true,striped:true,selectOnCheck:false,checkOnSelect:false" > <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'id'" width="60">????????</th> <th data-options="field:'libcode',formatter:onShowLibName" width="80"><%=globalLibName%>???</th> <th data-options="field:'cmdnum'" width="80">??????</th> <th data-options="field:'isbn'" width="80">ISBN??</th> <th data-options="field:'classno'" width="80">?????</th> <th data-options="field:'title'" width="200">???</th> <th data-options="field:'author'" width="100">????</th> <!-- <th data-options="field:'orderno'" width="100">??????</th> <th data-options="field:'unifiedno'" width="100">??????</th> --> <th data-options="field:'price'" width="80">???</th> <th data-options="field:'publish'" width="80">?????</th> <th data-options="field:'publishdate'" width="80">??????</th> <th data-options="field:'publishaddress'" width="80">?????</th> <th data-options="field:'seriesname'" width="80">?????</th> <th data-options="field:'ordernum'" width="80">??????</th> <th data-options="field:'linkid'" width="80">????????</th> </tr> </thead> </table> </div> <div data-options="region:'east',collapsible:false" title="?????????" style="width:50%; margin-top: -1px; "> <div id="tabsGrid" class="easyui-tabs" data-options="tools:'#tabGrid-tools',fit:true,border:false" style="margin-top: -1px;"> <div title="?????????" style="margin-top: -1px;"> <table id="tagDataGridList" class="easyui-datagrid" data-options="singleSelect:true,fit:true,fitColumns:true,pagination:true,striped:true,selectOnCheck:false,checkOnSelect:false" > <thead> <tr> <th data-options="field:'id'" width="60">????????</th> <th data-options="field:'libcode',formatter:onShowLibName" width="80"><%=globalLibName%>???</th> <th data-options="field:'isbn'" width="80">ISBN??</th> <th data-options="field:'classno'" width="80">?????</th> <th data-options="field:'title'" width="200">???</th> <th data-options="field:'author'" width="100">????</th> <!-- <th data-options="field:'orderno'" width="100">??????</th> <th data-options="field:'unifiedno'" width="100">??????</th> --> <th data-options="field:'price'" width="80">???</th> <th data-options="field:'publish'" width="80">?????</th> <th data-options="field:'publishdate'" width="80">??????</th> <th data-options="field:'publishaddress'" width="80">?????</th> <th data-options="field:'seriesname'" width="80">?????</th> </tr> </thead> </table> </div> <div title="?????????" style="margin-top: -1px;"> <table id="holdDataGridList" class="easyui-datagrid" style="margin-top: -1px;" data-options="singleSelect:true,fit:true,fitColumns:true,pagination:true,striped:true" > <thead> <tr> <!-- <th data-options="field:'id'" width="80">????????</th> --> <th data-options="field:'libcode',formatter:onShowLibName" width="80">?????</th> <th data-options="field:'curlibcode',formatter:onShowLibName" width="80">?????</th> <th data-options="field:'barcode'" width="140">?????</th> <th data-options="field:'callno'" width="80">?????</th> <th data-options="field:'shelfno'" width="80">?????</th> <th data-options="field:'location',formatter:onShowLocationName" width="80">???????</th> <th data-options="field:'curlocation',formatter:onShowLocationName" width="80">???????</th> <th data-options="field:'doctype',formatter:onShowDocTypeName" width="80">??????</th> <th data-options="field:'status',formatter:onShowHoldStatusName" width="80">???????</th> <!-- <th data-options="field:'docsources',formatter:onShowDocSourcesName" width="80">??????</th> --> <th data-options="field:'loandate',formatter:onShowFmtDate" width="80">??????</th> <!-- <th data-options="field:'loantime',formatter:onShowFmtTime" width="80">??????</th> --> <th data-options="field:'returndate',formatter:onShowFmtDate" width="80">??????</th> <th data-options="field:'renewnum'" width="80">???????</th> <th data-options="field:'volumeinfo'" width="80">??????</th> </tr> </thead> </table> </div> </div> </div> </div> </div> <!--????????????--> <%@ include file="../global/exportRepeatForBibformatdesign.jsp" %> <%@ include file="../global/easyui-dialog.jsp"%> </body> <%@ include file="../global/linkjs.jsp" %> <script type="text/javascript"> var vType='<%=type%>'; </script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/global/js/selectGridRecord.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" src="${pageContext.request.contextPath}/page/acquisition/js/acq_treatRepeatForBib.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/export/js/exportfd.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript"> function getInitJsonGridColumns(fldWidth,totalWidth,hiddenFlag){ var jsonGridColumns = [{ field: 'field',title: '??????',width: fldWidth,formatter:onShowExportJosnComBoxData, editor: { type: 'combobox', options: { valueField:'field', textField:'name', panelHeight : '200', required:true, /* editable:false,*/ groupField:'group', groupFormatter:function(group){ return '<span style="color:black">' + group + '</span>' }, data: fieldComBoxData, onChange : function (newValue, oldValue){ if(newValue !=undefined && newValue != oldValue && eidtorGridIndex != undefined){ var itemCode = eidtorGridObject.datagrid('getEditor', {index:eidtorGridIndex,field:'code'}); if(itemCode.target){ for(var i = 0; i < fieldComBoxData.length;i++){ if(newValue == fieldComBoxData[i].field){ $(itemCode.target).textbox('setValue',fieldComBoxData[i].code); } } } var itemName = eidtorGridObject.datagrid('getEditor', {index:eidtorGridIndex,field:'name'}); if(itemName.target){ for(var i = 0; i < fieldComBoxData.length;i++){ if(newValue == fieldComBoxData[i].field){ $(itemName.target).textbox('setValue',fieldComBoxData[i].name); } } } acceptEidtorGrid(newValue); } } } } }, {field: 'code',title: '??????',hidden:true, editor: {type: 'textbox'} }, {field: 'name',title: '???',width: "45%", editor: {type: 'textbox'} }, {field: 'width',title: '???(px)',hidden:true, editor: {type: 'textbox'} }, {field: 'total',title: '???',hidden:true, editor: { type: 'combobox', options:{ valueField:'code', textField:'name', panelHeight : 'auto', editable:false, data: isShowComBoxData, } } } ]; return jsonGridColumns; } function onFormatDesign(){ $('#pageFormatDesignDlg').dialog({ title: jsonFormatDesign.title, width: jsonFormatDesign.width, height: jsonFormatDesign.height, top: jsonFormatDesign.top, left:jsonFormatDesign.left }); $('#otherFormatDesignPanel').panel('setTitle',jsonFormatDesign.othertitle); var basicFormatDesignBoxHeight = $('.basicFormatDesignBox').height(); var usedHeight = 100 + basicFormatDesignBoxHeight; var vGridDivHeight = jsonFormatDesign.height - usedHeight; $(".otherFormatDesignBox").css("height", vGridDivHeight + "px"); $('#otherFormatDesignPanel').panel('resize'); $('#pageFormatDesignDlg').dialog('open'); var newValue = getValue("formatdesign_index"); if(newValue){ bindAcceptFormatDesignDataByKeyCode(newValue); } } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de