Edit D:\rfid\libsystem\page\parameter\js\cir_loanrule.js
$(function(){initLoanRuleParamEnum()});function initLoanRuleParamEnum(){var a=base_path+"par/common/getInitData.do";var b={};b.key="loanruleparam";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>"}}}$(".initLoanRuleParamEnum").html(d);$.parser.parse(".initLoanRuleParamEnum");$(".wei-zhang-chu-fa").combobox({onSelect:function(h){if(h){showTextByCondtion(h.value)}else{showTextByCondtion("0")}}});repeatBindClickFun()},"json")}function getRetrunTd(c,b,a){var e="";var d="width:200px;height: 28px;";if(c=="diu_shi_reng_guo_qi"){e+="<td>"+a+"</td>";e+='<td><input id="'+c+'" item-type="paramjson" type="checkbox"></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">'+a+"</td>";e+='<td class="ting-jie-text">'+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">'+a+"</td>";e+='<td class="fa-kuan-text">'+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=="xu_jie_suan_fa"){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=="guo_qi_chu_fa_fang_shi"){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=="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.indexOf("|")>-1){var b=a.split("|");d='<input id="'+c+'" item-type="paramjson" class="'+b[0]+'" data-options="'+b[1]+'" style="'+e+'">'}else{if("checkbox"==a){d='<input id="'+c+'" item-type="paramjson" type="'+a+'" >'}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()}}}function fmtLoanRuleZXJQ(b,c){var a=JSON.parse(c.paramjson);if(a.zui_xiao_jie_qi){return a.zui_xiao_jie_qi}return""}function fmtLoanRuleZDJQ(b,c){var a=JSON.parse(c.paramjson);if(a.zui_da_jie_qi){return a.zui_da_jie_qi}return""}function fmtLoanRuleKJS(b,c){var a=JSON.parse(c.paramjson);if(a.ke_jie_shu){return a.ke_jie_shu}return""}function fmtLoanRuleXJCS(b,c){var a=JSON.parse(c.paramjson);if(a.xu_jie_ci_shu){return a.xu_jie_ci_shu}return""}function fmtLoanRuleXJQ(b,c){var a=JSON.parse(c.paramjson);if(a.xu_jie_qi){return a.xu_jie_qi}return""}function fmtLoanRuleZXFB(b,c){var a=JSON.parse(c.paramjson);if(a.zui_xiao_fa_bei){return a.zui_xiao_fa_bei}return""}function fmtLoanRuleZDFB(b,c){var a=JSON.parse(c.paramjson);if(a.zui_da_fa_bei){return a.zui_da_fa_bei}return""};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de