diff --git a/WebContent/jsp/bap/admin/work/messageProcManDetail.jsp b/WebContent/jsp/bap/admin/work/messageProcManDetail.jsp index 12f1d38..447710a 100644 --- a/WebContent/jsp/bap/admin/work/messageProcManDetail.jsp +++ b/WebContent/jsp/bap/admin/work/messageProcManDetail.jsp @@ -90,6 +90,20 @@ function init(url,key){ //new makeOptions("CODE","NAME").setObj($("select[name=bizlevel2]")).setNoValueInclude(true).setNoValue(' ','없음').setData(json.bizlevel2).rendering(); //setSearchable('bjobBzwkDstcd'); //setSearchable('uapplCd'); + + $.ajax({ + type : "POST", + url:url, + dataType:"json", + data:{ cmd: 'LIST_UAPPL_COMBO'}, + success:function(json){ + new makeOptions("CODE","NAME").setObj($("select[name=uapplCd]")).setNoValueInclude(true).setNoValue(' ','없음').setData(json.uapplCd).rendering(); + }, + error:function(e){ +// alert(e.responseText); + } + }); + debugger; if ( isDetail ){ detail(url, key); @@ -141,13 +155,16 @@ function detail(url,key){ $("select[name=bjobBzwkDstcd]").attr('disabled',true); $("input[name=bjobTranDstcdName]").attr('readonly',true); $("input,select").each(function(){ - var name = $(this).attr('name').toUpperCase(); + var name = $(this).attr('name') + if(name != null) { + name = name.toUpperCase(); + } $(this).val(detail[name]); }); //Prop $("#grid")[0].addJSONData(data); - /* setSearchable('uapplCd'); */ + setSearchable('uapplCd'); }, error:function(e){ // alert(e.responseText); @@ -326,8 +343,8 @@ $(document).ready(function() {