jsp 오류 수정
This commit is contained in:
@@ -98,7 +98,6 @@ function init(url,key){
|
|||||||
data:{ cmd: 'LIST_UAPPL_COMBO'},
|
data:{ cmd: 'LIST_UAPPL_COMBO'},
|
||||||
success:function(json){
|
success:function(json){
|
||||||
new makeOptions("CODE","NAME").setObj($("select[name=uapplCd]")).setNoValueInclude(true).setNoValue(' ','없음').setData(json.uapplCd).rendering();
|
new makeOptions("CODE","NAME").setObj($("select[name=uapplCd]")).setNoValueInclude(true).setNoValue(' ','없음').setData(json.uapplCd).rendering();
|
||||||
setSearchable('uapplCd');
|
|
||||||
},
|
},
|
||||||
error:function(e){
|
error:function(e){
|
||||||
// alert(e.responseText);
|
// alert(e.responseText);
|
||||||
@@ -156,13 +155,16 @@ function detail(url,key){
|
|||||||
$("select[name=bjobBzwkDstcd]").attr('disabled',true);
|
$("select[name=bjobBzwkDstcd]").attr('disabled',true);
|
||||||
$("input[name=bjobTranDstcdName]").attr('readonly',true);
|
$("input[name=bjobTranDstcdName]").attr('readonly',true);
|
||||||
$("input,select").each(function(){
|
$("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]);
|
$(this).val(detail[name]);
|
||||||
});
|
});
|
||||||
|
|
||||||
//Prop
|
//Prop
|
||||||
$("#grid")[0].addJSONData(data);
|
$("#grid")[0].addJSONData(data);
|
||||||
/* setSearchable('uapplCd'); */
|
setSearchable('uapplCd');
|
||||||
},
|
},
|
||||||
error:function(e){
|
error:function(e){
|
||||||
// alert(e.responseText);
|
// alert(e.responseText);
|
||||||
|
|||||||
Reference in New Issue
Block a user