Edit D:\rfid\libsystem\page\catalogue\global_bibsetpara.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ page import="com.jishen.common.MyJspUtils"%> <%@ page import="com.jishen.common.FunAuthorityEnum"%> <% String type = "cata"; if(null != request.getParameter("type")){ type = request.getParameter("type"); } %> <input id="page_paramjson" item-type="page_record" hidden="hidden"></input> <input id="page_type" item-type="page_record" value="cat" hidden="hidden"></input> <div style="height: 470px;" class="m-top"> <div id="config-tabs" class="easyui-tabs" data-options="fit:true,border:true"> <div title="??????"> <div class="easyui-panel" data-options="fit:true,border:true" style="margin-top: -1px;"> <div id="config-cat-tabs" class="easyui-tabs" data-options="fit:true,border:true" style="padding: 5px;"> <div title="?????????"> <div class="table-content" style="width: 750px;margin: auto;margin-top: 10px;"> <table class="table-box rdr-table-input" > <tr> <td class="div-tr-td" style="width: 100px;" >?????</td> <td style="width: 200px;"> <select id="page_sysid" item-type="page_paramjson" required="true" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" style="width: 80px;">??????</td> <td style="width: 300px;"> <select id="page_ctrlno" item-type="page_paramjson" required="true" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td class="div-tr-td" title="">??????</td> <td> <select id="page_editmodel" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> <!-- <option value="marc">Marc???</option> <option value="simple">???????</option>--> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_template" item-type="page_paramjson" class="easyui-combobox" style="width:200px;height: 28px;" editable="false" data-options=""> </select> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="setEditModelByParam()">??????</a> </td> </tr> <tr> </tr> <!-- <tr> <td class="div-tr-td">z3950???</td> <td colspan="3"> <select id="page_z3950" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> --> <tr> <td class="div-tr-td" title="z3950???????????????????????????,????????,???">??????</td> <td colspan="3"><input id="page_delfld" item-type="page_paramjson" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'z3950???????????????????????????,????????,???'"></td> </tr> <tr> <td class="div-tr-td" title="??????????????,?????????,????????,???">?????????</td> <td colspan="3"><input id="page_savefld" item-type="page_paramjson" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'??????????????,?????????,????????,???'"></td> </tr> <tr> <td class="div-tr-td" title="">??????????</td> <td colspan="3"> <select id="page_libcode" no-limit="??????" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> </table> <div style="height: 170px;"> <table id="page_z3950" title="z3950???" item-type="page_paramjson" class="easyui-datagrid m-top" data-options="singleSelect:false,fit:true,fitColumns:true"> <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'code',align:'center'" width="16%">???</th> <th data-options="field:'name',align:'center'" width="80%">???</th> </tr> </thead> </table> </div> </div> </div> <div title="?????????"> <div class="table-content" style="width: 750px;margin: auto;margin-top: 10px;"> <table class="table-box rdr-table-input" > <tr> <td class="div-tr-td" title="">????????</td> <td colspan="3"> <select id="page_addpinyin" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">??????????????</td> <td colspan="3"> <select id="page_choose" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">?????????</td> <td colspan="3"> <select id="page_tone" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">??????</td> <td colspan="3"> <select id="page_position" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">????????</option> <option value="1">????????</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">??????</td> <td colspan="3"> <select id="page_pyfld" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="9">$9</option> <option value="A">$A</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">ISBN????????</td> <td colspan="3"> <select id="page_isbnfld" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> <tr> <td class="div-tr-td" title="">??????200F???</td> <td colspan="3"> <select id="page_200f" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto',"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> </table> </div> </div> </div> </div> </div> <div title="??????"> <div class="easyui-panel" data-options="fit:true,border:true" style="margin-top: -1px;"> <div class="table-content" style="width: 750px;margin: auto;margin-top: 10px;"> <table class="table-box rdr-table-input" > <tr> <td class="div-tr-td order_batchno" style="width: 100px;" >??????</td> <td class="order_batchno" style="width: 200px;"> <input id="page_order_batchno" item-type="page_paramjson" required="true" class="easyui-textbox" style="width:130px;height: 28px;" disabled="true" data-options="prompt:'???????????'"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="setParaBatchNo('0')">??????</a> </td> <td class="div-tr-td check_batchno" style="width: 100px;" >??????</td> <td class="check_batchno" style="width: 220px;"> <input id="page_check_batchno" item-type="page_paramjson" required="true" class="easyui-textbox" style="width:140px;height: 28px;" disabled="true" data-options="prompt:'???????????'"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="setParaBatchNo('1')">??????</a> </td> </tr> <tr> <td class="div-tr-td" >???</td> <td> <select id="page_bookseller" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_finsources" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td class="div-tr-td" >??????</td> <td> <select id="page_mediatype" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_binding" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td class="div-tr-td" title="?????">?????</td> <td><input id="page_copies" item-type="page_paramjson" class="easyui-numberbox" style="width:100%;height: 28px;" data-options="prompt:'?????????'"></td> <td class="div-tr-td" style="width: 100px;">??????</td> <td style="width: 200px;"> <select id="page_location" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'160px',"> </select> </td> </tr> <tr> <td class="div-tr-td" >??????</td> <td> <select id="page_doctype" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_docsources" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td class="div-tr-td" style="width: 100px;" >??????</td> <td style="width: 200px;"> <select id="page_ncy" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" style="width: 100px;" >??????</td> <td style="width: 200px;"> <select id="page_autobar" item-type="page_paramjson" no-limit="???" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr class="yanshou-grid" style="display: none;"> <td class="div-tr-td" title="??????">??????</td> <td colspan="3"> <input id="page_holdlist" item-type="page_paramjson" class="easyui-textbox" style="width:470px;height: 28px;" disabled="true" data-options="prompt:'???????????'"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="setCheckHoldList()">?????????</a> </td> </tr> <tr class="yanshou-grid" style="display: none;"> <td class="div-tr-td" >??????</td> <td> <select id="page_billno" item-type="page_paramjson" no-limit="???" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_assetno" item-type="page_paramjson" no-limit="???" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options=""> </select> </td> </tr> <tr class="yanshou-grid" style="display: none;"> <td class="div-tr-td" colspan="2"> ????????????????????????????? </td> <td colspan="2"> <select id="page_autobartoassetno" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto'"> <option value="0">??</option> <option value="1">??</option> </select> </td> </tr> <%if(MyJspUtils.checkAuthority(session,FunAuthorityEnum.DING_GOU_DA_YIN)){%> <tr class="yanshou-printer" style="display: none;"> <td class="div-tr-td" >????????</td> <td> <select id="page_booklableprinter" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto'"> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_booklablefmt" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto'"> </select> </td> </tr> <tr class="yanshou-printer" style="display: none;"> <td class="div-tr-td" >????????</td> <td> <select id="page_barcodeprinter" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto'"> </select> </td> <td class="div-tr-td" >??????</td> <td> <select id="page_barcodefmt" item-type="page_paramjson" class="easyui-combobox" style="width:100%;height: 28px;" editable="false" data-options="panelHeight:'auto'"> </select> </td> </tr> <%}%> </table> </div> </div> </div> </div> </div> <!-- ????????? --> <%if(type.equals("check") || type.equals("tobookcheck")|| type.equals("com")){%> <%@ include file="../iframe/dialog/dlg_holdgrid.jsp" %> <%}%> <!-- ??? --> <%@ include file="../iframe/dialog/dlg_batchno.jsp" %> <script type="text/javascript"> var bibSetParam = function(){}; bibSetParam.prototype.initView= function(){ if(_fmtGridDataRows){ $(".check_batchno").hide(); $(".bind_batchno").hide(); $(".order_batchno").hide(); _myPage.prototype.onLoadData(_fmtGridDataRows,initJson); _myPage.prototype.getOperatorParam(); if(vPageNameFlag == "?????????"){ $(".bind_batchno").show(); }else if(vPageNameFlag == "?????????"){ $(".check_batchno").show(); }else if(vPageNameFlag == "??????"|| vPageNameFlag == "?????????"){ $(".order_batchno").show(); }else{ if (vType == "cata" || vPageNameFlag == "???????"|| vPageNameFlag == "??????"|| vPageNameFlag == "?????????") { var tabs = $("#config-tabs"); tabs.tabs("disableTab", 1); } else if (vType=="order") { $(".order_batchno").show(); } else if (vType=="check") { $(".check_batchno").show(); } else if (vType=="tobookcheck") { $(".check_batchno").show(); } else if (vType=="com") { $(".order_batchno").show(); $(".check_batchno").show(); }else{ $(".order_batchno").show(); $(".check_batchno").show(); $(".bind_batchno").show(); } if(vType=="com" || vType=="check" || vType=="tobookcheck"){ $(".yanshou-printer").show(); $(".yanshou-grid").show(); } } if(cataConfigData){ setJsonData("page_",cataConfigData); initPrinterCombox(cataConfigData) } initPrinterFmtCombox(); } } $(function() { renderControllerView.prototype.billno(); renderControllerView.prototype.autobar(bibSetParam.prototype.initView); //???????? var unionSysIdInitTemplate = [ {"id":"page_template","key": "template","condition": "sysid"} ]; initNextSelectCombobox("page_sysid",unionSysIdInitTemplate); var initUnionParam = {"code":"page_location","unionlist":[{"code":"defdoctype","orgcode":"page_doctype"}]}; _myPage.prototype.initUnionShowByLocation(initUnionParam); }); _myPage.prototype.initComboxByOperatorParm = function(data){ if(data.showacqloccode){ var rdrtypeComboxData = _fmtGridDataRows.rows[0].location; //$('#location').combobox('getData'); var reComBoxData = []; for(var i = 0;i<rdrtypeComboxData.length;i++){ var comBoxCode = rdrtypeComboxData[i].code + ","; if(data.showacqloccode.indexOf(comBoxCode)>-1){ reComBoxData.push(rdrtypeComboxData[i]); } } $('#page_location').combobox('loadData',reComBoxData); var param = {}; param['limit[0].condition'] ="code"; param['limit[0].typeHandler'] = "3"; param['limit[0].value'] = getSqlConditionLimitIn(data.showacqloccode); var url = base_path + 'par/location/list.do'; $.post(url, param, function(data) { var rows = data.rows; _myLocationData = rows; var doctypeComboxData = _fmtGridDataRows.rows[0].doctype; var doctypeReComBoxData = []; for(var i = 0;i<doctypeComboxData.length;i++){ for(var k = 0 ; k<rows.length;k++){ if(rows[k].defdoctype == doctypeComboxData[i].code ){ doctypeReComBoxData.push(doctypeComboxData[i]); break; } } } $('#page_doctype').combobox('loadData',doctypeReComBoxData); }, 'json'); setJsonData("page_",cataConfigData); } } function setEditModelByParam(){ var text ="??????"; parent.addTab(text,"parameter/cat_template.jsp","gear","6406","1"); parent.refreshTab(); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de