Edit D:\rfid\libsystem\page\parameter\js\cir_special.js
var _loccode;$(function(){$("#spetype").combobox({onChange:function(b,a){if(b=="1"){$(".speloan").show()}else{if(b=="2"||b=="3"){$(".speloan").hide()}else{if(b=="4"){$(".speloan").show()}}}reloadCombox(b)}});initCirSpecialParamEnum()});function reloadCombox(a){if(a){var b={code:"loccode",key:"location",condition:"libcode",value:vLibcode};if(a=="4"){$(".loccode-name").html("???");b={code:"loccode",key:"bookseller",condition:"libcode",value:vLibcode};_myPage.prototype.initDataOne(b)}else{$(".loccode-name").html("??????");_myPage.prototype.initDataOne(b)}}}_myPage.prototype.initDataOneSuccess=function(a,b){if(_loccode){setValue("loccode",_loccode)}};function updateRecord(e,c){if(!c){c=getRow()}if(isHigherLibcode(c.libcode)){$("#saveRecord").linkbutton({disabled:true});_myPage.prototype.reSetToComboxItem()}else{$("#saveRecord").linkbutton({disabled:false});_myPage.prototype.reSetToComboxItem(vLibcode)}operation="update.do";var b=getRowPK();if(!b){return}openWin();var a=controller_url+"get.do";var d={pk:b};$.post(a,d,function(g){var f=g.rows[0];_loccode=f.loccode;setJsonData(null,f);setCodeDisabled()},"json")}function initCirSpecialParamEnum(){var a=base_path+"par/common/getInitData.do";var b={};b.key="cirspecialparam";b.fmt="entity";$.post(a,b,function(g){var f=g.rows;var d="";var e=0;for(var c=0;c<f.length;c++){if(e++%2==0){d+="<tr>";d+=getRetrunTd(f[c].code,f[c].otherinfo,f[c].name)}else{d+=getRetrunTd(f[c].code,f[c].otherinfo,f[c].name);d+="</tr>";if(e%2==1){d+="</tr>"}}}$(".initCirSpecialParamEnum").html(d);$.parser.parse(".initCirSpecialParamEnum");$(".guo_qi_chu_fa_fang_shi").combobox({onSelect:function(h){if(h){showTextByCondtion(h.value)}else{showTextByCondtion("0")}}});setValue("guo_qi_chu_fa_fang_shi",0);repeatBindClickFun()},"json")}function getRetrunTd(c,b,a){var e="";var d="width:150px;height: 28px;";if(c=="guo_qi_chu_fa_fang_shi"||c=="xu_jie_ci_shu"||c=="xu_jie_qi"||c=="xu_jie_suan_fa"||c=="ke_jie_shu"){e+='<td class="speloan">'+a+"</td>";e+='<td class="speloan">'+getTextClassByType(c,b,d)+"</td>"}else{if(c=="guo_qi_ting_jie"||c=="ting_jie_ji_suan_fang_shi"||c=="zui_da_ting_jie_tian"||c=="ting_jie_lj"){e+='<td class="ting-jie-text speloan">'+a+"</td>";e+='<td class="ting-jie-text speloan">'+getTextClassByType(c,b,d)+"</td>"}else{if(c=="guo_qi_fa_kuan"||c=="guo_qi_jia_bei"||c=="zui_da_guo_qi_fa_kuan"){e+='<td class="fa-kuan-text speloan">'+a+"</td>";e+='<td class="fa-kuan-text speloan">'+getTextClassByType(c,b,d)+"</td>"}else{e+="<td>"+a+"</td>";e+="<td>"+getTextClassByType(c,b,d)+"</td>"}}}return e}function getTextClassByType(c,a,e){var d="";if(a=="easyui-combobox"){if(c=="zi_dong_kai_tong"){d+='<select id="'+c+'" item-type="paramjson" def-value="0" class="easyui-combobox" style="'+e+'" editable="false" data-options="panelHeight:\'auto\',">';d+='<option value="1">??</option>';d+='<option value="0">??</option>';d+=" </select>"}if(c=="xu_jie_suan_fa"){d+='<select id="'+c+'" item-type="paramjson" def-value="0" class="easyui-combobox wei-zhang-chu-fa" style="'+e+'" editable="false" data-options="panelHeight:\'auto\',">';d+='<option value="0">???+???</option>';d+='<option value="1">???+???</option>';d+=" </select>"}if(c=="guo_qi_chu_fa_fang_shi"){d+='<select id="'+c+'" item-type="paramjson" class="easyui-combobox guo_qi_chu_fa_fang_shi " style="'+e+'" editable="false" data-options="panelHeight:\'auto\',">';d+='<option value="0">???</option>';d+='<option value="1">????</option>';d+=" </select>"}if(c=="diu_shi_fa_kuan_lei_bie"){d+='<select id="'+c+'" item-type="paramjson" def-value="0" class="easyui-combobox" style="'+e+'" editable="false" data-options="panelHeight:\'auto\',">';d+='<option value="0">???</option>';d+='<option value="1">???</option>';d+=" </select>"}if(c=="ting_jie_ji_suan_fang_shi"){d+='<select id="'+c+'" item-type="paramjson" def-value="0" class="easyui-combobox" style="'+e+'" editable="false" data-options="panelHeight:\'auto\',">';d+='<option value="0">??????</option>';d+='<option value="1">??????</option>';d+='<option value="2">??????</option>';d+=" </select>"}}else{if(a=="checkbox"){d='<input id="'+c+'" item-type="paramjson" type="checkbox" >'}else{if(a.indexOf("|")>-1){var b=a.split("|");d='<input id="'+c+'" item-type="paramjson" class="'+b[0]+'" data-options="'+b[1]+'" style="'+e+'">'}else{d='<input id="'+c+'" item-type="paramjson" class="'+a+'" style="'+e+'">'}}}return d}function showTextByCondtion(a){if(a=="0"){$(".fa-kuan-text").show();$(".ting-jie-text").hide()}else{if(a=="1"){$(".fa-kuan-text").hide();$(".ting-jie-text").show()}}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de