소스 정리

main
이범준 1 year ago
parent c1bee23259
commit 51b9079bcd

@ -815,19 +815,17 @@ $(document).ready(function(){
var basicInfo = resp.basicInfo;
$("#rtpyrNm--${pageName}").val(basicInfo.mber_nm);
if(basicInfo.mber_se_code == "11"){
$("#rtpyrSeCd--${pageName}").val("01");
} else if(basicInfo.mber_se_code == "12"){
$("#rtpyrSeCd--${pageName}").val("02");
} else if(basicInfo.mber_se_code == "13"){
$("#rtpyrSeCd--${pageName}").val("03");
} else if(basicInfo.mber_se_code == "14"){
$("#rtpyrSeCd--${pageName}").val("04");
} else if(basicInfo.mber_se_code == "15"){
$("#rtpyrSeCd--${pageName}").val("05");
} else {
$("#rtpyrSeCd--${pageName}").val("");
var pyrSeCd = "";
switch(basicInfo.mber_se_code){
case "11" : pyrSeCd = "01"; break;
case "12" : pyrSeCd = "02"; break;
case "13" : pyrSeCd = "03"; break;
case "14" : pyrSeCd = "04"; break;
case "15" : pyrSeCd = "05"; break;
}
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
$("#rtpyrNo--${pageName}").val(basicInfo.mber_se_no);
$("#vin--${pageName}").val(basicInfo.vin);

@ -477,21 +477,19 @@ $(document).ready(function(){
var basicInfo = resp.basicInfo;
$("#rtpyrNm--${pageName}").val(basicInfo.mber_nm);
if(basicInfo.mber_se_code == "11"){
$("#rtpyrSeCd--${pageName}").val("01");
} else if(basicInfo.mber_se_code == "12"){
$("#rtpyrSeCd--${pageName}").val("02");
} else if(basicInfo.mber_se_code == "13"){
$("#rtpyrSeCd--${pageName}").val("03");
} else if(basicInfo.mber_se_code == "14"){
$("#rtpyrSeCd--${pageName}").val("04");
} else if(basicInfo.mber_se_code == "15"){
$("#rtpyrSeCd--${pageName}").val("05");
} else {
$("#rtpyrSeCd--${pageName}").val("");
var pyrSeCd = "";
switch(basicInfo.mber_se_code){
case "11" : pyrSeCd = "01"; break;
case "12" : pyrSeCd = "02"; break;
case "13" : pyrSeCd = "03"; break;
case "14" : pyrSeCd = "04"; break;
case "15" : pyrSeCd = "05"; break;
}
$("#rtpyrNo--${pageName}").val(basicInfo.mber_se_no);
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
$("#rtpyrNo--${pageName}").val(basicInfo.mber_se_no);
$("#vin--${pageName}").val(basicInfo.vin);
$("#vhclNm--${pageName}").val(basicInfo.cnm);
$("#vhclColor--${pageName}").val(basicInfo.color_nm);

Loading…
Cancel
Save