중간커밋
This commit is contained in:
@@ -152,14 +152,14 @@ $(document).ready(function(){
|
||||
,{name:"CLIENT_TYPE",index:"CLIENT_TYPE", width: 100, align:"center", hidden: false, sortable:false, editable:true
|
||||
,edittype:"select"
|
||||
,formatter:"select"
|
||||
,editoptions:{
|
||||
,editoptions:{
|
||||
value: client_type
|
||||
,dataInit : function(e){
|
||||
e.style.width = "92%";
|
||||
e.style.fontSize = 13;
|
||||
}
|
||||
}
|
||||
}
|
||||
,dataInit : function(e){
|
||||
e.style.width = "92%";
|
||||
e.style.fontSize = 13;
|
||||
}
|
||||
}
|
||||
}
|
||||
,{name:"BUS_REG_NO",index:"BUS_REG_NO", width: 150, align:"center", hidden: false, sortable:false, editable:true
|
||||
,editoptions:{dataInit : function(e){e.style.fontSize = 13;}}
|
||||
}
|
||||
@@ -513,23 +513,23 @@ function fn_count(){
|
||||
var clientCd = gridData[i].CLIENT_CD;
|
||||
if(clientCd && clientCd.trim() !== ""){
|
||||
// AJAX로 중복 체크
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
url:"/admin/checkDuplicateClientMngList.do",
|
||||
type:"POST",
|
||||
type:"POST",
|
||||
data:{"CLIENT_CD": clientCd},
|
||||
dataType:"json",
|
||||
async: false,
|
||||
success:function(data){
|
||||
dataType:"json",
|
||||
async: false,
|
||||
success:function(data){
|
||||
if(data.result == "true"){
|
||||
dupCnt++; // 중복
|
||||
} else {
|
||||
nowCnt++; // 신규
|
||||
}
|
||||
},
|
||||
error: function(jqxhr, status, error){
|
||||
},
|
||||
error: function(jqxhr, status, error){
|
||||
nowCnt++; // 에러 시 신규로 간주
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user